CVE-2026-119716 pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments
CriticalCVSS 9.3
EPSS 0.73%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
pybars3 through 0.9.7 and pybars4 through 0.9.13 contain a code injection vulnerability in pybars/_compiler.py that allows template authors to execute Python code via unescaped bracketed path segments. Attackers can supply Handlebars templates with crafted segments in helper or block arguments to break out of string literals and execute Python in the application process.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi pybars3 | <= 0.9.7 | after 0.9.7 | Fixed |
| pypi pybars4 | <= 0.9.13 | after 0.9.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pybars3 | <= 0.9.7 | No fix listed |
| pypi pybars4 | <= 0.9.13 | No fix listed |
References
- GitHub Issue #88 issue-tracking
- github.com product
- github.com product
- github.com exploit third-party-advisory
- github.com technical-description
- github.com technical-description
- VulnCheck Advisory: pybars3 through 0.9.7 Code Injection via Bracketed Path Segments third-party-advisory
- ENISA EUVD EUVD-2026-114121 third-party-advisory