Root command execution via mutable installer script
Published Jun 1, 2026 · Updated Jun 1, 2026
Privilege escalation in CodexBar before 0.32.0 allows local users to execute arbitrary commands as root through the macOS CLI installer. The installer writes a privileged shell body to a same-user-writable mktemp file, then opens that file with administrator privileges through bash. Exploitation requires same-user code execution, a concurrent installer run, and approval of the legitimate administrator prompt; success grants root command execution.
Summary
What happened
Privilege escalation in CodexBar before 0.32.0 allows local users to execute arbitrary commands as root through the macOS CLI installer. The installer writes a privileged shell body to a same-user-writable mktemp file, then opens that file with administrator privileges through bash. Exploitation requires same-user code execution, a concurrent installer run, and approval of the legitimate administrator prompt; success grants root command execution.
The record
- CVE
- CVE-2026-49134
- Published
- Jun 1, 2026
- Updated
- Jun 1, 2026
- Vendor
- steipete
- Product
- CodexBar
- Classifications
- CWE-377, CAPEC-149, CAPEC-155, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 1, 2026CVE publishedPublication date reported by the CVE source.
- Jun 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <0.32.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CodexBar Pull Request 1222 safe reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo