{"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-30886 exists.","fix":"Upgrade github.com/QuantumNous/new-api to 0.11.4-alpha.2 or later.","what":"CVE-2026-30886 is a medium-severity missing authorization vulnerability in QuantumNous new-api, published on 23 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-30886 and fix it if it is affected.\n\nWhat it is: CVE-2026-30886 is a medium-severity missing authorization vulnerability in QuantumNous new-api, published on 23 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30886 exists.\n\nAffected packages and fixed versions:\n- github.com/QuantumNous/new-api (Go): affected all versions; fixed in 0.11.4-alpha.2\n- github.com/QuantumNous/new-api (Go): affected all versions; fixed in 0.11.4-alpha.2\n- github.com/QuantumNous/new-api (Go): affected all versions; fixed in 0.11.4-alpha.2\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-30886/ (Markdown: https://insights.sbomify.com/CVE-2026-30886/index.md)","id":"CVE-2026-30886","markdown":"https://insights.sbomify.com/CVE-2026-30886/index.md","name":"CVE-2026-30886","record":{"aliases":["GHSA-f35r-v9x5-r8mc","GO-2026-4814"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM gateway API","requires_auth":"low_privilege","summary":"Authenticated users can access other users' video content and trigger upstream AI provider authentication due to missing ownership checks in the video proxy endpoint.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"new_api","vendor":"newapi"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to version 0.11.4-alpha.2, an Insecure Direct Object Reference (IDOR) vulnerability in the video proxy endpoint (`GET /v1/videos/:task_id/content`) allows any authenticated user to access video content belonging to other users and causes the server to authenticate to upstream AI providers (Google Gemini, OpenAI) using credentials derived from tasks they do not own. The missing authorization check is a single function call — `model.GetByOnlyTaskId(taskID)` queries by `task_id` alone with no `user_id` filter, while every other task-lookup in the codebase enforces ownership via `model.GetByTaskId(userId, taskID)`. Version 0.11.4-alpha.2 contains a patch.","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: IDOR in VideoProxy allows cross-user video content access via missing ownership check","id":"CVE-2026-30886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"OneUptime Affected by Unsandboxed Code Execution in Probe Allows Any Project Member to Achieve RCE","id":"CVE-2026-30887"},"packages":[{"ecosystem":"Go","fixed":["0.11.4-alpha.2"],"introduced":["0"],"last_affected":[],"package":"github.com/QuantumNous/new-api","purl":null,"source":"GHSA-f35r-v9x5-r8mc"},{"ecosystem":"Go","fixed":["0.11.4-alpha.2"],"introduced":["0"],"last_affected":[],"package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"GHSA-f35r-v9x5-r8mc"},{"ecosystem":"Go","fixed":["0.11.4-alpha.2"],"introduced":["0"],"last_affected":[],"package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"GO-2026-4814"}],"prev":{"headline":"WWBN AVideo - Unauthenticated IDOR - Playlist Information Disclosure","id":"CVE-2026-30885"},"products":["new-api"],"published":"2026-03-23","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: SSRF Filter Bypass via 0.0.0.0","id":"CVE-2026-42339","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"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-25","vendors":["QuantumNous"]},"summary":"Authenticated users can access other users' video content and trigger upstream AI provider authentication due to missing ownership checks in the video proxy endpoint.","url":"https://insights.sbomify.com/CVE-2026-30886/"}