CVE-2026-7573: Cve 2026 7573 User Context Identity Discarded No Authz

Both meaningful return values from GetUserFromContext (user record and org config) are discarded via blank identifiers. Without capturing the calling principal, no object-level authorization check is possible before using caller-supplied request parameters to access protected resources, enabling IDOR (CWE-639). Capture the user record, extract the principal,

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-7573-cve-2026-7573-user-context-identity-discarded-no-authz --engine opengrep

Description

Both meaningful return values from GetUserFromContext (user record and org config) are discarded via blank identifiers. Without capturing the calling principal, no object-level authorization check is possible before using caller-supplied request parameters to access protected resources, enabling IDOR (CWE-639). Capture the user record, extract the principal,