# CVE-2026-119716: pybars3 through 0.9.7 and pybars4 through 0.9.13 Code Injection via Bracketed Path Segments

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T15:16:14.237Z
- Modified: 2026-11-06T17:17:19.403Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- wbond pybars3: up to 0.9.7
- up9inc pybars4: up to 0.9.13

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md> (exploit, third-party-advisory)
- <https://github.com/wbond/pybars3/issues/88> (issue-tracking)
- <https://github.com/wbond/pybars3> (product)
- <https://github.com/up9inc/pybars4> (product)
- <https://github.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py#L159-L160> (technical-description)
- <https://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154> (technical-description)
- <https://www.vulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-119716](https://www.cve.org/CVERecord?id=CVE-2026-119716), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-119716](https://nvd.nist.gov/vuln/detail/CVE-2026-119716), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-119716 · Whole record: https://cve.day/CVE-2026-119716.json · Rebuilt by cve.day 2026-11-25T22:59:47.965Z
