Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privileged access on shared host
-
ExploitPre-create predictable gitstatus-install.tmp directory with malicious binary
-
ExecutionVictim runs gitstatus installer and mktemp fails
-
ImpactPlanted gitstatusd executes with victim privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Secure temp file creation
|
| Exploitation Conditions | Exploitation requires: (1) local access to the host with at least low privileges so the attacker can pre-create the predictable gitstatus-install.tmp directory and plant a malicious binary; (2) the victim must actually run Powerlevel10k's bundled gitstatus/install script (installation or update of gitstatusd), supplying the required user interaction; and (3) the script's internal mktemp call must fail, because only then does the vulnerable fallback reuse the attacker-creatable directory (this is the AT:P attack requirement, not an attacker-controlled step per the available sources). Limiting factors: it is local-only (not remotely reachable), depends on a predictable-path reuse that only occurs on mktemp failure, and affects only versions before 1.20.19. The complete fix is updating to the patched version, as the vendor commits force removal and recreation of the directory. |
| Impact | This is a genuine but conditional local privilege/code-execution issue rather than a broadly exploitable remote flaw. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:L/UI:P) consistently points to a low-urgency profile: the attacker needs local access with at least low privileges, a specific attack requirement must hold (the script's mktemp call must fail so the fallback to the predictable gitstatus-install.tmp directory is used), and the victim must passively run the gitstatus installer. The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the high-complexity/local profile. No EPSS score and no KEV listing were provided, so there is no signal of widespread or active exploitation - status is 'no public exploit identified at time of analysis' (the GitHub issue and VulnCheck advisory references are reporting/advisory material, not verified working exploit code). The impact side is serious where it triggers: VC:H/VI:H/VA:H reflect that a replaced gitstatusd binary runs with the victim's full privileges. Net: a real, worth-patching issue but driven by local preconditions and an mktemp-failure requirement, not a high-CVSS-but-remote emergency. The CVSS score (5.4) and the realistic preconditions are in agreement; no major conflicting signals, though the absence of EPSS/KEV means exploitation likelihood is inferred, not measured. |
| Exploit ScenarioDerived | On a shared or multi-user host, a local low-privileged attacker pre-creates the predictable gitstatus-install.tmp directory and plants a malicious gitstatusd binary. When the victim runs Powerlevel10k's bundled gitstatus installer and the internal mktemp call fails, the script reuses the attacker-controlled directory instead of a fresh secure one, and the planted binary then executes with the victim's privileges. No verified public exploit code was provided in the input; a GitHub issue and VulnCheck advisory document the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Local code execution in Powerlevel10k before 1.20.19 comes from the bundled gitstatus installer, which falls back to reusing a predictable gitstatus-install.tmp directory when its mktemp call fails. A low-privileged local user who pre-creates that directory can swap in a tampered gitstatusd binary that then runs with the victim's privileges the next time the victim runs the installer or updater. Exploitation is conditional - it is local-only, depends on the mktemp failure and on the victim invoking the script - and no CISA KEV listing or public exploit was identified at time of analysis.
RemediationAI
Update Powerlevel10k to 1.20.19 or later, which incorporates the installer fix; the corresponding upstream commits are https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4 and https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b, both replacing the permissive mkdir -p with a forced removal followed by a non-recursive mkdir so an existing directory aborts the install rather than being reused. The available sources document updating as the complete fix and describe no separate vendor workaround; because exploitation requires the victim to run the bundled gitstatus installer or updater, hosts that cannot move to 1.20.19 immediately can limit exposure by deferring installer/updater runs on machines shared with untrusted local users until the patched version is deployed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Powerlevel10k is a zsh prompt theme that ships a bundled copy of romkatv's gitstatus, whose install script fetches and extracts the gitstatusd daemon binary into a temporary working directory. The flaw is CWE-377 (insecure temporary file/directory): as shown in the referenced source, the script used mkdir -p -- "$tmpdir", which silently succeeds when the attacker-created directory already exists, so extraction proceeds into content the attacker controls. The upstream fix changes this to command rm -rf -- "$tmpdir" || command mkdir -- "$tmpdir", forcing removal and non-recursive creation so an existing directory causes failure instead of reuse. Both CPE entries - cpe:2.3:a:romkatv:powerlevel10k and cpe:2.3:a:romkatv:gitstatus - are implicated because the vulnerable script is embedded in the plugin and also maintained in the standalone gitstatus project. The trigger is narrow: per the assessed vector the attacker is local with low privileges (AV:L/PR:L) and must induce significant user interaction (UI:R), and the vulnerable fallback branch is reached only when mktemp fails, which the attacker does not control (AT:P/AC:H). Impact is confined to the vulnerable host (S:U) with high confidentiality, integrity and availability consequences once the substituted binary executes.
Know when Powerlevel10K gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local access with low privileges (PR:L), high complexity plus required mktemp-failure condition (AC:H), victim must run the installer (UI:R); planted binary runs as the victim giving full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Powerlevel10k before 1.20.19 contains an insecure temporary directory vulnerability in the bundled gitstatus/install script that reuses attacker-creatable directories when mktemp fails. Local attackers can pre-create the predictable gitstatus-install.tmp directory to replace the extracted gitstatusd binary, which then executes with the victim's privileges.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Powerlevel10K
View allTerminal escape sequence injection in powerlevel10k (all versions through 1.20.17) allows any attacker who controls a pa
Powerlevel10k releases before 1.20.19 let a local attacker who can write into a shared TMPDIR overwrite files the victim
EUVD-2026-117091
GHSA-pfwr-f3c5-mfgm
NVD
CVE.org
EPSS
Exploit-DB