PT-2025-8914 · Unknown · Io.Pebbletemplates:Pebble
Jonathan Leitschuh
·
Published
2025-02-27
·
Updated
2025-02-28
·
CVE-2025-1686
CVSS v3.1
6.8
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
io.pebbletemplates:pebble versions (affected versions not specified)
Description
The issue allows an attacker to control file names or paths via the
include tag, potentially accessing sensitive local files like /etc/passwd or /proc/1/environ by crafting malicious notification templates.Recommendations
To mitigate this issue, disable the
include macro in Pebble Templates by using the following Java code:new PebbleEngine.Builder()
.registerExtensionCustomizer(new DisallowExtensionCustomizerBuilder()
.disallowedTokenParserTags(List.of("include"))
.build())
.build();Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Io.Pebbletemplates:Pebble