CVE-2026-73607: Go Jwt Hardcoded Subject Claim

The JWT 'sub' (subject) claim is assigned a static string literal rather than a dynamic user or entity identifier. This causes all generated tokens to share identical subject identity, leading to broken authentication or authorization controls.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-73607-go-jwt-hardcoded-subject-claim --engine opengrep

Description

The JWT 'sub' (subject) claim is assigned a static string literal rather than a dynamic user or entity identifier. This causes all generated tokens to share identical subject identity, leading to broken authentication or authorization controls.