Patchfirst
CVE-2026-119716 Critical · 9.8 EPSS 0.7%

pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments

No fixed version listed yet.Check the vendor advisory. References ↓

wbond · pybars3

Summary

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.

Official description · NVD

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.

Breakdown
20.1 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 30 Oct 2026. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

wbond pybars3

Affected: <= 0.9.7

up9inc pybars4

Affected: <= 0.9.13

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

7 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close