Skip to content

fix(oidc): require an audience and check azp for the OIDC grant - #15

Merged
sujal-maheshwari2004 merged 1 commit into
mainfrom
fix/require-oidc-audience
Nov 15, 2026
Merged

sujal-maheshwari2004 merged 1 commit into
mainfrom
fix/require-oidc-audience

Conversation

@sujal-maheshwari2004

Copy link
Copy Markdown
Member

Security fix for GHSA-f7hj-cchc-98q8; the advisory is published with the release that contains it. Tested in the advisory's private fork and on current main (go vet, go test).

-oidc-audience defaulted to empty and the aud check was skipped when empty,
so with the default config an ID token the tenant's IdP issued to any other
application (carrying a groups claim) could be exchanged for a Priompt JWT.

serve now refuses -oidc-issuer without -oidc-audience, newIDP rejects an
empty audience, aud is always checked, and azp (when present) must equal the
audience. README updated.
@sujal-maheshwari2004
sujal-maheshwari2004 merged commit 10c7ac3 into main Nov 15, 2026
1 check passed
@sujal-maheshwari2004
sujal-maheshwari2004 deleted the fix/require-oidc-audience branch November 15, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant