---
title: "axios 1.21.1: release notes, upgrades and advisories"
description: "axios 1.21.1: release notes, breaking changes by major version and 56 known advisories with their fix."
url: https://inlinr.com/packages/axios
lang: en
---

[Packages](https://inlinr.com/packages)

# axios

1.21.1 · 9 Nov 2026 MIT 150.1M / week [Repository](https://github.com/axios/axios) [Homepage](https://axios-http.com/) [npm](https://www.npmjs.com/package/axios) [Atom feed](https://inlinr.com/packages/feed/axios)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/axios/upgrade)

LineNewestSecurity

- 1.x 1.21.1 Safe from 1.20.0 Latest line
- 0.29.x and older 0.35.0 701 open advisories, worst high  · last release Nov 2024, no longer updated [To 1.21.1](https://inlinr.com/packages/axios/upgrade/0.35.0-1.21.1)

## What to use instead

## A better maintained package

From the [e18e module-replacements](https://github.com/es-tooling/module-replacements) list, maintained by the community.

The list compares the options for axios: [read the comparison](https://github.com/es-tooling/module-replacements/blob/main/docs/modules/fetch.md).

## Before you switch

1. 1  
Check what else depends on it  
Paste your package.json in the [dependency check](https://inlinr.com/tools/dependency-check) to see every deprecated or outdated package in one pass, not only this one.
2. 2  
Read the replacement's peers and releases  
A native API or a few lines of code need no release notes, but check the Node version your project runs on.
3. 3  
Know when it ships  
Follow the new package on inlinr: its releases and advisories land in your feed, and the time spent on the migration branch shows on its page.

## Latest releases

[All 143 releases](https://inlinr.com/packages/axios/releases)

1. 1.x · latest line
2. ### [1.21.1](https://inlinr.com/packages/axios/releases/1.21.1 "Open this release") [](https://github.com/axios/axios/releases/tag/v1.21.1 "Read this release where it was published")  
9 Nov 2026  
Summary · from the note as AI read it  
Upgrade: this release fixes a security issue.

  - Security

**follow-redirects:** Raised the `follow-redirects` range from `^1.16.0` to `^1.16.2` to fix CVE-2026-116689 (GHSA-mrwp-f3q8-3g9p). In the vulnerable versions, `sensitiveHeaders` arrays from another realm were ignored and custom credentials could follow redirects. Only the Node.js HTTP adapter is affected, and there are no API changes. (**[#11410](https://github.com/axios/axios/issues/11410)**)
3. ### [1.21.0](https://inlinr.com/packages/axios/releases/1.21.0 "Open this release") [](https://github.com/axios/axios/blob/HEAD/CHANGELOG.md "Read this release where it was published")  
27 Oct 2026  
This release adds response timing and opt-in UTF-8 Basic authentication, improves request handling across runtimes, and changes how header defaults are recognized.
4. ### [1.20.0](https://inlinr.com/packages/axios/releases/1.20.0 "Open this release") [](https://github.com/axios/axios/releases/tag/v1.20.0 "Read this release where it was published")  
26 Aug 2026  
Summary · from the note as AI read it  
Upgrade: this release fixes a security issue.

  - Breaking

**HTTP Status Naming:** Added ContentTooLarge (413) and UnprocessableContent (422), while retaining PayloadTooLarge and UnprocessableEntity as backward-compatible deprecated aliases.
  - Security

**Runtime Option Handling:** Hardened behavioral configuration reads against shared and foreign prototype pollution and normalized unsafe interceptor replacement objects. This also clarifies Fetch redirect and custom implementation behavior, HTTP/2 DNS and proxy handling, CIDR-based NO\_PROXY matching, and malformed data URI rejection; see the PR for documented compatibility effects.

Dependency tracking

## Know when your own dependencies move

axios had 48 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[All 56](https://inlinr.com/packages/axios/security)

- [Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection](https://inlinr.com/advisories/GHSA-m8m8-qj5v-23w3) High · fixed in 1.20.0
- [Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF](https://inlinr.com/advisories/GHSA-r4gj-5m52-g5wh) High · fixed in 1.20.0
- [Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)](https://inlinr.com/advisories/GHSA-c29m-xwm3-cm6r) High · fixed in 1.20.0

## Health of 1.21.1

[Details](https://inlinr.com/packages/axios/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 1
- **Scorecard**: 7.7 / 10
- **Size**: 2.2 MB

## Weekly downloads

Registry facts last checked 23 Nov 2026\. Releases and advisories last read 23 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
