CVE-2026-49134
published high CVSS 4.0 · 7.5CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| steipete | — | CodexBar0 to < 0.32.0 · Other versions: affected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| steipete | CodexBar | 0 to < 0.32.0 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-377 Insecure Temporary File
References
4- https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8
- https://github.com/steipete/CodexBar/pull/1222
- CodexBar 0.32.0 Release Notes https://github.com/steipete/CodexBar/releases/tag/v0.32.0
- https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file
Provider assertions
2VulnCheck · cna
CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 594b1d0a5c8e464e41b52dc8467de726a41011704c31e02d86fb225375f52b76
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record