{"id":"CVE-2026-119716","published":"2026-10-30T16:17:55Z","modified":"2026-11-06T17:17:19Z","title":"pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments","vendor":"wbond","product":"pybars3","tier":"core","eol":null,"affectedVersions":[{"vendor":"wbond","product":"pybars3","versions":["<= 0.9.7"]},{"vendor":"up9inc","product":"pybars4","versions":["<= 0.9.13"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-06T16:09:14.357628Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Deferred","description":{"text":"pybars3 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.","provenance":"source","from":"NVD"},"summary":{"text":"A code injection flaw in the pybars/_compiler.py component of the pybars3 (through 0.9.7) and pybars4 (through 0.9.13) Python Handlebars libraries lets unescaped bracketed path segments in templates break out of string literals. An attacker who can supply a Handlebars template with crafted segments in helper or block arguments can execute Python code in the application process, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:47:05Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.0073,"percentile":0.55165,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Nov 8, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6aef3b029d93097c770c01f5","created":"2026-11-07"},{"name":"Known_Cve | Nov 7, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6aede8f784dbfff6c3936472","created":"2026-11-06"},{"name":"Known_Cve | Nov 6, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6aec980ed720361a0a8ef4af","created":"2026-11-05"},{"name":"Known_Cve | Nov 5, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6aeb4640975e6631ab96b181","created":"2026-11-04"},{"name":"Known_Cve | Nov 4, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6ae9f4a534e5bab82408f0f2","created":"2026-11-03"},{"name":"Known_Cve | Nov 3, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae8a2fbb750e3c9efe15713","created":"2026-11-02"},{"name":"Known_Cve | Nov 2, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae751f170a9e6cbc092a3eb","created":"2026-11-01"},{"name":"Known_Cve | Nov 1, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6ae600830f234c3fafa648cd","created":"2026-10-31"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/up9inc/pybars4","tags":["product"]},{"url":"https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154","tags":["technical-description"]},{"url":"https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md","tags":[]},{"url":"https://github.com/wbond/pybars3","tags":["product"]},{"url":"https://github.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py#L159-L160","tags":["technical-description"]},{"url":"https://github.com/wbond/pybars3/issues/88","tags":["issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments","tags":["third-party-advisory"]},{"url":"https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-114121","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-114121","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-10-30","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119716","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":20.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":11.03,"detail":"percentile 0.5516"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}