🛡️ CVE-2026-42040 on npm (Root.io) — axios
Description
CVE-2026-42040 in @rootio/axios - Patched by Root
Root has patched CVE-2026-42040 in the @rootio/axios package for Root:npm. Multiple fixed versions available.
Distribution advisory
This page covers CVE-2026-42040 as tracked by npm (Root.io), for the package axios. The fix is available in version 0.31.1-root.io.1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Weakness class
ROOT-APP-NPM-CVE-2026-42040 is classified as CWE-116: Improper Encoding or Escaping of Output. Output is emitted without encoding it for the context it lands in, so data is interpreted as markup or code.
Affected software
ROOT-APP-NPM-CVE-2026-42040 is recorded against 2 packages.
- @rootio/axios (fixed in 0.31.1-root.io.1)
- axios (fixed in 0.31.1-aikido.1)
Timeline and source
Published on 2 July 2026 and last revised on 29 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
CVE-2026-42040 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| @rootio/axios | — | 0.31.1-root.io.1 |
| axios | — | 0.31.1-aikido.1 |
References
N/ASimilar Threats
Free Vulnerability Check
Is your site affected by ROOT-APP-NPM-CVE-2026-42040?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against ROOT-APP-NPM-CVE-2026-42040 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.