CVE-2026-21697: axios4go's Race Condition in Shared HTTP Client Allows Proxy Configuration Leak

Published Jan 7, 2026
·
Updated

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.

Affected Software

2 affected components
Go/axios4go<0.6.4
Rezmoss Axios4go Go<0.6.4

Event History

Jan 7, 2026
CVE Published
via MITRE·10:29 PM
Data Sourced
via MITRE·10:29 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-21697?

CVE-2026-21697 is considered a moderate severity vulnerability due to the potential for race conditions in HTTP client configuration.

2

How do I fix CVE-2026-21697?

To fix CVE-2026-21697, update axios4go to version 0.6.4 or later to eliminate the race condition.

3

What type of vulnerability is CVE-2026-21697?

CVE-2026-21697 is a race condition vulnerability affecting the shared HTTP client configuration in axios4go.

4

Which versions of axios4go are affected by CVE-2026-21697?

CVE-2026-21697 affects all versions of axios4go prior to 0.6.4.

5

What impact does CVE-2026-21697 have on applications using axios4go?

The impact of CVE-2026-21697 can lead to data corruption and unexpected application behavior due to unsynchronized modifications of the HTTP client's configuration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203