CVE-2026-119717
pybars4 through 0.9.13 contains a code injection vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/up9inc/pybars4
- github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154
- github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md
- www.vulncheck.com/advisories/pybars4-through-0.9.13-code-injection-via-bracketed-path-segm
- nvd.nist.gov/vuln/detail/CVE-2026-119717
- cve.org/CVERecord?id=CVE-2026-119717
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.