Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-119716 EUVD-2026-114121GHSA-xvx4-89q3-mchg

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

Published Oct 30, 2026 · Updated Nov 6, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
wbond pybars3 ≤ 0.9.7 —
up9inc pybars4 ≤ 0.9.13 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-pybars3 0.9.7-3.1 openSUSE-SU-2026:12503-1

Advisories 1

References