CVE-2026-49134
Received Received - Intake
Privilege Escalation in CodexBar CLI Installer via Race Condition

Publication date: 2026-06-01

Last updated on: 2026-06-01

Assigner: VulnCheck

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-01
Last Modified
2026-06-01
Generated
2026-06-02
AI Q&A
2026-06-02
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
codexbar codexbar to 0.32.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-377 Creating and using insecure temporary files can leave application and system data vulnerable to attack.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The vulnerability in CodexBar prior to version 0.32.0 is a privilege escalation issue in its CLI installer. It arises from a race condition in how temporary files are handled during installation. Specifically, the installer creates a temporary file using mktemp, writes a privileged shell payload into it, and then executes this payload with administrator privileges via bash. Because of the race condition, a local attacker running under the same user can rewrite the installer's body before the administrator prompt is approved, causing arbitrary commands controlled by the attacker to be executed as root.


How can this vulnerability impact me? :

This vulnerability allows a local attacker to execute arbitrary commands with root privileges on the affected system. This means the attacker can gain full control over the system, potentially leading to unauthorized access, data theft, system compromise, installation of malware, or disruption of services.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart