# CVE-2022-37767: Pebble Templates protection mechanism bypass can lead to arbitrary code execution

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.55%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-09-12T00:00:00.000Z
- Modified: 2026-06-17T04:55:12.857Z
- Also known as: GHSA-wxx5-w9jc-48wx
- Weaknesses: CWE-863
- Assigned by: mitre

## Description

Pebble Templates 3.1.5 allows attackers to bypass a protection mechanism and implement arbitrary code execution with springbok. NOTE: the vendor disputes this because input to the Pebble templating engine is intended to include arbitrary Java code, and thus either the input should not arrive from an untrusted source, or else the application using the engine should apply restrictions to the input. The engine is not responsible for validating the input.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- io.pebbletemplates:pebble (Maven): up to 3.1.5
- pebbletemplates pebble_templates: 3.1.5

## Every score

- GitHub: 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`
- NVD: 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/Y4tacker/Web-Security/issues/3> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/PebbleTemplates/pebble/issues/625#issuecomment-1282138635> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-37767> (advisory)

## Sources

- CVE List: [CVE-2022-37767](https://www.cve.org/CVERecord?id=CVE-2022-37767), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-wxx5-w9jc-48wx](https://github.com/advisories/GHSA-wxx5-w9jc-48wx), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-37767](https://nvd.nist.gov/vuln/detail/CVE-2022-37767), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-37767 · Whole record: https://cve.day/CVE-2022-37767.json · Rebuilt by cve.day 2026-11-25T22:58:14.832Z
