Paper/Archive/CVE-2026-119716

CVE-2026-119716

wbond pybars3 — pybars3 through 0.9.7 Code Injection via Bracketed Path Segments

Description · from the CVE record

pybars3 through 0.9.7 contains 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.

Affected

ProductAffectedFixed inSource
pybars3≤ 0.9.7–CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refgithub.com/wbond/pybars3/issues/88refgithub.com/wbond/pybars3writeupgithub.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.mdwriteupgithub.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py#L159-L160writeupvulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments