{"answers":{"affected":"3 open source packages ship an affected version, including github.com/QuantumNous/new-api. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42339 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-42339 is a high-severity vulnerability in QuantumNous new-api, published on 8 May 2026."},"fix_prompt":"Check this codebase for CVE-2026-42339 and fix it if it is affected.\n\nWhat it is: CVE-2026-42339 is a high-severity vulnerability in QuantumNous new-api, published on 8 May 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42339 exists.\n\nAffected packages and fixed versions:\n- github.com/QuantumNous/new-api (Go): affected all versions; no fix listed\n- github.com/QuantumNous/new-api (Go): affected all versions up to 0.11.9-alpha.1; no fix listed\n- github.com/QuantumNous/new-api (Go): affected all versions up to 0.11.9-alpha.1; no fix listed\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-42339/ (Markdown: https://insights.sbomify.com/CVE-2026-42339/index.md)","id":"CVE-2026-42339","markdown":"https://insights.sbomify.com/CVE-2026-42339/index.md","name":"CVE-2026-42339","record":{"aliases":["GHSA-v5c3-6wvc-pc2q","GO-2026-5652"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"new_api","vendor":"newapi"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. In versions 0.11.9-alpha.1 and prior, the SSRF protection introduced in v0.9.0.5 (CVE-2025-59146) and hardened in v0.9.6 (CVE-2025-62155) does not block the unspecified address 0.0.0.0. A regular (non-admin) user holding any valid API token can send a multimodal request to /v1/chat/completions, /v1/responses, or /v1/messages with 0.0.0.0 as the image/file URL host, bypassing the private-IP filter and causing the server to issue HTTP requests to localhost. This constitutes at minimum a blind SSRF; when the request is routed through an AWS/Bedrock Claude adaptor, the fetched content is inlined into the model response, upgrading it to a full-read SSRF. At time of publication, there are no publicly available patches.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"New API: SSRF Filter Bypass via 0.0.0.0","id":"CVE-2026-42339","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"FOSSBilling has an unauthenticated payment bypass via IPN callback forgery","id":"CVE-2026-42341"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"GO-2026-5652"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.11.9-alpha.1"],"package":"github.com/QuantumNous/new-api","purl":null,"source":"GHSA-v5c3-6wvc-pc2q"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.11.9-alpha.1"],"package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"GHSA-v5c3-6wvc-pc2q"}],"prev":{"headline":"ip-address: XSS in Address6 HTML-emitting methods","id":"CVE-2026-42338"},"products":["new-api"],"published":"2026-05-08","related":[{"cvss_score":8.8,"headline":"Cross-site scripting in n/a","id":"CVE-2025-55573","kev_date_added":null,"published":"2025-08-22"},{"cvss_score":7.7,"headline":"New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs","id":"CVE-2026-33655","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.6,"headline":"New API has Potential XSS in its MarkdownRenderer component","id":"CVE-2026-25802","kev_date_added":null,"published":"2026-02-24"},{"cvss_score":7.1,"headline":"New API: Stripe Webhook Signature Bypass via Empty Secret Enables Unlimited Quota Fraud","id":"CVE-2026-41432","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":7.1,"headline":"New API has an SQL LIKE Wildcard Injection DoS via Token Search","id":"CVE-2026-25591","kev_date_added":null,"published":"2026-02-24"},{"cvss_score":6.5,"headline":"New API: IDOR in VideoProxy allows cross-user video content access via missing ownership check","id":"CVE-2026-30886","kev_date_added":null,"published":"2026-03-23"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-11","vendors":["QuantumNous"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-42339/"}