{"id":"CVE-2026-59164","summary":"NORA missing cross-user token-management authorization","details":"NORA is a self-hosted artifact registry and pull-through cache. Prior to 0.9.5, `nora-registry` authenticates the token-management UI but fails to require administrator authorization. `auth_middleware()` protects `/ui/tokens` and `/api/ui/tokens`, but state-changing requests are checked only with `role.can_write()`, not `role.can_admin()`. `tokens_page()` and `tokens_list()` call `store.list_all_tokens()`, exposing IDs and metadata across all users, while `tokens_revoke()` calls `store.revoke_token` using the supplied token ID without an ownership or admin check. A read bearer token can enumerate other users' token existence, owner, role, description, expiry and last-use metadata. A write bearer token or write-capable OIDC identity can additionally revoke arbitrary admin and service tokens, disrupting the registry and forcing credential recovery. Read-only identities cannot POST a revocation. This issue is fixed in version 0.9.5.","aliases":["GHSA-78cx-cfhm-rgmx"],"modified":"2026-11-05T21:16:10.362068584Z","published":"2026-10-28T13:05:47.302Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59164.json"},"references":[{"type":"WEB","url":"https://github.com/getnora-io/nora/releases/tag/v0.9.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59164.json"},{"type":"ADVISORY","url":"https://github.com/getnora-io/nora/security/advisories/GHSA-78cx-cfhm-rgmx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59164"},{"type":"FIX","url":"https://github.com/getnora-io/nora/commit/dc9e943b208095ec1e8cc2cf7b5108fdb55cab9c"},{"type":"FIX","url":"https://github.com/getnora-io/nora/pull/747"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getnora-io/nora","events":[{"introduced":"0"},{"fixed":"ec940797eff04180169b0a541008875388e7f7e4"},{"fixed":"dc9e943b208095ec1e8cc2cf7b5108fdb55cab9c"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.9.5"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"dc9e943b208095ec1e8cc2cf7b5108fdb55cab9c"}]},{"source":"REFERENCES_TAG","original_tag":"v0.9.5","range":[{"fixed":"ec940797eff04180169b0a541008875388e7f7e4"}]}]}}],"versions":["v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.2.28","v0.2.27","v0.2.26","v0.2.25","v0.2.24","v0.2.23","v0.2.22","v0.2.21","v0.2.20","v0.2.18","v0.2.15","v0.2.14","v0.2.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59164.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"}]}