CVE-2026-119716
pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments
CVSS 4.0 9.3 CRITICALCVSS 3.1 9.8 CRITICALCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-119716
Publishedpybars3 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-119716 · CVE overview and exploitation status
cve-program · CVE-2026-119716
- https://github.com/wbond/pybars3/issues/88
- https://github.com/wbond/pybars3
- https://github.com/up9inc/pybars4
- https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md
- https://github.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py#L159-L160
- https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154
- https://www.vulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments
Related changes
Linked by CVE identifier- pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments · Affected-version evidence changed · 2 Nov 2026
- pybars3 through 0.9.7 Code Injection via Bracketed Path Segments · Newly collected advisory · 30 Oct 2026