CVE-2026-119716
9.3critical
pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.73% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wbond pybars3 | up to 0.9.7 | CVE List |
| up9inc pybars4 | up to 0.9.13 | CVE List |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
References
| https://github.com/wbond/pybars3/issues/88 | issue-tracking | |
| https://github.com/wbond/pybars3 | product | |
| https://github.com/up9inc/pybars4 | product | |
| https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md | exploit, third-party-advisory | |
| https://github.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py#L159-L160 | technical-description | |
| https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154 | technical-description | |
| https://www.vulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-119716 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-119716 changed 2026-11-06 | Public domain |