Skip to content
CVE PROGRAM SOURCE RECORD9.2 Critical

CVE-2026-119717

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

up9inc pybars4

Default version status: unaffected

  • 0 to ≤ 0.9.13affected
pkg:pypi/pybars4

References