CVE-2025-65954: SimpleSAMLphp-casserver has an Open Redirect vulnerability via logout

Published May 15, 2026
·
Updated

Summary

The logout endpoint accepts a url query parameter to redirect to. casserver treats that url as trusted, and either (depending on configuration) redirects the browser there, or shows a "you've been logged out" page with a link to continue to that url.

There are a number of other things broken with logout in 7 (cas v3 uses a different query parameters, etc)

Details

https://github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php#L104

Previous module checked the url against the valid service urls.

PoC

The docker instructions from the README.md run an image with a vulnerable config.

Accessing https://localhost/cas/logout?url=https://google.com will redirect to Google

Impact

Impacted configs have

php 'enablelogout' => true,

and are most impacted if they also have

'skiplogoutpage' -> true,

Other sources

SimpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a SimpleSAMLphp module. In versions below 6.3.1 and 7.0.0, the logout endpoint accepts a url query parameter to redirect to. casserver treats that url as trusted, and either (depending on configuration) redirects the browser there, or shows a "you've been logged out" page with a link to continue to that url. Impacted configs include 'enablelogout' => true, and 'skiplogoutpage' -> true. This issue has been resolved in versions 6.3.1 and 7.0.0.

MITRE

Affected Software

5 affected componentsFixes available
composer/simplesamlphp/simplesamlphp-module-casserver<6.3.1
6.3.1
composer/simplesamlphp/simplesamlphp-module-casserver>=7.0.0-rc1<7.0.0-rc3
7.0.0
SimpleSAMLphp simplesamlphp-module-casserver<6.3.1
SimpleSAMLphp simplesamlphp-module-casserver=7.0.0-rc1
SimpleSAMLphp simplesamlphp-module-casserver=7.0.0-rc2

Event History

May 15, 2026
Advisory Published
via GitHub·04:21 PM
Data Sourced
via GitHub·04:21 PM
DescriptionSeverityWeaknessAffected Software
May 18, 2026
CVE Published
via MITRE·07:57 PM
Data Sourced
via MITRE·07:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-65954?

CVE-2025-65954 has been classified with a high severity due to its potential for open redirection attacks.

2

How do I fix CVE-2025-65954?

To fix CVE-2025-65954, upgrade to versions 6.3.1 or 7.0.0 of the simplesamlphp-module-casserver package.

3

What impact does CVE-2025-65954 have on user security?

CVE-2025-65954 can allow attackers to redirect users to malicious sites post-logout, posing a risk of phishing and data theft.

4

Can CVE-2025-65954 be exploited remotely?

Yes, CVE-2025-65954 can be exploited remotely by tricking users into clicking on crafted logout links.

5

Is user authentication affected by CVE-2025-65954?

User authentication remains intact, but the vulnerability may compromise the safety of the user's session during the logout process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203