CVE-2026-119716
published critical CVSS 4.0 · 9.3pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wbond | — | pybars30 through 0.9.7 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| up9inc | — | pybars40 through 0.9.13 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pybars3aarch64 | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pybars3ppc64le | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pybars3s390x | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pybars3x86_64 | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pybars3aarch64 | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pybars3ppc64le | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pybars3s390x | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pybars3x86_64 | Advisory build | 0.9.7-3.1 | OPENSUSE-SU-2026:12503-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wbond | pybars3 | 0 through 0.9.7 (affected · semver)Default: unaffected | VulnCheck · cna |
| up9inc | pybars4 | 0 through 0.9.13 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
7- https://github.com/up9inc/pybars4
- https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154
- https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md
- https://github.com/wbond/pybars3
- https://github.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py#L159-L160
- GitHub Issue #88 https://github.com/wbond/pybars3/issues/88
- VulnCheck Advisory: pybars3 through 0.9.7 Code Injection via Bracketed Path Segments https://www.vulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments
Provider assertions
2VulnCheck · cna
pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 272add1e42303579b0d325b3c3e7ed5ed9ea04ac50a08fe534c92e588bf6fa41
- Ingested
- 07 Nov 2026, 23:39:35 UTC
- Source record
- Official CVE record