{"answers":{"affected":"2 open source packages ship an affected version, including @haxtheweb/open-apis.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46391 exists.","fix":"Upgrade @haxtheweb/open-apis to 26.0.0 or later.","what":"CVE-2026-46391 is a high-severity server-side request forgery vulnerability in @haxtheweb/open-apis, published on 5 Jun 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-46391 and fix it if it is affected.\n\nWhat it is: CVE-2026-46391 is a high-severity server-side request forgery vulnerability in @haxtheweb/open-apis, published on 5 Jun 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-46391 exists.\n\nAffected packages and fixed versions:\n- @haxtheweb/open-apis (npm): affected all versions; fixed in 26.0.0\n- @haxtheweb/open-apis (npm): affected all versions; fixed in 26.0.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-46391/ (Markdown: https://insights.sbomify.com/CVE-2026-46391/index.md)","id":"CVE-2026-46391","markdown":"https://insights.sbomify.com/CVE-2026-46391/index.md","name":"CVE-2026-46391","record":{"aliases":["GHSA-4fg7-f244-3j49"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"HAX CMS open-apis","requires_auth":"none","summary":"An attacker can exploit SSRF in HAX CMS open-apis to steal authentication credentials by bypassing hostname validation checks.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-183","name":"Permissive List of Allowed Inputs"}],"description":"HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 9.0.1 and prior to version 26.0.0 of @haxtheweb/open-apis, multiple functions conduct substring-only matching to validate hostnames to which basic authorization should be sent. An attacker can append the matched substrings to an attacker-controlled endpoint and capture authentication. Version 26.0.0 fixes the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-05-14","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-14T03:43:36Z","kind":"github_poc","ref":"https://github.com/bradyjmcl/cve-2026-46391","stars":1,"title":"Proof of concept exploit for CVE-2026-46391"}],"tier":"weaponised"},"has_fix":true,"headline":"HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis","id":"CVE-2026-46391","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation","id":"CVE-2026-46392"},"packages":[{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/open-apis","purl":null,"source":"GHSA-4fg7-f244-3j49"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/open-apis","purl":"pkg:npm/%40haxtheweb/open-apis","source":"GHSA-4fg7-f244-3j49"}],"prev":{"headline":"HAX CMS has Unauthenticated Git Access via User-Controlled Key","id":"CVE-2026-46390"},"products":["@haxtheweb/open-apis"],"published":"2026-06-05","related":[],"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":"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-08","vendors":["haxtheweb"]},"summary":"An attacker can exploit SSRF in HAX CMS open-apis to steal authentication credentials by bypassing hostname validation checks.","url":"https://insights.sbomify.com/CVE-2026-46391/"}