CVE-2026-119717
pybars4 through 0.9.13 contains a code injection vulnerability in pybars/_compiler.py that allows…
- Risk score
- 64/100
- CVSS
- 8.1 v3.1
- Published
- 30 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- pybars4 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 to break out of the generated resolve() string literal and execute code in the application process.
- Affected
- {'products': ['pybars4'], 'packages': [], 'versions': ['0.9.13 and below']}
- Fix
- Check the linked advisory for a fix, as none is provided
- Exploitation
- No known exploitation
Why it is Amber
- CVSS 8.1 high
- Remotely exploitable without logging in
- On your watchlist: python
References
- https://github.com/up9inc/pybars4
- https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154
- https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md
- https://www.vulncheck.com/advisories/pybars4-through-0.9.13-code-injection-via-bracketed-path-segments
Original 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.
Last activity 30 Oct 2026. Patch Forecast updates every hour.