{"id":"CVE-2026-119717","summary":"pybars4 through 0.9.13 Code Injection via Bracketed Path Segments","details":"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.","modified":"2026-11-17T07:03:41.487534756Z","published":"2026-10-30T15:16:14.963Z","withdrawn":"2026-11-17T07:03:41.487534592Z","database_specific":{"cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119717.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119717.json"},{"type":"ADVISORY","url":"https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119717"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pybars4-through-0.9.13-code-injection-via-bracketed-path-segments"},{"type":"PACKAGE","url":"https://github.com/up9inc/pybars4"},{"type":"ARTICLE","url":"https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/up9inc/pybars4","events":[{"introduced":"0"},{"last_affected":"4dbf00dbe6bc625b6622a4bc28f732792253450b"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.9.13"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"4"},{"last_affected":"0.9.13"}],"source":"DESCRIPTION"}]}}],"versions":["0.9.13","0.9.12","0.9.11","0.9.10","0.9.9","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.8.0","0.7.2","0.7.1","0.7.0","0.6.0","0.5.1","0.5.0","0.0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119717.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}