# CVE-2025-1686

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-27 · Modified: 2026-04-19
- Aliases: CGA-2qxp-c629-3xj8, CGA-5w54-fvr8-x8pg, GHSA-p75g-cxfj-7wrx
- Record: https://cvemate.com/vulnerability/CVE-2025-1686 · JSON: https://cvemate.com/vulnerability/CVE-2025-1686/json

## Description

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

## Signals

- CVSS: 6.1 medium (v4.0, CVE.org) 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
- EPSS: 0.859%, percentile 59.728%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- chainguard dependency-track-bundled (Chainguard): \< 4.13.5-r0
- wolfi dependency-track-bundled (Wolfi): \< 4.13.5-r0
- io.pebbletemplates pebble (Maven): ≤ 3.2.3
- pebbletemplates pebble\_templates: \< 4.1.0

## References

- <https://security.snyk.io/vuln/SNYK-JAVA-IOPEBBLETEMPLATES-8745594>
- <https://github.com/PebbleTemplates/pebble/issues/680>
- <https://pebbletemplates.io/wiki/tag/include>
- <https://github.com/PebbleTemplates/pebble/issues/688>
- <https://github.com/PebbleTemplates/pebble/commit/b3451c8f305a1a248fbcc2363fd307d0baaee329>
- <https://github.com/PebbleTemplates/pebble/pull/715>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1686.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1686>
- <https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-p75g-cxfj-7wrx>
- <https://github.com/PebbleTemplates/pebble>

---

Data as of 2026-12-05T08:59:52.211Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
