{"id":"CVE-2026-21697","summary":"axios4go's Race Condition in Shared HTTP Client Allows Proxy Configuration Leak","details":"axios4go is a Go HTTP client library. Prior to version 0.6.4, a race condition vulnerability exists in the shared HTTP client configuration. The global `defaultClient` is mutated during request execution without synchronization, directly modifying the shared `http.Client`'s `Transport`, `Timeout`, and `CheckRedirect` properties. Impacted applications include that that use axios4go with concurrent requests (multiple goroutines, `GetAsync`, `PostAsync`, etc.), those where different requests use different proxy configurations, and those that handle sensitive data (authentication credentials, tokens, API keys). Version 0.6.4 fixes this issue.","aliases":["GHSA-cmj9-27wj-7x47"],"modified":"2026-08-12T03:51:27.882291064Z","published":"2026-01-07T22:29:57.393Z","database_specific":{"cwe_ids":["CWE-362"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21697.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/rezmoss/axios4go/releases/tag/v0.6.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21697.json"},{"type":"ADVISORY","url":"https://github.com/rezmoss/axios4go/security/advisories/GHSA-cmj9-27wj-7x47"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21697"},{"type":"FIX","url":"https://github.com/rezmoss/axios4go/commit/b651604c64e66a115ab90cdab358b0181d74a842"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rezmoss/axios4go","events":[{"introduced":"0"},{"fixed":"bc21ffb4e5fa9a743c7dbfac4c72764f97921444"},{"fixed":"b651604c64e66a115ab90cdab358b0181d74a842"}],"database_specific":{"cpe":"cpe:2.3:a:rezmoss:axios4go:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.6.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21697.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}