# CVE-2024-45340: GOAUTH credential leak in cmd/go

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-01-28T00:47:30.000Z
- Modified: 2026-06-17T07:54:03.787Z
- Also known as: GO-2025-3383, BIT-GOLANG-2024-45340
- Weaknesses: CWE-201
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Go

## Description

Credentials provided via the new GOAUTH feature were not being properly segmented by domain, allowing a malicious server to request credentials they should not have access to. By default, unless otherwise set, this only affected credentials stored in the users .netrc file.

(As written by CVE List.)

## Affected

- cmd/go: from 1.24.0-0 before 1.24.0-rc.2
- toolchain (Go): from 1.24.0-0 before 1.24.0-rc.2
- golang (Bitnami): from 1.24.0-0 before 1.24.0-rc.2

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://go.dev/cl/643097> (fix, web)
- <https://go.dev/issue/71249> (report, web)
- <https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ> (web)
- <https://pkg.go.dev/vuln/GO-2025-3383> (web)

## Sources

- CVE List: [CVE-2024-45340](https://www.cve.org/CVERecord?id=CVE-2024-45340), CVE Terms of Use, modified 2025-01-30
- Go Vulnerability Database: [GO-2025-3383](https://pkg.go.dev/vuln/GO-2025-3383), CC-BY-4.0, modified 2025-01-30
- NVD: [CVE-2024-45340](https://nvd.nist.gov/vuln/detail/CVE-2024-45340), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2024-45340](https://osv.dev/vulnerability/BIT-GOLANG-2024-45340), Apache-2.0, modified 2025-02-06

---

Page: https://cve.day/CVE-2024-45340 · Whole record: https://cve.day/CVE-2024-45340.json · Rebuilt by cve.day 2026-11-25T22:58:51.269Z
