CVE-2025-1686
All versions of the package io.pebbletemplates:pebble 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();
EPSS 0.19% · 41.2th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| n/a | io.pebbletemplates:pebble | 0 |
| Maven | io.pebbletemplates:pebble | 0 |
| pebbletemplates | pebble |
Timeline
- Feb 27, 2025 CVE Published
- Feb 27, 2025 PoC Published
- Feb 28, 2025 EPSS Score
- Mar 14, 2025 EPSS Score
- Mar 25, 2025 Coalition ESS Score
- Mar 28, 2025 EPSS Score
- Apr 11, 2025 EPSS Score
- Apr 25, 2025 EPSS Score
- May 9, 2025 EPSS Score
- May 23, 2025 EPSS Score
- Jun 6, 2025 EPSS Score
- Jun 20, 2025 EPSS Score
References
- https://security.snyk.io/vuln/SNYK-JAVA-IOPEBBLETEMPLATES-8745594 url
- https://github.com/PebbleTemplates/pebble/issues/680 url
- https://pebbletemplates.io/wiki/tag/include url
- https://github.com/PebbleTemplates/pebble/issues/688 url
- https://github.com/PebbleTemplates/pebble/pull/715 url
- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-p75g-cxfj-7wrx url
- https://nvd.nist.gov/vuln/detail/CVE-2025-1686 advisory
- https://github.com/PebbleTemplates/pebble package