CVE-2026-49134 PUBLISHED

CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File

Assigner: VulnCheck
Reserved: 27.05.2026 Published: 01.06.2026 Updated: 02.06.2026

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.

Metrics

CVSS 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
CVSS Score: 7.5

Product Status

Vendor steipete
Product CodexBar
Versions Default: affected
  • affected from 0 to 0.32.0 (excl.)

Credits

  • Chia Min Jun Lennon finder

References

Problem Types

  • Insecure Temporary File CWE