SecurityContext

CVE-2026-21697: axios4go - Race Condition

  • Cve: CVE-2026-21697
  • Name: axios4go - Race Condition
  • 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.
  • Impact: Attackers can cause race conditions leading to data corruption or exposure of sensitive authentication data during concurrent requests.
  • Remediation: Upgrade to version 0.6.4 or later.
  • Vulnerability type: race_condition
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00408
  • Epss percentile: 0.35865
  • Assignee: [email protected]
  • Published at: 2026-01-07T23:15:50Z
  • Age in days: 321
  • Modified at: 2026-06-17T10:18:56Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-21697
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/rezmoss/axios4go/commit/b651604c64e66a115ab90cdab358b0181d74a842Patch
https://github.com/rezmoss/axios4go/security/advisories/GHSA-cmj9-27wj-7x47Mitigation, Vendor Advisory
https://github.com/rezmoss/axios4go/releases/tag/v0.6.4Product

Products

ProductAffectedPlatform boundSourcesUrl
rezmoss:axios4go< 0.6.4nonvd/v1/products/rezmoss/axios4go

Projects

RepositoryLink kindsIndexedUrl
rezmoss/axios4gocommit, fix, releases, security_advisoryyes/v1/repositories/rezmoss/axios4go

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts