Skip to main content
CVE-2025-1686VulnerabilityPublished Updated

CVE-2025-1686: io.pebbletemplates:pebble · External Control of File Name or Path

Affects io.pebbletemplates:pebbleSource CVE Database V5

0

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

CVSS 4.0 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Mavenio.pebbletemplates/pebblepkg:maven/io.pebbletemplates/pebbleOther threatsAffected
  • =0
  • <4.1.0
Fixed in
  • 4.1.0

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

Community reviews

Loading reviews…