Skip to content

安全 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

安全 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
注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

1 participant