CVE-2026-27113: Liquidprompt · Liquid Prompt is an adaptive prompt for Bash and Zsh
Affects liquidpromptSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10liquidpromptpkg:deb/ubuntu/liquidprompt?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSliquidpromptpkg:deb/ubuntu/liquidprompt?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10liquidpromptpkg:deb/ubuntu/liquidprompt?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSliquidpromptpkg:deb/ubuntu/liquidprompt?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSliquidpromptpkg:deb/ubuntu/liquidprompt?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSliquidpromptpkg:deb/ubuntu/liquidprompt?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Liquid Prompt is an adaptive prompt for Bash and Zsh. Starting in commit cf3441250bb5d8b45f6f8b389fcdf427a99ac28a and prior to commit a4f6b8d8c90b3eaa33d13dfd1093062ab9c4b30c on the master branch, arbitrary command injection can lead to code execution when a user enters a directory in a Git repository containing a crafted branch name. Exploitation requires the LP_ENABLE_GITSTATUSD config option to be enabled (enabled by default), gitstatusd to be installed and started before Liquid Prompt is loaded (not the default), and shell prompt substitution to be active (enabled by default in Bash via "shopt -s promptvars", not enabled by default in Zsh). A branch name containing shell syntax such as "$(...)" or backtick expressions in the default branch or a checked-out branch will be evaluated by the shell when the prompt is rendered. No stable release is affected; only the master branch contains the vulnerable commit. Commit a4f6b8d8c90b3eaa33d13dfd1093062ab9c4b30c contains a fix. As a workaround, set the LP_ENABLE_GITSTATUSD config option to 0.
References
- ubuntu.com/security/CVE-2026-27113 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-27113 (opens in a new tab)
- github.com/liquidprompt/liquidprompt/security/advisories/GHSA-q6hm-vf4f-47jf (opens in a new tab)
- github.com/liquidprompt/liquidprompt/commit/a4f6b8d8c90b3eaa33d13dfd1093062ab9c4b30c (opens in a new tab)