Skip to content

Security fix: open redirect vulnerability in case of 'unknown client_id' - #64

Open
seb-men wants to merge 2 commits into
IdentityPython:masterfrom
seb-men:fix-open-redirect
Open

Security fix: open redirect vulnerability in case of 'unknown client_id' #64
seb-men wants to merge 2 commits into
IdentityPython:masterfrom
seb-men:fix-open-redirect

Conversation

@seb-men

@seb-men seb-men commented Jan 30, 2026

Copy link
Copy Markdown

As outlined in IdentityPython/SATOSA#498 , SATOSA returns a redirect to an unvalidated redirect_uri if the client is unknown, which is an "open redirect" vulnerability. The root cause is obviously in pyop, because it raises an InvalidAuthenticationRequest with a non-empty error_url if the client is unknown.

I have added a specific exception UnknownClientId which returns no error_url, just as the InvalidRedirectURI exception does.

Sebastian Mennicke and others added 2 commits January 30, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant