CVE-2026-119716: wbond pybars3 + 1 more · Remote code execution
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-10-30
Description
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.
Enclave's analysis
pybars3 (up to 0.9.7) and pybars4 (up to 0.9.13) have a code injection bug. A crafted bracketed path segment in a template breaks out of a string in the generated code and runs Python in the app process. The attacker must control the template the app compiles. A public PoC exists, but there's no known exploitation and no fix, since both projects are unsupported. Stop compiling untrusted templates with these libraries.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| pybars3 | 0 through 0.9.7 | Not listed |
| pybars4 | 0 through 0.9.13 | Not listed |