Code injection in pybars4 lets attackers execute Python code
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
pybars4 through 0.9.13 contains a code injection flaw in pybars/_compiler.py, classified as CWE-94. Unescaped bracketed path segments in Handlebars templates break out of the generated resolve() string literal. A remote attacker who can supply a crafted template in a helper or block argument can execute Python code in the application process, without privileges or user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for pybars4.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Timeline
- 2026-10-30 Threatist record created from CVE-2026-119717
- 2026-10-30 CISA SSVC decision points changed
- 2026-10-30 Priority changed: MEDIUM → LOW
- 2026-10-30 Alias added: GHSA-x54v-7mw2-5rrx
- 2026-11-01 Priority changed: LOW → MEDIUM
References
More up9inc vulnerabilities
- TI-2026-83191 Code injection in pybars3 and pybars4 via bracketed path segments CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-119717 · CVE Program
- CVE-2026-119717 · NVD
- FIRST EPSS
- GHSA-x54v-7mw2-5rrx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences