pybars4 through 0.9.13 Code Injection via Bracketed Path Segments
Historical advisory recorded 30 Oct 2026 19:45:26 UTC. Read the latest advisory.
cve-program · CVE-2026-119717
Publishedpybars4 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.
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-119717 · CVE overview and exploitation status
cve-program · CVE-2026-119717
- https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md
- https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154
- https://github.com/up9inc/pybars4
- https://www.vulncheck.com/advisories/pybars4-through-0.9.13-code-injection-via-bracketed-path-segments
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.