CVE-2026-21697 Details
Description
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.
A race condition vulnerability has been identified in axios4go, a Go HTTP client library, prior to version 0.6.4. The issue arises from the global default HTTP client being altered during request execution without proper synchronization. This unsynchronized modification affects the shared http.Client's Transport, Timeout, and CheckRedirect properties. The vulnerability impacts applications that use axios4go for concurrent requests, particularly those that handle sensitive data such as authentication credentials, tokens, or API keys, and those that employ different proxy configurations for various requests. The race condition can lead to an interception of sensitive data by routing requests through an attacker's proxy.
The vulnerability has been patched in version 0.6.4. Users are advised to upgrade immediately. If an immediate upgrade is not possible, avoid using the global functions with different proxy configurations concurrently, create separate Client instances for each goroutine, add external synchronization around axios4go calls, and avoid using the Proxy option in concurrent scenarios.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rezmoss axios4go | < 0.6.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Jan 7, 2026 | New CVE Received | [email protected] |