# CVE-2022-39351: Dependency-Track vulnerable to logging of API keys in clear text when handling API requests using keys with insufficient permissions

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2022-10-25T00:00:00.000Z
- Modified: 2026-06-17T04:58:11.820Z
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Dependency-Track is a Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain. Prior to version 4.6.0, performing an API request using a valid API key with insufficient permissions causes the API key to be written to Dependency-Track's audit log in clear text. Actors with access to the audit log can exploit this flaw to gain access to valid API keys. The issue has been fixed in Dependency-Track 4.6.0. Instead of logging the entire API key, only the last 4 characters of the key will be logged. It is strongly recommended to check historic logs for occurrences of this behavior, and re-generating API keys in case of leakage.

(As written by CVE List.)

## Affected

- DependencyTrack dependency-track: < 4.6.0
- owasp dependency-track: before 4.6.0

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://docs.dependencytrack.org/changelog/> (product, release-notes)
- <https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-gh7v-4hxp-gqp4> (third-party-advisory)
- <https://github.com/DependencyTrack/dependency-track/blob/4.5.0/src/main/docker/logback.xml> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-39351](https://www.cve.org/CVERecord?id=CVE-2022-39351), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-39351](https://nvd.nist.gov/vuln/detail/CVE-2022-39351), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39351 · Whole record: https://cve.day/CVE-2022-39351.json · Rebuilt by cve.day 2026-11-25T22:58:15.998Z
