Skip to content

Back to the catalog

AI Security Briefing
cybersecuritynews.comadvisory

AI Security Briefing

CVE-2026-14898 affects the OpenAI Codex desktop app for macOS, which automatically renders remote images embedded in Markdown model output without user interaction. An attacker can use indirect prompt injection to make Codex generate a response containing an attacker-controlled image URL whose parameters embed sensitive data (API keys, source code, tool output), which is silently exfiltrated when the app auto-fetches the image. Categorized under CWE-200, no patch or CVSS score was available at disclosure.

TL;DR CVE-2026-14898: OpenAI Codex macOS app auto-renders remote Markdown images, letting indirect prompt injection silently exfiltrate secrets via image-URL parameters.
Document

What it is

CVE-2026-14898 is a data-exfiltration flaw in the OpenAI Codex desktop app for macOS, disclosed via the GitHub Advisory Database and categorized under CWE-200. The existing summary covers the core mechanism; what the page adds is exploitation status and mitigation guidance.

Preconditions / Affected

The attack fires during normal use — the user need not click a link or approve a request; image retrieval happens silently in the background. The realistic trigger is Codex processing attacker-controlled untrusted content, e.g. a developer using it to analyze logs or pull data from a connected external tool where a hidden injection rides along. Impact scales with what the session can reach: repositories, credentials, and tool output. Affected versions are unspecified, and no patched version exists at disclosure. There is no evidence of active exploitation in the wild, and no CVSS score has been assigned.

What to do

No patch is available, so the page's recommendations are mitigations only:

  • Turn off automatic fetching of remote resources (the setting that renders remote Markdown images without interaction).
  • Limit the processing of untrusted content in Codex sessions.
  • Review how AI-generated outputs are rendered in your tooling.
  • Monitor outbound network requests — the exfil channel is an HTTP fetch to an attacker-controlled host.
  • Isolate sensitive data access so a compromised session reaches fewer credentials/repos.

The page gives no commands or config keys, only these categories.

flowchart LR
  A[Untrusted content<br/>logs / tool output] --> B[Indirect prompt injection]
  B --> C[Model emits Markdown<br/>with remote image URL]
  C --> D{Auto-render<br/>remote images?}
  D -->|on| E[Silent fetch → data<br/>in URL leaks to attacker]
  D -->|disabled| F[Chain broken]

Caveats

The mitigations are generic AI-security hygiene, not a vendor fix — turning off remote fetching is the one that directly severs the chain shown above; the rest reduce blast radius or add detection. Affected-version and patch fields are blank, so you cannot scope exposure precisely from this source. The confidentiality-risk framing is the author's inference from the flaw's nature, not an assigned severity.

Organisations named here

  • CWE-200

CVEs named here

  • CVE-2026-14898

Technologies named here

  • ANY.RUN
  • OpenAI Codex desktop app
  • OpenAI Codex
  • macOS

Techniques named here

  • Indirect prompt injection
  • Data exfiltration via automatic remote image rendering