CVE-2026-101906

NameCVE-2026-101906
DescriptionAxios is a promise-based HTTP client for the browser and Node.js. From 1.15.0 until 1.20.0, Axios shouldBypassProxy applies a quadratic trailing-dot regular expression to redirect hostnames. HTTP_PROXY or HTTPS_PROXY is configured, NO_PROXY or no_proxy is non-empty, redirects are followed, and a crafted redirect Location contains many dots followed by a non-dot character. Hostname.replace(/.+$/, '') backtracks quadratically while processing the crafted redirect hostname. Synchronous regular-expression processing can block the Node.js event loop and cause denial of service. This issue is fixed in version 1.20.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-axios (PTS)bookworm1.2.1+dfsg-1+deb12u1vulnerable
trixie1.8.4+dfsg-1vulnerable
forky, sid1.20.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-axiossource(unstable)1.20.0-1

Notes

https://github.com/axios/axios/security/advisories/GHSA-mghh-pgcx-3jjj
https://github.com/axios/axios/pull/11141
Fixed by: https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a (v1.20.0)

Search for package or bug name: Reporting problems