All vulnerabilities

PyPI

CVE-2026-119716

pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments

Severity
Critical 9.3
Published
30 Oct 2026
Last changed
6 Nov 2026
Added to UpHeron
23 Nov 2026
Exploit chance
0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
pybars3PyPI · osv:PyPI:pybars3
  • Every version up to 0.9.7
pybars4PyPI · osv:PyPI:pybars4
  • Every version up to 0.9.13

About pybars3

Weekly downloads (PyPI)
154,759PyPI Stats, 24 Nov 2026

This is the only vulnerability in pybars3 in our list.

About pybars4

Vulnerabilities in pybars4

In our list
2
Published in the last 12 months
2
Critical, last 12 months
2
High, last 12 months
0
Known exploited
0
Search the list for pybars4

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-119716