Medium severity · published Feb 24, 2025
CVE-2025-27137
Dependency-Track vulnerable to local file inclusion via custom notification templates
4.4
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DE
dependency-track · DependencyTrack
< 4.12.6 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-27137
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-27137
github.com
https://github.com/DependencyTrack/dependency-track/pull/4684
github.com
https://github.com/DependencyTrack/dependency-track/pull/4685
github.com
https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-9582-88hr-54w3
github.com
https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-p75g-cxfj-7wrx
github.com
https://github.com/PebbleTemplates/pebble/issues/680
pebbletemplates.io
https://pebbletemplates.io/wiki/tag/include
More from dependency-track
5.3
CVE-2024-54002
Dependency-Track allows enumeration of managed users via /api/v1/user/login endpoint
4.7
CVE-2025-61776
Dependency-Track possibly discloses private NuGet repository credentials to api.nuget.org
4.4
CVE-2022-39351
Dependency-Track vulnerable to logging of API keys in clear text when handling API requests using keys with insufficient permissions
