cvedb.io
CVE-2025-1686
MEDIUM · CVSS 6.8
EPSS exploitation probability: 0%
Published 2025-02-27T05:15:14.143 · Last modified 2026-06-17T08:39:35.997

Summary

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

Affected products

pebbletemplates — pebble_templates

Does this affect you?

Add your gear to cvedb and we'll alert you only when pebbletemplates ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.