๐Ÿ” CVE Alert

CVE-2026-27113

MEDIUM 6.3

Liquid Prompt arbitrary command injection via crafted Git branch names in gitstatusd backend

CVSS Score
6.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-78
Vendor liquidprompt
Product liquidprompt
Published Feb 20, 2026
Last Updated Feb 23, 2026
Stay Ahead of the Next One

Get instant alerts for liquidprompt liquidprompt

Be the first to know when new medium vulnerabilities affecting liquidprompt liquidprompt are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

liquidprompt / liquidprompt
>= cf3441250bb5d8b45f6f8b389fcdf427a99ac28a, < a4f6b8d8c90b3eaa33d13dfd1093062ab9c4b30c

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/liquidprompt/liquidprompt/security/advisories/GHSA-q6hm-vf4f-47jf github.com: https://github.com/liquidprompt/liquidprompt/commit/a4f6b8d8c90b3eaa33d13dfd1093062ab9c4b30c