# @openai/codex (npm) vulnerabilities

3 known vulnerabilities (1 critical, 2 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 0.167.0 (Nov 6, 2026): no advisory affects it
- Newest unaffected release: 0.167.0 (Nov 6, 2026), the latest release
- Weekly downloads: 27.7M
- Dependents: 38
- Releases: 500+ since 0.160.1 (Oct 5, 2026)
- Registry: https://www.npmjs.com/package/@openai/codex
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2025-61260: no published release is affected
- CVE-2025-59532: no published release is affected
- CVE-2025-55345: no published release is affected

Older releases aren't stored, so the earliest spans may start sooner.

## Advisories (3)

### [CVE-2025-61260](https://cve.now/CVE-2025-61260): A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code execution through malicious MCP (Model Context…

- Severity: Critical 9.8
- Published: Apr 14, 2026
- Affected: through 0.23.0.
- Fixed in 0.160.1 (released Oct 5, 2026, 174 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
- The latest release, 0.167.0, is not affected.
- <0.1% of @openai/codex downloads last week were affected versions (5K).

### [CVE-2025-59532](https://cve.now/CVE-2025-59532): Codex has sandbox bypass due to bug in path configuration logic

- Severity: High 8.6
- Published: Sep 22, 2025
- Affected: from 0.2.0, fixed in 0.39.0.
- Fixed in 0.39.0.
- The latest release, 0.167.0, is not affected.
- <0.1% of @openai/codex downloads last week were affected versions (4.1K).

### [CVE-2025-55345](https://cve.now/CVE-2025-55345): Unsafe symlink following in restricted workspace-write sandbox leads to RCE

- Severity: High 8.8
- Published: Aug 13, 2025
- Affected: fixed in 0.12.0.
- Fixed in 0.12.0.
- The latest release, 0.167.0, is not affected.
- <0.1% of @openai/codex downloads last week were affected versions (4.3K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/@openai/codex
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
