Vulnerability in Pebbletemplates Pebble
CVE-2025-1686
Versions of the package io.pebbletemplates:pebble from 0 and before 4.1.0 are vulnerable to External Control of File Name or Path via the include tag. A high privileged attacker can access sensitive local files by crafting malicious notification templates that leverage this tag to include files like /etc/passwd or /proc/1/environ. Workaround This vulnerability can be mitigated by disabling the include macro in Pebble Templates: java new PebbleEngine.Builder() .registerExtensionCustomizer(new DisallowExtensionCustomizerBuilder() .disallowedTokenParserTags(List.of("include")) .build()) .build();
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.008 (56.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 56.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Pebbletemplates Pebble
- Pebbletemplates Pebble Templates
- Io.pebbletemplates:pebble — versions 0
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JAVA-IOPEBBLETEMPLATES-8745594 (Exploit, Third Party Advisory)
- github.com/PebbleTemplates/pebble/issues/680 (Issue Tracking)
- pebbletemplates.io/wiki/tag/include (Product)
- github.com/PebbleTemplates/pebble/issues/688 (Issue Tracking, Vendor Advisory)
- github.com/PebbleTemplates/pebble/commit/b3451c8f305a1a248fbcc2363fd307d0baaee3… (Patch)
- af854a3a-2127-422b-91ae-364da2661108 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2025-1686?
- CVE-2025-1686 is a medium-severity vulnerability in Pebbletemplates Pebble, classified under External Control of File Name or Path. CVSS score: 6.8/10. Published 2025-02-27.
- How severe is CVE-2025-1686?
- Medium severity. CVSS v3 base score is 6.8 out of 10.