Live threats

All CVEs / Pebbletemplates

CVE-2025-1686Pebbletemplates Pebble Templates

Medium 4.8

Priority
29
CVSS 4.0
4.8
EPSS
1.2%
probability of exploitation in 30 days · percentile 67
Auth required
Yes
Published
Feb 27, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-73
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Pebble Templates.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.pebbletemplates:pebble ≤ 3.2.3 no fixed version —

Per OSV / GitHub Advisories (GHSA-p75g-cxfj-7wrx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pebbletemplatespebble_templates< 4.1.0

Official sources

References

Links published by the sources. Open them with care.