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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-25 · Modified: 2025-04-23
- Record: https://cvemate.com/vulnerability/CVE-2022-39351 · JSON: https://cvemate.com/vulnerability/CVE-2022-39351/json

## Description

```text
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.
```

## Signals

- CVSS: 4.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.215%, percentile 12.614%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- dependencytrack dependency-track: \< 4.6.0
- owasp dependency-track: \< 4.6.0

## References

- <https://docs.dependencytrack.org/changelog/>
- <https://github.com/DependencyTrack/dependency-track/security/advisories/GHSA-gh7v-4hxp-gqp4>
- <https://github.com/DependencyTrack/dependency-track/blob/4.5.0/src/main/docker/logback.xml>

---

Data as of 2026-12-05T08:28:32.688Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
