CVE-2025-1686: io.pebbletemplates:pebble · External Control of File Name or Path
Affects io.pebbletemplates:pebbleSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium : upgrade to 4.1.0 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.1.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade io.pebbletemplates/pebble to 4.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenio.pebbletemplates/pebblepkg:maven/io.pebbletemplates/pebbleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vendor has not provided an official fix, so users should apply the recommended workaround by disabling the include macro in Pebble Templates using the provided code snippet. This effectively mitigates the vulnerability by preventing the inclusion of arbitrary files via the include tag.
Description
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();
References
- security.snyk.io/vuln/SNYK-JAVA-IOPEBBLETEMPLATES-8745594 (opens in a new tab)
- github.com/PebbleTemplates/pebble/issues/680 (opens in a new tab)
- pebbletemplates.io/wiki/tag/include (opens in a new tab)
- github.com/PebbleTemplates/pebble/issues/688 (opens in a new tab)
- github.com/PebbleTemplates/pebble/commit/b3451c8f305a1a248fbcc2363fd307d0baaee329 (opens in a new tab)
- github.com/PebbleTemplates/pebble/pull/715 (opens in a new tab)