Home

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.

PUBLISHED Reserved 2026-05-27 | Published 2026-06-01 | Updated 2026-06-02 | Assigner VulnCheck




HIGH: 7.5CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

HIGH: 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Problem types

Insecure Temporary File

Product status

Default status
affected

Any version before 0.32.0
affected

Credits

Chia Min Jun Lennon finder

References

github.com/steipete/CodexBar/pull/1222 exploit

github.com/steipete/CodexBar/releases/tag/v0.32.0 release-notes

github.com/steipete/CodexBar/pull/1222 issue-tracking

github.com/...ommit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8 patch

www.vulncheck.com/...-escalation-via-cli-installer-temp-file third-party-advisory

cve.org (CVE-2026-49134)

nvd.nist.gov (CVE-2026-49134)

Download JSON