Skip to main content

OCI Container Runtime CVE-2026-81494

MEDIUM
2026-08-31 vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious OCI image with symlink layer entries
  2. Delivery
    Publish image to reachable registry
  3. Exploit
    Operator pulls and launches malicious image
  4. Execution
    Runtime extracts layer, follows symlink outside container root
  5. Persist
    Attacker-controlled file written to arbitrary host path
  6. Impact
    Host compromised via cron/SSH key/sudoers injection

Vulnerability Assessment

Exploitation Conditions

Exploitation requires that a target system pull and instantiate an attacker-controlled OCI image using the affected runtime. For the symlink path, the runtime must fail to canonicalize or jail extraction paths before writing layer entries - the image must be actively imported or launched, not merely stored. For the oci.dns.* injection path, the affected runtime must be configured to process OCI image annotations and write DNS configuration derived from them to a host-managed file; this feature must be enabled (confirmed as present in LXD/Incus annotation handling). No network-level direct access to the host is required - the attack is entirely mediated by image content. Exploitation is limited by: the operator's choice of image source (trusted vs. untrusted registry), whether annotation-driven DNS configuration is active, and whether the extraction code validates symlink targets against the extraction root.

Impact

CVSS metrics are absent from the source record, so severity must be inferred entirely from the vulnerability description. The impact is high: arbitrary file write on the host from a container image is a container escape primitive that can lead to full host compromise (overwriting cron jobs, sudoers, SSH authorized_keys, or init scripts). Attack complexity is low once a malicious image is available - no memory corruption or timing race is required. The primary limiting factor is the requirement that the target system pull and instantiate a malicious OCI image, which introduces a human or automation trust decision (UI:R in CVSS terms). EPSS data is not available. KEV status is not confirmed. No public exploit code has been identified at time of analysis. The absence of a CVSS score and CWE means risk cannot be formally benchmarked; the description alone warrants treating this as high-severity until vendor advisory or NVD enrichment provides scored data.

Exploit ScenarioDerived

An attacker publishes a malicious OCI image to a public or compromised registry. The image contains a layer entry where a directory is replaced by a symlink pointing to a sensitive host path (e.g., /etc/cron.d), and a subsequent layer entry that writes a file through that symlink, dropping an attacker-controlled cron job on the host. Separately, the image carries an oci.dns.search annotation containing a newline followed by a malicious DNS configuration line; when the runtime writes this annotation to the host resolver configuration, it injects attacker-controlled content. No public exploit code has been identified at time of analysis, but both attack paths are mechanically straightforward given a vulnerable extractor.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

Arbitrary host filesystem write is achievable via two distinct attack paths in an OCI image-handling component: symlinks planted inside OCI image layers that resolve outside the container root during image extraction, and newline characters injected into oci.dns.* annotation values that corrupt host-side configuration files written from those annotations. Both paths allow an attacker who controls an OCI image to write attacker-controlled data to arbitrary paths on the host system, breaking container isolation. No public exploit has been identified at time of analysis, and no CVSS data is available from the source record.

RemediationAI

Consult the GHSA advisory at https://github.com/advisories/GHSA-7fj9-65v4-rp7h for the canonical fix version - no exact patched release version is available from the current source record. Until a patched version is confirmed and deployed, the following specific compensating controls apply: (1) Restrict OCI image sources to internally controlled or cryptographically signed registries only, preventing untrusted images from reaching the affected runtime - note this does not protect against a compromised internal registry. (2) Disable or block the oci.dns.* annotation processing path if the runtime provides a configuration toggle to skip annotation-driven DNS setup, accepting the loss of per-container DNS customization. (3) Run the container runtime in an environment where the host filesystem write surface is minimized via read-only mounts, reducing the blast radius of a successful symlink traversal. Apply the vendor patch as the definitive fix once version information is confirmed via the Ubuntu Security Notice.

Affected ProductsAI

The precise affected product and version range are not specified in the source record. The GHSA identifier GHSA-7fj9-65v4-rp7h and the Ubuntu vendor reporter together suggest the vulnerability resides in an OCI image-handling component within the Ubuntu/Canonical ecosystem, most likely LXD or Incus and their associated OCI image import pipelines. No CPE strings are provided. Affected versions are unknown from available data - consult the GHSA advisory at https://github.com/advisories/GHSA-7fj9-65v4-rp7h and the Ubuntu Security Notices at ubuntu.com/security/notices for authoritative version scoping.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OCI (Open Container Initiative) images are distributed as layered tarballs whose contents are extracted to a root filesystem directory on the host. Symlink-based path traversal during layer extraction is a well-understood attack class: if a layer contains a symlink pointing outside the designated extraction root, a naive extractor may follow it and write subsequent layer entries to host paths. Separately, the 'oci.dns.*' annotation namespace (used by container runtimes such as LXD and Incus to configure per-container DNS settings) writes annotation values into host-managed configuration files. If annotation values contain embedded newline characters and the runtime fails to sanitize them before writing, an attacker can inject arbitrary lines into those files. CWE data is not provided in the source record; the symlink vector maps to CWE-59 (Improper Link Resolution Before File Access) and the injection vector maps to CWE-93 (Improper Neutralization of CRLF Sequences). The Ubuntu vendor tag suggests the affected runtime is within the Ubuntu ecosystem, most likely LXD or Incus, which are developed and packaged by Canonical.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

vuln.today AI 9.6 CRITICAL

Network vector because image is fetched from remote registry; UI:R because an operator must pull and run the image; scope change because container boundary is broken to affect the host.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

DescriptionCVE.org

[GHSA-7fj9-65v4-rp7h: Arbitrary file write on host via image-planted symlinks and oci.dns.* newline injection]

Threat Intelligence Overview

Prevalence
Medium
LXD/Incus used in enterprise and cloud VPS hosting, not ubiquitous
Data Quality
1 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy