All vulnerabilities

PyPI

CVE-2026-119717

pybars4 through 0.9.13 Code Injection via Bracketed Path Segments

Severity
Critical 9.2
Published
30 Oct 2026
Last changed
30 Oct 2026
Added to UpHeron
23 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

pybars4 through 0.9.13 contains a code injection vulnerability in pybars/_compiler.py that allows attackers to execute Python code via unescaped bracketed path segments in Handlebars templates. Attackers can supply a template with a crafted segment in a helper or block argument to break out of the generated resolve() string literal and execute code in the application process.

From the CVE Program.

Affected software

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

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-119717