MEDIUM · CVSS 6.8 Published: 2025-02-27

CVE-2025-1686 — Technical Security Advisory & CVSS Profile

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

Technical Metadata

IdentifierCVE-2025-1686
Base Severity / ScoreMEDIUM (6.8 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Weakness ClassificationCWE-73
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-1683 HIGH 7.8
CVE-2025-1689 MEDIUM 6.4
CVE-2025-1676 MEDIUM 6.3
CVE-2025-1677 MEDIUM 6.5
CVE-2025-1690 MEDIUM 6.4
CVE-2025-1692 MEDIUM 6.3
CVE-2025-1695 MEDIUM 5.3