CVE-2026-119716wbond pybars3
Code injection in pybars3 and pybars4 via bracketed path segments
Critical 9.3 No auth needed
Follow: this CVE · wbond · wbond pybars3 We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 30, 2026
- Updated
- Nov 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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. An attacker 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.
Show the original NVD text
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.
What to do
No patch data
Update pybars3 to a version later than 0.9.7 or pybars4 to a version later than 0.9.13 when available. In the meantime, validate and sanitize all Handlebars templates from untrusted sources.
- Apply the vendor's security update for pybars3.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- wbond · pybars3
- up9inc · pybars4
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-pybars3-0.9.7-3.1 on GA media · SUSE · openSUSE-SU-2026:12503-1 · Nov 9, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.