REDHAT-BUG-2461629: High severity npm/axios vulnerability

Published Apr 24, 2026
·
Updated

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution to silently suppress all HTTP error responses (401, 403, 500, etc.), causing them to be treated as successful responses. This completely bypasses application-level authentication and error handling. The root cause is that validateStatus is the only config property using the mergeDirectKeys merge strategy, which uses JavaScript's in operator — an operator that inherently traverses the prototype chain. When Object.prototype.validateStatus is polluted with () => true, all HTTP status codes are accepted as success. This vulnerability is fixed in 1.15.1 and 0.31.1.

Affected Software

1 affected component
npm/axios<1.15.1, <0.31.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade axios to a version that resolves this vulnerability.

    Fixed in 1.15.1
  2. Upgrade

    Upgrade axios to a version that resolves this vulnerability.

    Fixed in 0.31.1

Event History

Apr 24, 2026
Data Sourced
via Red Hat·07:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2461629?

The severity of REDHAT-BUG-2461629 is rated high with a score of 7.

2

What is the risk associated with REDHAT-BUG-2461629?

The risk associated with REDHAT-BUG-2461629 is categorized as 33.

3

How do I fix REDHAT-BUG-2461629?

To fix REDHAT-BUG-2461629, upgrade the Axios library to version 1.15.1 or 0.31.1 or later.

4

What type of attack does REDHAT-BUG-2461629 pertain to?

REDHAT-BUG-2461629 pertains to a Prototype Pollution 'Gadget' attack affecting the Axios library.

5

Which versions of Axios are affected by REDHAT-BUG-2461629?

Axios versions prior to 1.15.1 and 0.31.1 are affected by REDHAT-BUG-2461629.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203