{"id":"CVE-2026-119717","state":"PUBLISHED","title":"pybars4 through 0.9.13 Code Injection via Bracketed Path Segments","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.","publishedAt":"2026-10-30T15:16:14.963Z","updatedAt":"2026-10-30T18:36:20.432Z","severity":{"score":9.2,"label":"Critical","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["up9inc pybars4"],"affected":[{"vendor":"up9inc","product":"pybars4","packageURL":"pkg:pypi/pybars4","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.9.13","versionType":"semver"}],"repo":"https://github.com/up9inc/pybars4"}],"references":["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"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-30T18:40:06.088Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119717.json","commit":"7c60edf882a89f07fcce8b786bfad034e7ddeecb","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119717","state":"PUBLISHED","datePublished":"2026-10-30T15:16:14.963Z","dateUpdated":"2026-10-30T18:36:20.432Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-30T14:49:27.542Z"},"containers":{"cna":{"title":"pybars4 through 0.9.13 Code Injection via Bracketed Path Segments","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"up9inc","product":"pybars4","packageURL":"pkg:pypi/pybars4","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.9.13","versionType":"semver"}],"repo":"https://github.com/up9inc/pybars4"}],"references":[{"url":"https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md","tags":["third-party-advisory"]},{"url":"https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154","tags":["technical-description"]},{"url":"https://github.com/up9inc/pybars4","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/pybars4-through-0.9.13-code-injection-via-bracketed-path-segments","name":"VulnCheck Advisory: pybars4 through 0.9.13 Code Injection via Bracketed Path Segments","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-30T15:16:14.963Z"},"datePublic":"2026-08-10T00:00:00.000Z","tags":["unsupported-when-assigned"],"credits":[{"lang":"en","value":"Vladislav Korchagin","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-30T18:25:52.310819Z","id":"CVE-2026-119717","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-30T18:36:20.432Z"}}]}}}