sadrobot

← Back to the monthly list

CVE-2026-119716 wbond · pybars3

9.8 Critical

AI summary

pybars3 through 0.9.7 and pybars4 through 0.9.13 contain a code injection flaw in pybars/_compiler.py: anyone able to supply Handlebars templates can execute Python code in the application process via crafted bracketed path segments. Critical (CVSS 9.8), especially where untrusted users can provide templates.

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

Published
2026-10-30 16:17 UTC
Modified
2026-11-06 17:17 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.80% (percentile 53)
ENISA EUVD
EUVD-2026-114121
CISA SSVC
Exploitation: poc · Automatable: yes · Technical impact: total
CWE
CWE-94

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References