PyPI
CVE-2026-119717
pybars4 through 0.9.13 Code Injection via Bracketed Path Segments
- Severity
- Critical 9.2
- Published
- 30 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Weakness
- Code injection (CWE-94)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
pybars4 through 0.9.13 contains a code injection vulnerability in pybars/_compiler.py that allows attackers to execute Python code via unescaped bracketed path segments in Handlebars templates. Attackers can supply a template with a crafted segment in a helper or block argument to break out of the generated resolve() string literal and execute code in the application process.
Affected software
| Software | Affected versions |
|---|---|
pybars4PyPI · osv:PyPI:pybars4 |
|
About pybars4
Vulnerabilities in pybars4
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 2
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-119716pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path SegmentsCritical 9.3 30 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-119717