CVE-2025-1686

MEDIUM EPSS 51.4%
Published Feb 27, 20251y ago · Modified Jun 17, 20262w ago
4.8 CVSS 4.0
Medium
Find Similar
Published Feb 27, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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

CVSS Details

Base Score
4.8
Exploitability
Impact
Vector string
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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required High
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
51.4% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-73

Affected Products 1

VendorProductVersionRange
pebbletemplatespebble_templates* <4.1.0

References 6

  • github.com https://github.com/PebbleTemplates/pebble/commit/b3451c8f305a1a248fbcc2363fd307d0baaee329
    Patch
  • github.com https://github.com/PebbleTemplates/pebble/issues/680
    Issue Tracking
  • github.com https://github.com/PebbleTemplates/pebble/issues/688
    Issue TrackingVendor Advisory
  • github.com https://github.com/PebbleTemplates/pebble/pull/715
    Issue TrackingPatch
  • pebbletemplates.io https://pebbletemplates.io/wiki/tag/include
    Product
  • security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-IOPEBBLETEMPLATES-8745594
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/PebbleTemplates/pebble/commit/b3451c8f305a1a248fbcc2363fd307d0baaee329
    Patch
  • github.com https://github.com/PebbleTemplates/pebble/pull/715
    Issue TrackingPatch