JWT audience validation disabled — cross-app token reuse #57

Open
opened 2026-03-30 13:28:52 +00:00 by sharang · 0 comments
Owner

auth_middleware.rs sets validate_aud = false. Any valid JWT from the same Keycloak realm (even for other apps) gains full API access. Fix: Enable audience validation with the expected compliance-agent client ID.

auth_middleware.rs sets validate_aud = false. Any valid JWT from the same Keycloak realm (even for other apps) gains full API access. Fix: Enable audience validation with the expected compliance-agent client ID.
sharang added the securityv0.3.0critical labels 2026-03-30 13:28:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sharang/compliance-scanner-agent#57