6.1

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

CVSS: 6.1v4.0MediumAnalyzed
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.85% chance of exploitation in the next 30 days, higher than 57.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.85%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.85%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

+0.02 pp

From 0.83% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.85%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (security.snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

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