{"id":"GHSA-p845-629j-rcj6","revision":null,"records":[{"revision":"a80d335891d34f78a79da72e4ed81880","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-64866","aliases":[],"title":"New API: Admin can reset passkeys for same-level or higher-privileged users","description":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. From 0.9.1.3 until 1.0.0-rc.7, AdminResetPasskey in controller/passkey.go lacks the canManageTargetRole authorization check for DELETE /api/user/:id/reset_passkey, allowing a lower-privileged administrator to remove a passkey from a same-level or higher-privileged account, including a root account. This issue is fixed in version 1.0.0-rc.7.","state":0,"publishedAt":"2026-08-17T16:06:38.718+00:00","modifiedAt":"2026-08-17T22:01:49.775+00:00","affected":[{"ecosystem":"Vendor product","name":"new-api","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"QuantumNous\",\n                    \"product\": \"new-api\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.9.1.3, < 1.0.0-rc.7\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"severity":"MEDIUM"}],"references":["https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6","https://github.com/QuantumNous/new-api/pull/4929","https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-64866","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-64866","identifiers":["CVE-2026-64866"]},"retained":false,"historicalAffected":[]},{"revision":"ffecdd0c8c214364a6506ad730811161","observedAt":"2026-11-11T15:07:51.205+00:00","statement":{"source":"euvd","id":"EUVD-2026-60261","aliases":["CVE-2026-64866","GHSA-p845-629j-rcj6"],"title":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. From 0.9.1.3 until 1.0.0-rc.7, AdminResetPasskey in controller/passkey.go lacks the canManageTargetRole authorization check for DELETE …","description":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. From 0.9.1.3 until 1.0.0-rc.7, AdminResetPasskey in controller/passkey.go lacks the canManageTargetRole authorization check for DELETE /api/user/:id/reset_passkey, allowing a lower-privileged administrator to remove a passkey from a same-level or higher-privileged account, including a root account. This issue is fixed in version 1.0.0-rc.7.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"severity":null}],"references":["https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6","https://github.com/QuantumNous/new-api/pull/4929","https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-60261","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 17, 2026, 4:06:38 PM","dateUpdated":"Aug 17, 2026, 10:01:49 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-60261","identifiers":["EUVD-2026-60261","CVE-2026-64866","GHSA-p845-629j-rcj6"]},"retained":false,"historicalAffected":[]},{"revision":"5ad0da8d2b2246319a64283c820036e6","observedAt":"2026-10-25T15:18:45.851+00:00","statement":{"source":"nvd","id":"CVE-2026-64866","aliases":[],"title":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. From 0.9.1.3 until 1.0.0-rc.7, AdminResetPasskey in controller/passkey.go lacks the canManageTargetRole authorization check for DELETE …","description":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. From 0.9.1.3 until 1.0.0-rc.7, AdminResetPasskey in controller/passkey.go lacks the canManageTargetRole authorization check for DELETE /api/user/:id/reset_passkey, allowing a lower-privileged administrator to remove a passkey from a same-level or higher-privileged account, including a root account. This issue is fixed in version 1.0.0-rc.7.","state":0,"publishedAt":"2026-08-17T16:17:22.57+00:00","modifiedAt":"2026-09-18T20:09:01.757+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":5.1,"severity":"MEDIUM"}],"references":["https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","https://github.com/QuantumNous/new-api/pull/4929","https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7","https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-64866","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-862"],"productCriteria":[],"sourceDates":{"published":"2026-08-17T16:17:22.570","lastModified":"2026-09-18T20:09:01.757"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-64866","identifiers":["CVE-2026-64866"]},"retained":false,"historicalAffected":[]},{"revision":"3e202102aeae4f5bb53707f067a72fea","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-p845-629j-rcj6","aliases":["CVE-2026-64866","GO-2026-6244"],"title":"New API: Admin can reset passkeys for same-level or higher-privileged users","description":"## Summary\n\nThe admin passkey reset endpoint lacked the role-level authorization check used by comparable privileged account-protection endpoints. A lower-privileged administrator could attempt passkey reset operations against same-level or higher-privileged users, including root-level accounts.\n\n## Impact\n\nIf the target account had a passkey configured, a lower-privileged administrator could remove that authentication factor and weaken the target account's protection boundary. The attacker still needed administrator privileges, so the issue is rated Medium.\n\n## Affected versions\n\nThe vulnerable admin passkey reset behavior was present from the passkey feature introduction in `v0.9.1.3` through versions before `v1.0.0-rc.7`.\n\n## Patches\n\nThis issue is fixed in `v1.0.0-rc.7`. The fix adds a `canManageTargetRole` check to `AdminResetPasskey` before passkey lookup or deletion, preventing lower-privileged administrators from operating on same-level or higher-privileged users.\n\n## Workarounds\n\nIf upgrading immediately is not possible, restrict admin access to trusted operators only and block `DELETE /api/user/:id/reset_passkey` at the reverse proxy or gateway except for root operators.\n\n## References\n\n- Fixed by commit `0936e2504655a5cbf7bc3c388f6d3e2bb24916d3`.\n- Relevant code paths: `controller/passkey.go`, `controller/twofa.go`, and `router/api-router.go`.","state":0,"publishedAt":"2026-08-17T16:36:05+00:00","modifiedAt":"2026-08-18T15:11:02.3048332+00:00","affected":[{"ecosystem":"Go","name":"github.com/QuantumNous/new-api","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0.9.1.3"},{"kind":"fixed","version":"1.0.0-rc.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6","https://github.com/QuantumNous/new-api/pull/4929","https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","https://github.com/QuantumNous/new-api","https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7"],"sourceUrl":"https://github.com/advisories/GHSA-p845-629j-rcj6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-p845-629j-rcj6","identifiers":["GHSA-p845-629j-rcj6","CVE-2026-64866","GO-2026-6244"]},"retained":false,"historicalAffected":[]},{"revision":"127456a215984305859d99dfda431ec1","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6244","aliases":["CVE-2026-64866","GHSA-p845-629j-rcj6"],"title":"New API: Admin can reset passkeys for same-level or higher-privileged users in github.com/QuantumNous/new-api","description":"New API: Admin can reset passkeys for same-level or higher-privileged users in github.com/QuantumNous/new-api.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: .","state":0,"publishedAt":"2026-08-18T14:32:29+00:00","modifiedAt":"2026-08-18T15:00:25.9629412+00:00","affected":[{"ecosystem":"Go","name":"github.com/QuantumNous/new-api","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.0-rc.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6","https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","https://github.com/QuantumNous/new-api/pull/4929","https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6244","license":"OSV · upstream source license applies","key":"osv:GO-2026-6244","identifiers":["GO-2026-6244","CVE-2026-64866","GHSA-p845-629j-rcj6"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T04:18:36.4231440+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T04:18:36.423144+00:00","lastSuccessAt":"2026-11-13T04:18:36.6499472+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.6499505+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-eec2a7b6fa103d7adf500db624fb62eee17c31f1d368f8ffbfab89234260d0bb","complete":true,"records":424956,"lastAttemptAt":"2026-11-13T04:16:36.7627787+00:00","lastSuccessAt":"2026-11-13T04:16:36.734253+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:16:36.7627787+00:00","snapshotPublishedAt":"2026-11-13T03:23:36+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e04a199e7d564def944246e638d9fcaf","complete":false,"records":13793,"lastAttemptAt":"2026-11-13T04:28:27.2271603+00:00","lastSuccessAt":"2026-11-13T04:28:27.21+00:00","error":"466 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T04:28:27.21+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13347,"expectedIdentifiers":13846,"failedIdentifiers":466},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T04:18:36.4231440+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T04:18:36.423144+00:00","lastSuccessAt":"2026-11-13T04:18:36.6506845+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.6506847+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-77eeb9ad53d240dc91f8e3d507ac52a2","complete":true,"records":13781,"lastAttemptAt":"2026-11-13T04:18:42.8820004+00:00","lastSuccessAt":"2026-11-13T04:18:42.877+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:42.877+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13846,"expectedIdentifiers":13846,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T04:18:36.3735153+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.3735153+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T04:16:36.9142039+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:16:36.9142039+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-20d1a8ab073a1c13ab2143dbcadb34ebb8edf1e18e16482b448513662c3d1e12","complete":true,"records":3127,"lastAttemptAt":"2026-11-13T04:18:36.3861738+00:00","lastSuccessAt":"2026-11-12T22:18:31.0338213+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.3861738+00:00","snapshotPublishedAt":"2026-11-12T22:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f70b10812c5ddf50a1d5d3981278bc04de2258aeffba4d04b8366dfdb415cc24","complete":true,"records":231754,"lastAttemptAt":"2026-11-13T04:18:36.2431554+00:00","lastSuccessAt":"2026-11-13T04:18:34.7446316+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.2431554+00:00","snapshotPublishedAt":"2026-11-13T03:47:53+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}