{"id":"CVE-2025-27137","published":"2025-02-24T20:59:50Z","modified":"2025-02-25T14:34:56Z","title":"Dependency-Track vulnerable to local file inclusion via custom notification templates","vendor":"DependencyTrack","product":"dependency-track","tier":"tail","description":{"text":"Dependency-Track is a component analysis platform that allows organizations to identify and reduce risk in the software supply chain. Dependency-Track allows users with the `SYSTEM_CONFIGURATION` permission to customize notification templates. Templates are evaluated using the Pebble template engine. Pebble supports an `include` tag, which allows template authors to include the content of arbitrary files upon evaluation. Prior to version 4.12.6, users of Dependency-Track with the `SYSTEM_CONFIGURATION` permission can abuse the `include` tag by crafting notification templates that `include` sensitive local files, such as `/etc/passwd` or `/proc/1/environ`. By configuring such a template for a notification rule (aka \"Alert\"), and having it send notifications to a destination controlled by the actor, sensitive information may be leaked. The issue has been fixed in Dependency-Track 4.12.6. In fixed versions, the `include` tag can no longer be used. Usage of the tag will cause template evaluation to fail. As a workaround, avoid assigning the `SYSTEM_CONFIGURATION` permission to untrusted users. The `SYSTEM_CONFIGURATION` permission per default is only granted to members of the `Administrators` team. Assigning this permission to non-administrative users or teams is a security risk in itself, and highly discouraged.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00186,"percentile":0.08385,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-9582-88hr-54w3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-p75g-cxfj-7wrx","tags":["x_refsource_MISC"]},{"url":"https://github.com/PebbleTemplates/pebble/issues/680","tags":["x_refsource_MISC"]},{"url":"https://github.com/DependencyTrack/dependency-track/pull/4684","tags":["x_refsource_MISC"]},{"url":"https://github.com/DependencyTrack/dependency-track/pull/4685","tags":["x_refsource_MISC"]},{"url":"https://pebbletemplates.io/wiki/tag/include","tags":["x_refsource_MISC"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.68},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"dependencytrack","affectedVersions":[{"vendor":"DependencyTrack","product":"dependency-track","versions":["< 4.12.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-25T14:34:43.617875Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-5076","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dependencytrack-dependency-track-cve-2025-27137","children":[{"from":"CVE-2025-27137","to":"CVE-2025-1686","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-p75g-cxfj-7wrx","via":"related"}]}]}}