pybars3 through 0.9.7 contains a code injection vulnerability in pybars/_compiler.py that allows template authors to
Source GCVE Database
Not known to be exploited · CVSS 9.2 Critical · patch available : patch pybars3 as a priority.
Data as of 30 Oct 2026, 20:19 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.1 |
| CNA | CVSS 4.0 | 9.2 |
- Patch
- Available
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| wbondpybars3 | Affected
| Fixed in– |
PyPIpybars3pkg:pypi/pybars3Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using untrusted templates or restrict template authorship to trusted users only.
Description
pybars3 versions up to 0.9.7 have a code injection vulnerability in the pybars/_compiler.py component. This flaw allows template authors to execute arbitrary Python code by supplying crafted Handlebars templates with unescaped bracketed path segments. The vulnerability enables breaking out of string literals and running Python code within the application process.
References
- nvd.nist.gov/vuln/detail/CVE-2026-119716 (opens in a new tab)
- github.com/wbond/pybars3/issues/88 (opens in a new tab)
- github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md (opens in a new tab)
- github.com/wbond/pybars3 (opens in a new tab)
- github.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py (opens in a new tab)
- vulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments (opens in a new tab)