Skip to main content
← All vulnerabilities
CVE-2025-1686GHSA-P75G-CXFJ-7WRX

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 in

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a io.pebbletemplates:pebble

    fixed in 4.1.0

  • io.pebbletemplates:pebbleMaven

    through 3.2.3

References 5

security.snyk.io

GitHub · PebbleTemplates/pebble

pebbletemplates.io