{"id":"CVE-2026-119717","published":"2026-10-30T16:17:55.170","lastModified":"2026-10-30T19:23:25.493","description":"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.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://github.com/up9inc/pybars4","tags":[]},{"url":"https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154","tags":[]},{"url":"https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md","tags":[]},{"url":"https://www.vulncheck.com/advisories/pybars4-through-0.9.13-code-injection-via-bracketed-path-segments","tags":[]}],"exploitRefs":[{"url":"https://github.com/up9inc/pybars4","tags":[]},{"url":"https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154","tags":[]},{"url":"https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md","tags":[]}],"hasPoc":true,"ai":null}