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

- Severity: Medium 5.1 (CVSS:4.0, scored by Google) `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`
- 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.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2022-10-26T00:00:00.000Z
- Modified: 2026-06-17T04:59:35.900Z
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- Google LLC Bazel: from 5.0.0 before 5.3.2; from 4.0.0 before 4.2.3; from 3.0.0 before 3.7.2
- google bazel: from 5.0.0 before 5.3.2; from 4.0.0 before 4.2.3; from 3.0.0 before 3.7.2; from 3.1.0 before 4.2.3

## Every score

- Google: CVSS:4.0 5.1 Medium `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`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/bazelbuild/bazel/security/advisories/GHSA-mxr8-q875-rhwq> (third-party-advisory)

## Sources

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

---

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