{"answers":{"affected":"4 open source packages ship an affected version, including axios. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40175 exists.","fix":"Upgrade axios to a fixed version for your release line: 0.31.0 or 1.15.0.","what":"CVE-2026-40175 is a medium-severity server-side request forgery vulnerability in axios, published on 10 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40175 and fix it if it is affected.\n\nWhat it is: CVE-2026-40175 is a medium-severity server-side request forgery vulnerability in axios, published on 10 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40175 exists.\n\nAffected packages and fixed versions:\n- axios (npm): affected all versions; fixed in 0.31.0\n- axios (npm): affected all versions; fixed in 0.31.0\n- axios (npm): affected from 1.0.0; fixed in 1.15.0\n- axios (npm): affected from 1.0.0; fixed in 1.15.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40175/ (Markdown: https://insights.sbomify.com/CVE-2026-40175/index.md)","id":"CVE-2026-40175","markdown":"https://insights.sbomify.com/CVE-2026-40175/index.md","name":"CVE-2026-40175","record":{"aliases":["CLEANSTART-2026-JV08161","CLEANSTART-2026-QI58975","DEBIAN-CVE-2026-40175","ECHO-b49d-4738-7e8f","GHSA-fvcv-3m26-pcqx","MINI-4hcx-jv7c-2mmm","MINI-53jc-5945-v5mv","MINI-5j33-fhf6-vf3x","MINI-67jf-6wr4-3h5q","MINI-6jx5-5rwx-pfxh","MINI-76px-jpww-56pq","MINI-7pq7-hm8q-579q","MINI-85p3-hjh4-hm6x","MINI-979p-wv6w-cpr4","MINI-cjfj-7q9w-mm7v","MINI-f5mf-v34p-93vf","MINI-g924-pvmr-97h4","MINI-gj4f-6mp4-ch2j","MINI-hhxp-2x9r-xw63","MINI-j4g9-w55j-2h5w","MINI-m7cp-g64m-cqvf","MINI-q4wr-xc58-845q","MINI-r65g-cxvc-5676","MINI-w24v-6874-j3qr","ROOT-APP-NPM-CVE-2026-40175","UBUNTU-CVE-2026-40175"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript HTTP client","requires_auth":"none","summary":"Attackers can exploit prototype pollution to inject headers, enabling Server-Side Request Forgery to exfiltrate cloud metadata from applications using Axios.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"axios","vendor":"axios"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"},{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"description":"Axios is a promise based HTTP client for the browser and Node.js. Versions prior to 1.15.0 and 0.3.1 are vulnerable to a specific gadget-style attack chain in which prototype pollution in a third-party dependency may be leveraged to inject unsanitized header values into outbound requests. This vulnerability is fixed in 1.15.0 and 0.3.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-04-12","github_poc":4,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-12T10:12:30Z","kind":"github_poc","ref":"https://github.com/0xredash/CVE-2026-40175","stars":0,"title":"CVE-2026-40175"},{"date":"2026-04-14T05:51:04Z","kind":"github_poc","ref":"https://github.com/surri/audit-axios","stars":0,"title":"Scan local repos for vulnerable axios versions (CVE-2026-40175) and patch interactively"},{"date":"2026-04-14T13:33:50Z","kind":"github_poc","ref":"https://github.com/LeeKangHyun/axios-security-guide","stars":0,"title":"Axios CRLF Injection (CVE-2026-40175) 취약점 대응 가이드 및 fetch 기반 마이그레이션 분석"},{"date":"2026-04-17T02:46:15Z","kind":"github_poc","ref":"https://github.com/pjt3591oo/CVE-2026-40175-poc","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Axios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain","id":"CVE-2026-40175","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":4,"n_references":7,"next":{"headline":"Composer is vulnerable to Command Injection via Malicious Perforce Repository","id":"CVE-2026-40176"},"packages":[{"ecosystem":"npm","fixed":["0.31.0"],"introduced":["0"],"last_affected":[],"package":"axios","purl":null,"source":"GHSA-fvcv-3m26-pcqx"},{"ecosystem":"npm","fixed":["0.31.0"],"introduced":["0"],"last_affected":[],"package":"axios","purl":"pkg:npm/axios","source":"GHSA-fvcv-3m26-pcqx"},{"ecosystem":"npm","fixed":["1.15.0"],"introduced":["1.0.0"],"last_affected":[],"package":"axios","purl":null,"source":"GHSA-fvcv-3m26-pcqx"},{"ecosystem":"npm","fixed":["1.15.0"],"introduced":["1.0.0"],"last_affected":[],"package":"axios","purl":"pkg:npm/axios","source":"GHSA-fvcv-3m26-pcqx"}],"prev":{"headline":"Masa CMS CSRF in user address management allows unauthorized address changes","id":"CVE-2026-40174"},"products":["axios"],"published":"2026-04-10","related":[{"cvss_score":8.7,"headline":"Axios: Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`","id":"CVE-2026-44494","kev_date_added":null,"published":"2026-06-11"},{"cvss_score":8.6,"headline":"axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)","id":"CVE-2026-44492","kev_date_added":null,"published":"2026-06-11"},{"cvss_score":8.3,"headline":"axios before 0.33.0 Prototype Pollution via Node HTTP adapter","id":"CVE-2026-67320","kev_date_added":null,"published":"2026-08-01"},{"cvss_score":8.2,"headline":"Axios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP Adapter","id":"CVE-2026-44487","kev_date_added":null,"published":"2026-06-11"},{"cvss_score":7.7,"headline":"Possible SSRF and Credential Leakage via Absolute URL in axios Requests","id":"CVE-2025-27152","kev_date_added":null,"published":"2025-03-07"},{"cvss_score":7.5,"headline":"Axios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connection","id":"CVE-2026-44486","kev_date_added":null,"published":"2026-06-11"},{"cvss_score":7.5,"headline":"Axios: Allocation of Resources Without Limits or Throttling in axios","id":"CVE-2026-44488","kev_date_added":null,"published":"2026-06-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-09","vendors":["axios"]},"summary":"Attackers can exploit prototype pollution to inject headers, enabling Server-Side Request Forgery to exfiltrate cloud metadata from applications using Axios.","url":"https://insights.sbomify.com/CVE-2026-40175/"}