{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-1686","published":"2025-02-27T05:15:14.143000Z","last_modified":"2026-06-17T08:39:35.997000Z","status":"Analyzed","cvss":{"version":"4.0","score":4.8,"severity":"MEDIUM","vector":"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","source":"report@snyk.io","primary":false},"auth":true,"cwes":["CWE-73"],"cpes":[{"criteria":"cpe:2.3:a:pebbletemplates:pebble_templates:*:*:*:*:*:*:*:*","part":"a","vendor":"pebbletemplates","product":"pebble_templates","version_end_excluding":"4.1.0"}],"cpes_truncated":false,"vendors":["pebbletemplates"],"products":["pebbletemplates/pebble_templates"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01167,"percentile":0.67223,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p75g-cxfj-7wrx","ecosystem":"Maven","name":"io.pebbletemplates:pebble","purl":"pkg:maven/io.pebbletemplates/pebble","ranges":[{"introduced":"0","last_affected":"3.2.3"}],"versions":["2.5.0","2.5.1","2.6.0","2.6.1","2.6.2","3.0.0","3.0.0.BETA01","3.0.1","3.0.10","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.2.0","3.2.1","3.2.2","3.2.3"],"versions_truncated":false}],"severity":"medium","priority_score":29,"links":{"html_es":"/es/cve/CVE-2025-1686/","html_en":"/en/cve/CVE-2025-1686/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-1686","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-1686"},"untrusted":{"vendor_name":"Pebbletemplates","product_name":"Pebble Templates","desc_en":"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.\r\r Workaround\r\rThis vulnerability can be mitigated by disabling the include macro in Pebble Templates:\r\rjava\rnew PebbleEngine.Builder()\r            .registerExtensionCustomizer(new DisallowExtensionCustomizerBuilder()\r                    .disallowedTokenParserTags(List.of(\"include\"))\r                    .build())\r            .build();","affected":[],"references":[{"url":"https://github.com/PebbleTemplates/pebble/commit/b3451c8f305a1a248fbcc2363fd307d0baaee329","tags":["Patch"]},{"url":"https://github.com/PebbleTemplates/pebble/issues/680","tags":["Issue Tracking"]},{"url":"https://github.com/PebbleTemplates/pebble/issues/688","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://pebbletemplates.io/wiki/tag/include","tags":["Product"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-IOPEBBLETEMPLATES-8745594","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/PebbleTemplates/pebble/pull/715","tags":["Issue Tracking","Patch"]}]}}