Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. axios
  4. ›
  5. CVE-2026-42034

CVE-2026-42034: Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0

May 5, 2026

For stream request bodies, maxBodyLength is bypassed when maxRedirects is set to 0 (native http/https transport path). Oversized streamed uploads are sent fully even when the caller sets strict body limits.

References

  • github.com/advisories/GHSA-5c9x-8gcm-mpgx
  • github.com/axios/axios/security/advisories/GHSA-5c9x-8gcm-mpgx
  • nvd.nist.gov/vuln/detail/CVE-2026-42034

Code Behaviors & Features

Detect and mitigate CVE-2026-42034 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.31.1, all versions starting from 1.0.0 before 1.15.1

Fixed versions

  • 0.31.1
  • 1.15.1

Solution

Upgrade to versions 0.31.1, 1.15.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/axios/CVE-2026-42034.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:27 +0000.