Skip to main content

OpenAI Codex EUVDEUVD-2026-41915

| CVE-2026-14898 MEDIUM
Information Exposure (CWE-200)
2026-07-06 OAI GHSA-gj6m-4qqg-3cw8
6.5
CVSS 3.1 · Vendor: OAI
View

Attack ChainAIDerived

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

  1. Access
    Attacker embeds prompt injection in file or tool output
  2. Delivery
    Victim ingests content into Codex session
  3. Exploit
    Injected instruction manipulates LLM response generation
  4. Execution
    Model constructs Markdown image URL encoding session secrets
  5. Persist
    Codex app auto-fetches image URL at render time
  6. Impact
    Sensitive 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Codex desktop app for macOS 0 <26.527.31326

Affected Packages

euvd codex_desktop_app_for_macos fix: 26.527.31326

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

Vendor (OAI) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 5.3 MEDIUM

AC:H reflects the non-trivial requirement to successfully craft indirect prompt injection that survives LLM processing; no system privileges needed; confidentiality impact only.

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

Primary rating from Vendor (OAI).

CVSS VectorVendor: OAI

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
CVSS changed
Jul 07, 2026 - 16:22 NVD
6.5 (MEDIUM)
Patch available
Jul 06, 2026 - 21:16 EUVD
CVE Published
Jul 06, 2026 - 19:41 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 06, 2026 - 19:41 cve.org
MEDIUM 6.5

DescriptionCVE.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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche AI coding assistant, macOS desktop only
Data Quality
5 sources
Confidence: Medium

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 0.2%
Patch available Yes
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.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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