CVE-2026-59164
JSON

7.1high

NORA missing cross-user token-management authorization

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
getnora-io nora< 0.9.5CVE List

Classification

CWE-862

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

NORA es un registro de artefactos autoalojado y una caché de paso. Versiones anteriores a la 0.9.5, “nora-registry” autentica la interfaz de usuario de gestión de tokens, pero no exige la autorización de administrador. “auth_middleware()” protege “/ui/tokens” y “/api/ui/tokens”, pero las solicitudes que cambian el estado se verifican solo con “role.can_write()”, no con “role.can_admin()”. “tokens_page()” y “tokens_list()” llaman a “store.list_all_tokens()”, exponiendo IDs y metadatos de todos los usuarios, mientras que “tokens_revoke()” llama a “store.revoke_token” utilizando el ID de token proporcionado sin una verificación de propiedad o de administrador. Un token portador de lectura puede enumerar la existencia, el propietario, el rol, la descripción, la caducidad y los metadatos de último uso de los tokens de otros usuarios. Un token portador de escritura o una identidad OIDC con capacidad de escritura puede, además, revocar tokens de administrador y de servicio arbitrarios, interrumpiendo el registro y forzando la recuperación de credenciales. Las identidades de solo lectura no pueden realizar una solicitud POST de revocación. Este problema se solucionó en la versión 0.9.5.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59164 changed 2026-10-29CVE Terms of Use
NVDCVE-2026-59164 changed 2026-11-04Public domain