/

CVE-2026-59164

Severity:

HIGH RISK

(7.1)

Missing Authorization (CWE-862) in NORA Registry UI

CVE-2026-59164

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Cross-user token disclosure and unauthorized credential revocation

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

NORA's token-management UI authenticates users but does not consistently verify administrator authorization before exposing or changing token records. A read-capable bearer token may reveal token metadata for other users, while a write-capable identity may revoke arbitrary tokens, including administrator and service credentials.

NORA's token-management UI authenticates users but does not consistently verify administrator authorization before exposing or changing token records. A read-capable bearer token may reveal token metadata for other users, while a write-capable identity may revoke arbitrary tokens, including administrator and service credentials.

Affected context

The issue occurs in NORA deployments where the token-management endpoints are enabled and authorization checks distinguish authentication from administrative privileges. The affected page and API can list token records across users, while revocation requests rely on write permission without requiring administrator rights or verifying token ownership. Read-only identities are not expected to have permission to submit revocation requests.

The issue occurs in NORA deployments where the token-management endpoints are enabled and authorization checks distinguish authentication from administrative privileges. The affected page and API can list token records across users, while revocation requests rely on write permission without requiring administrator rights or verifying token ownership. Read-only identities are not expected to have permission to submit revocation requests.

Exploit preconditions

  • Attack surface: NORA's token-management UI and corresponding API endpoints
  • Required access: A valid bearer token or authenticated OIDC identity with the relevant read or write capability
  • Trigger point: Listing token records or submitting a token-revocation request
  • Why exploitation is possible: Authentication is enforced, but authorization checks use write capability rather than administrator authorization, and token ownership is not validated
  • Attack surface: NORA's token-management UI and corresponding API endpoints
  • Required access: A valid bearer token or authenticated OIDC identity with the relevant read or write capability
  • Trigger point: Listing token records or submitting a token-revocation request
  • Why exploitation is possible: Authentication is enforced, but authorization checks use write capability rather than administrator authorization, and token ownership is not validated

Why this happens

The underlying flaw is a missing authorization decision at sensitive application boundaries. Although authentication middleware establishes the caller's identity, token listing and revocation do not consistently enforce the required administrator role or ownership relationship. This maps to CWE-862, Missing Authorization, because authenticated principals can reach operations whose permission checks are weaker than the sensitivity of the requested action.

The underlying flaw is a missing authorization decision at sensitive application boundaries. Although authentication middleware establishes the caller's identity, token listing and revocation do not consistently enforce the required administrator role or ownership relationship. This maps to CWE-862, Missing Authorization, because authenticated principals can reach operations whose permission checks are weaker than the sensitivity of the requested action.

Potential impact

  • A read-capable user may discover the existence and metadata of other users' tokens
  • An attacker may learn token owners, roles, descriptions, expiry times, and last-use information
  • A write-capable identity may revoke administrator or service tokens
  • Registry operations may be disrupted through unauthorized credential invalidation
  • Administrators and services may require credential recovery or reauthentication
  • A read-capable user may discover the existence and metadata of other users' tokens
  • An attacker may learn token owners, roles, descriptions, expiry times, and last-use information
  • A write-capable identity may revoke administrator or service tokens
  • Registry operations may be disrupted through unauthorized credential invalidation
  • Administrators and services may require credential recovery or reauthentication

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every sensitive

endpoint and applying the least privilege required for each token operation.

Common defensive patterns include:

  • Require explicit administrator authorization for cross-user token listing and revocation
  • Permit self-service operations only after verifying ownership of the target token
  • Separate read, create, update, and revoke permissions rather than treating write access as sufficient
  • Avoid exposing token metadata beyond what the requesting principal needs
  • Apply centralized, fail-closed authorization policies consistently to UI and API routes
  • Use short-lived credentials and narrowly scoped service identities where practical
  • Record and review token-listing and revocation events for anomalous activity

Mitigation generally focuses on enforcing authorization at every sensitive

endpoint and applying the least privilege required for each token operation.

Common defensive patterns include:

  • Require explicit administrator authorization for cross-user token listing and revocation
  • Permit self-service operations only after verifying ownership of the target token
  • Separate read, create, update, and revoke permissions rather than treating write access as sufficient
  • Avoid exposing token metadata beyond what the requesting principal needs
  • Apply centralized, fail-closed authorization policies consistently to UI and API routes
  • Use short-lived credentials and narrowly scoped service identities where practical
  • Record and review token-listing and revocation events for anomalous activity

How teams detect issues like this

Organizations can assess this class of issue through:

  • Static analysis and code review rules that flag sensitive handlers guarded only by generic write permissions
  • Tests that exercise authenticated users with different roles against every token-management operation
  • Authorization-matrix testing to confirm cross-user access is denied by default
  • Review of service methods for missing ownership checks before object retrieval, update, or deletion
  • Runtime policy enforcement and audit monitoring for bulk token enumeration or unexpected revocations
  • Automated security testing that compares endpoint behavior across read-only, write-capable, and administrator identities

Organizations can assess this class of issue through:

  • Static analysis and code review rules that flag sensitive handlers guarded only by generic write permissions
  • Tests that exercise authenticated users with different roles against every token-management operation
  • Authorization-matrix testing to confirm cross-user access is denied by default
  • Review of service methods for missing ownership checks before object retrieval, update, or deletion
  • Runtime policy enforcement and audit monitoring for bulk token enumeration or unexpected revocations
  • Automated security testing that compares endpoint behavior across read-only, write-capable, and administrator identities

Sources

SourceLink
github.comgithub.com/getnora-io/nora/commit/dc9e943b208095ec1e8cc2cf7b5108fdb55cab9c
github.comgithub.com/getnora-io/nora/pull/747
github.comgithub.com/getnora-io/nora/releases/tag/v0.9.5
github.comgithub.com/getnora-io/nora/security/advisories/GHSA-78cx-cfhm-rgmx

Frequently asked

questions

It may be exploitable through the NORA token-management UI or API by any

authenticated identity that can reach those endpoints and has the relevant

token capability.

A valid read-capable bearer token may be sufficient to enumerate token

metadata. Revocation additionally requires write capability or a

write-capable OIDC identity; read-only identities cannot submit the

revocation operation.

Enforce administrator authorization for cross-user token operations and

require ownership checks for self-service actions. Apply the same policy

consistently to both UI and API routes.

Maintain an explicit authorization matrix, test every sensitive operation

with multiple roles, use centralized fail-closed policy enforcement, and

monitor token access and revocation activity.

It may be exploitable through the NORA token-management UI or API by any

authenticated identity that can reach those endpoints and has the relevant

token capability.

A valid read-capable bearer token may be sufficient to enumerate token

metadata. Revocation additionally requires write capability or a

write-capable OIDC identity; read-only identities cannot submit the

revocation operation.

Enforce administrator authorization for cross-user token operations and

require ownership checks for self-service actions. Apply the same policy

consistently to both UI and API routes.

Maintain an explicit authorization matrix, test every sensitive operation

with multiple roles, use centralized fail-closed policy enforcement, and

monitor token access and revocation activity.

Find out what's already
exploitable in your codebase.