User-assisted code execution via unescaped Git branch names
Published Feb 20, 2026 · Updated Feb 20, 2026
Command injection in Liquid Prompt's affected master branch allows attackers to execute shell commands via crafted Git branch names. The gitstatusd paths in _lp_git_branch and _lp_git_tag copied branch and tag data into prompt variables without escaping shell syntax before rendering. Exploitation requires an affected commit, an initialized gitstatusd backend, active prompt substitution, and a user entering the compromised repository; commands run with that shell user's privileges.
Summary
What happened
Command injection in Liquid Prompt's affected master branch allows attackers to execute shell commands via crafted Git branch names. The gitstatusd paths in _lp_git_branch and _lp_git_tag copied branch and tag data into prompt variables without escaping shell syntax before rendering. Exploitation requires an affected commit, an initialized gitstatusd backend, active prompt substitution, and a user entering the compromised repository; commands run with that shell user's privileges.
The record
- CVE
- CVE-2026-27113
- Published
- Feb 20, 2026
- Updated
- Feb 20, 2026
- Vendor
- Liquid Prompt
- Product
- Liquid Prompt
- Classifications
- CWE-78, T1204, T1059.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Feb 20, 2026CVE publishedPublication date reported by the CVE source.
- Feb 20, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= cf3441250bb5d8b45f6f8b389fcdf427a99ac28a, < a4f6b8d8c90b3eaa33d13dfd1093062ab9c4b30c
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo