CVE-2026-72799: Golang Jwt Static Subject Claim

A static or hardcoded string literal is used for the JWT 'sub' (subject) claim. The 'sub' claim in a JWT must uniquely identify the principal or user account to prevent token identity collision and authorization bypass.

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-72799-golang-jwt-static-subject-claim --engine opengrep

Description

A static or hardcoded string literal is used for the JWT 'sub' (subject) claim. The 'sub' claim in a JWT must uniquely identify the principal or user account to prevent token identity collision and authorization bypass.