6.1

CVE-2025-1686: pebbletemplates pebble_templates External Control of File Name or Path

Analyzed
AliasesCGA-2qxp-c629-3xj8CGA-5w54-fvr8-x8pgGHSA-p75g-cxfj-7wrx
Published 27-02-2025Last modified 19-04-2026

Vulnerability summary

CVE-2025-1686 is a medium (CVSS 6.1) External Control of File Name or Path vulnerability in pebbletemplates pebble_templates. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 59.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.86%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 19-04-2026
    Last modifiedVulnerability information updated.

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 metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.86%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.85% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (security.snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • dependency-track-bundled< 4.13.5-r0
Io.pebbletemplates1 product
  • pebble≤ 3.2.3
Pebbletemplates1 product
Wolfi1 product
  • dependency-track-bundled< 4.13.5-r0

4 vendors · 4 products

References

10 links