{"id":"CVE-2025-27137","state":"PUBLISHED","title":"Dependency-Track vulnerable to local file inclusion via custom notification templates","description":"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.","publishedAt":"2025-02-24T20:59:50.974Z","updatedAt":"2025-02-25T14:34:56.467Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["DependencyTrack dependency-track"],"affected":[{"vendor":"DependencyTrack","product":"dependency-track","versions":[{"version":"< 4.12.6","status":"affected"}]}],"references":["https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-9582-88hr-54w3","https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-p75g-cxfj-7wrx","https://github.com/PebbleTemplates/pebble/issues/680","https://github.com/DependencyTrack/dependency-track/pull/4684","https://github.com/DependencyTrack/dependency-track/pull/4685","https://pebbletemplates.io/wiki/tag/include"],"weaknesses":["CWE-73"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/27xxx/CVE-2025-27137.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-27137","state":"PUBLISHED","datePublished":"2025-02-24T20:59:50.974Z","dateUpdated":"2025-02-25T14:34:56.467Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-02-19T16:30:47.775Z"},"containers":{"cna":{"title":"Dependency-Track vulnerable to local file inclusion via custom notification templates","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"DependencyTrack","product":"dependency-track","versions":[{"version":"< 4.12.6","status":"affected"}]}],"references":[{"url":"https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-9582-88hr-54w3","name":"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","name":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-p75g-cxfj-7wrx","tags":["x_refsource_MISC"]},{"url":"https://github.com/PebbleTemplates/pebble/issues/680","name":"https://github.com/PebbleTemplates/pebble/issues/680","tags":["x_refsource_MISC"]},{"url":"https://github.com/DependencyTrack/dependency-track/pull/4684","name":"https://github.com/DependencyTrack/dependency-track/pull/4684","tags":["x_refsource_MISC"]},{"url":"https://github.com/DependencyTrack/dependency-track/pull/4685","name":"https://github.com/DependencyTrack/dependency-track/pull/4685","tags":["x_refsource_MISC"]},{"url":"https://pebbletemplates.io/wiki/tag/include","name":"https://pebbletemplates.io/wiki/tag/include","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-02-24T20:59:50.974Z"},"source":{"advisory":"GHSA-9582-88hr-54w3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:34:43.617875Z","id":"CVE-2025-27137","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:34:56.467Z"}}]}}}