# CVE-2022-3474: Bazel leaks user credentials through the remote assets API

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-26 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2022-3474 · JSON: https://cvemate.com/vulnerability/CVE-2022-3474/json

## Description

```text
A bad credential handling in the remote assets API for Bazel versions prior to 5.3.2 and 4.2.3 sends all user-provided credentials instead of only the required ones for the requests. We recommend upgrading to versions later than or equal to 5.3.2 or 4.2.3.
```

## Signals

- CVSS: 5.1 medium (v4.0, CVE.org) CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
- EPSS: 0.412%, percentile 37.528%, 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

- google llc bazel: ≥ 5.0.0, \< 5.3.2 \| ≥ 4.0.0, \< 4.2.3 \| ≥ 3.0.0, \< 3.7.2
- google bazel: ≥ 3.1.0, \< 4.2.3 \| ≥ 5.0.0, \< 5.3.2

## References

- <https://github.com/bazelbuild/bazel/security/advisories/GHSA-mxr8-q875-rhwq>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3474>

---

Data as of 2026-12-05T03:16:23.072Z. 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
