Security mailing lists by PureSourceCode

CVE-2025-1686

MEDIUM 4.8CVSS 4.0

Pebble has Arbitrary Local File Inclusion (LFI) Vulnerability via `include` macro

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

Published
27 Feb 2025
Last modified
10 Sep 2026
Assigned by
report@snyk.io
NVD status
Analyzed
Weakness
CWE-73
Also known as
GHSA-p75g-cxfj-7wrx
Sources
NVDJSONOSV GHSA-p75g-cxfj-7wrxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 4.0 MEDIUM 4.8 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:L/SI:N/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pebbletemplates pebble_templates
cpe:2.3:a:pebbletemplates:pebble_templates:*:*:*:*:*:*:*:*
< 4.1.0 4.1.0
OSV Maven io.pebbletemplates:pebble <= 3.2.3

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Feb 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Feb 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.