CVE-2025-1686

MEDIUM CVSS 4.0: 6.1 EPSS 0.85%
Updated Dec 19, 2025
Pebbletemplates
Parameter Value
CVSS 6.1 (MEDIUM)
Type CWE-73 (External Control of File Name or Path)
Vendor Pebbletemplates
Public PoC No

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();

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Pebbletemplates Pebble
cpe:2.3:a:pebbletemplates:pebble:*:*:*:*:*:*:*:*
— —