RCE in Liquidprompt

CVE-2026-27113

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.

EPSS exploit prediction

EPSS: 0.008 (53.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 53.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-27113: held from 0.004 to 0.008.

EPSS over last 30 days · oldest: 0.004 · newest: 0.008 · change: +0.003

Affected products

  • Liquidprompt — versions >= cf3441250bb5d8b45f6f8b389fcdf427a99ac28a, < a4f6b8d8c90b3eaa33d13dfd1093062ab9c4b30c

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-27113?
CVE-2026-27113 is a medium-severity vulnerability in Liquidprompt, classified under OS Command Injection. CVSS score: 6.3/10. Published 2026-02-20.
How severe is CVE-2026-27113?
Medium severity. CVSS v3 base score is 6.3 out of 10.