← Back to search

CVE-2026-119716

9.8 CRITICALpublic exploit available

Published 2026-10-30 · Updated 2026-11-02

AI risk analysis

Summary
pybars3 and pybars4 template engines allow untrusted template authors to execute arbitrary Python code by injecting unescaped bracketed path segments in helper or block arguments, bypassing string literal escaping in the template compiler.
Exploitability
Exploitation requires the attacker to control template content (e.g., via user-supplied templates) and no authentication is needed; it is straightforward for an attacker with template injection capability.
Blast radius
Successful exploitation grants full remote code execution in the application process, enabling complete compromise of confidentiality, integrity, and availability.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to pybars3 0.9.8 or later, or pybars4 0.9.14 or later, which patch the unescaped bracketed path segment vulnerability in pybars/_compiler.py.
rcetemplate-injectionwebpython

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-94

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.