CVE-2025-64748: Directus Missing Oauth Scope Validation

A request handler verifies user, role, or admin accountability but fails to enforce OAuth-specific restrictions (e.g., token scope, audience, or transport). If OAuth tokens are accepted by the system, attackers can supply a valid OAuth token intended for other purposes to access this endpoint. Enforce OAuth restrictions by verifying properties under `req.acc

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2025-64748-directus-missing-oauth-scope-validation --engine opengrep

Description

A request handler verifies user, role, or admin accountability but fails to enforce OAuth-specific restrictions (e.g., token scope, audience, or transport). If OAuth tokens are accepted by the system, attackers can supply a valid OAuth token intended for other purposes to access this endpoint. Enforce OAuth restrictions by verifying properties under `req.acc