# axios Inefficient Regular Expression Complexity vulnerability

📦

📦 npm

Not in CISA KEV

HIGH severity

# axios Inefficient Regular Expression Complexity vulnerabilityGHSA-cph5-m8f7-6c5x

HIGH [Fix: axios/axios@5b45711](https://github.com/axios/axios/commit/5b457116e31db0e88fede6c428e969e87f290929)

GHSA-cph5-m8f7-6c5x is a high-severity (CVSS 7.5) CWE-1333 vulnerability in axios. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for axios — see the affected versions and patch details below.

Also known as[CVE-2021-3749](/vulnerability/CVE-2021-3749)

Published

Sep 1, 2021

Updated

Sep 10, 2026

Affected

1 pkg

Patched

1 / 1

Exploits

1 known

Exploitation data as of Nov 24, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

## EPSS Exploitation Probability

[via FIRST.org ↗](https://www.first.org/epss/)

8.5%probability of exploitation in next 30 days

Lower Risk0.00%

Lower risk than most CVEs95th percentile — riskier than 95% of all scored CVEsHighest risk

7.97%8.44%8.92%9.39%8.5%8.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from [FIRST.org EPSS](https://www.first.org/epss/).

## How urgent is this, really

## Where this sits among everything scored

## Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

180Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream

`axios`npm

149.2Mdownloads / week

## Description

axios before v0.21.2 is vulnerable to Inefficient Regular Expression Complexity.

## Affected Packages

1 total 1 fixed

Ecosystem

Package

Vulnerable range

Fix

📦npm

`axios` 

all versions

0.21.2`npm install axios@0.21.2`

## Affected Products

3 products · 5 configurations

Application

`axios`axios

≤ 0.21.1

range

Application

`goldengate`oracle

≥ 21.1 && < 21.7.0.0.0

range

Application

`sinec ins`siemens

< 1.0

1 version

1.0

Exploits & PoCs

1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

[

axios is vulnerable to Inefficient Regular Expression Complexity

huntr.devNVDSep 2021

](https://huntr.dev/bounties/1e8f07fc-c384-4ff9-8498-0690de2e8c31)

## Detection & mitigation playbook

Open-source dependency

1.  ### Detect
    
    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for axios, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
    
2.  ### Fix
    
    Update axios to 0.21.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cph5-m8f7-6c5x is resolved across your whole dependency graph.
    
3.  ### Workarounds
    
    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
    

## Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

\* OpenShift Container Platform (OCP) grafana-container does package a vulnerable version of nodejs axios. However, due to the instance being read only and behind OpenShift OAuth, the impact of this vulnerability is Low. \* Red Hat Advanced Cluster Management for Kubernetes (RHACM) 2.1 and previous versions does contain…

Product

Fixed in

Advisory

Migration Toolkit for Virtualization 2.2

`migration-toolkit-virtualization/mtv-ui-rhel8:2.2.0-60`

[RHEA-2021:5066](https://access.redhat.com/errata/RHEA-2021:5066)

OpenShift Service Mesh 2.0

`kiali-0:v1.24.7.redhat1-1.el8`

[RHSA-2022:1276](https://access.redhat.com/errata/RHSA-2022:1276)

Red Hat Migration Toolkit for Containers 1.6

`rhmtc/openshift-migration-ui-rhel8:v1.6.0-24`

[RHSA-2021:3694](https://access.redhat.com/errata/RHSA-2021:3694)

Red Hat OpenShift Container Platform 4.10

`openshift4/ose-console:v4.10.0-202202240423.p0.gb6503ff.assembly.stream`

[RHSA-2022:0056](https://access.redhat.com/errata/RHSA-2022:0056)

RHACS-3.67-RHEL-8

`advanced-cluster-security/rhacs-rhel8-operator:3.67.0-3`

[RHSA-2021:4902](https://access.redhat.com/errata/RHSA-2021:4902)

## Frequently Asked Questions

axios before v0.21.2 is vulnerable to Inefficient Regular Expression Complexity.

O3 Security · Impact-Aware SCA

### Is GHSA-cph5-m8f7-6c5x in your dependencies?

Find it across npm, including transitive dependencies.

[Scan my dependencies](/book-demo) [How O3 SCA works](/impact-aware-sca)