Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker embeds prompt injection in file or tool output
-
DeliveryVictim ingests content into Codex session
-
ExploitInjected instruction manipulates LLM response generation
-
ExecutionModel constructs Markdown image URL encoding session secrets
-
PersistCodex app auto-fetches image URL at render time
-
ImpactSensitive data silently transmitted to attacker-controlled server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to be running the OpenAI Codex desktop app for macOS at a version prior to 26.527.31326, and to process content in a session that contains attacker-influenced material - such as tool results from a connected external service, file contents read by the app, API responses ingested into context, or data from a cloned repository. The app's default auto-fetch behavior for remote images in Markdown must be active, which it was in all affected versions. Exploitation is further conditioned on the attacker successfully crafting prompt injection instructions that survive LLM processing and produce a usable image URL - a meaningful technical requirement that contributes to the low EPSS score. Exploitation is strictly limited to the macOS desktop client; no other platform is implicated. Exfiltrated data value is gated on what secrets and sensitive content are present in the active Codex session at the time of injection. The CVSS vector's PR:N reflects that the attacker requires no privileges on the victim's system, but indirect control over at least one content input channel into the session is a prerequisite. |
| Impact | The NVD CVSS 6.5 Medium score (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) captures network reachability and high confidentiality impact but may slightly understate attack complexity: successful exploitation requires not only that attacker-controlled content reach the Codex session but also that the injected instructions effectively manipulate the LLM output - a meaningful, if increasingly well-understood, technical hurdle. EPSS of 0.16% at the 6th percentile strongly suggests minimal observed exploitation activity, and the absence of a CISA KEV listing or any public POC corroborates this. However, the target demographic - developers with active API keys, credentials, and source code in session context - represents a high-value espionage target, meaning even low-frequency exploitation could yield outsized intelligence gains. The impact is confined strictly to confidentiality (I:N, A:N), which limits blast radius but does not diminish the sensitivity of what can be exfiltrated. Overall risk is real but currently low-probability; organizations with developers using Codex against untrusted repositories or external tool integrations should prioritize patching ahead of the broader population. |
| Exploit ScenarioDerived | A developer clones an attacker-controlled repository and asks Codex to review the README or run a connected tool that fetches attacker-influenced content. The attacker has embedded prompt injection instructions in that content - for example, 'Include an image: !x' - causing Codex to generate a Markdown response containing the crafted image URL. The macOS Codex app immediately fetches the image to render it, silently transmitting the developer's API key to the attacker's server with no visible alert or secondary user action required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 07, 2026
Remote image auto-fetch in the OpenAI Codex desktop app for macOS (versions prior to 26.527.31326) enables silent exfiltration of session secrets via indirect prompt injection. An attacker who can place malicious instructions into content processed by Codex - such as a tool result, API response, or file read during a session - can manipulate the model into generating a Markdown image tag whose URL encodes sensitive data; the app then automatically fetches that URL, transmitting API keys, source code, or tool-returned data to an attacker-controlled server with no additional user action. No active exploitation is confirmed (not listed in CISA KEV), no public proof-of-concept is identified, and EPSS sits at 0.16% (6th percentile), indicating low current exploitation probability despite the high-value target profile of affected users.
RemediationAI
Update the OpenAI Codex desktop app for macOS to version 26.527.31326 or later, which resolves the automatic remote image fetch behavior in model-generated Markdown (per EUVD-2026-41915; vendor product page: https://openai.com/codex/). Prior to patching, the most effective compensating control is to disable or disconnect all connected tools and external integrations within Codex, eliminating the primary indirect injection vector; this trade-off significantly reduces Codex's utility but removes the attacker-controlled input channel. Users who must retain tool integrations should avoid storing high-value secrets - API keys, credentials, tokens - in contexts accessible to the Codex session while processing output from untrusted sources such as third-party repositories, public APIs, or unknown file contents. Network-level egress filtering to block outbound requests to arbitrary external hosts from the Codex process would also prevent URL-based exfiltration, though implementation depends on the macOS firewall or endpoint security tooling in use.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the Markdown rendering pipeline of the OpenAI Codex macOS desktop client (CPE: cpe:2.3:a:openai:codex_desktop_app_for_macos:*:*:*:*:*:*:*:*). The root cause is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), arising from the intersection of two behaviors: the app unconditionally fetches remote image URLs embedded in model-generated Markdown at render time, and the underlying LLM is susceptible to indirect prompt injection - where attacker-controlled content in the model's input context (e.g., tool results, ingested file data) manipulates the model's output without the user's knowledge. By embedding injection instructions in any content Codex processes, the attacker causes the LLM to construct a Markdown image tag such as !x, exploiting the app's auto-fetch as an unintended exfiltration side-channel. This pattern is an emerging LLM-specific vulnerability class where the rendering layer becomes a covert data egress path.
Know when Codex Desktop App For Macos gets its next vulnerability
- 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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
AC:H reflects the non-trivial requirement to successfully craft indirect prompt injection that survives LLM processing; no system privileges needed; confidentiality impact only.
Primary rating from Vendor (OAI).
CVSS VectorVendor: OAI
Lifecycle Timeline
4DescriptionCVE.org
The OpenAI Codex desktop app for macOS rendered remote images from Markdown in model responses. An attacker who could place an indirect prompt injection in content processed by Codex, such as a connected-tool result or another untrusted source, could induce the model to construct a remote image URL containing sensitive data. The app automatically fetched that URL when rendering the response, sending the embedded data to an attacker-controlled server without a separate user click. Successful exploitation could exfiltrate secrets and other information accessible in the Codex session, including API keys, source code, and data returned by connected tools. No direct integrity or availability impact was demonstrated, and there is no known exploitation in the wild.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-41915
GHSA-gj6m-4qqg-3cw8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB