A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-65954

CVE-2025-65954: SimpleSAMLphp-casserver CSRF Vulnerability

CVE-2025-65954 is a CSRF flaw in SimpleSAMLphp-casserver affecting the logout endpoint's URL parameter handling. Attackers can exploit trusted URL redirection to perform malicious actions. This article covers technical details, affected versions, impact, and mitigation steps.

Published: May 21, 2026

CVE-2025-65954 Overview

CVE-2025-65954 is an open redirect vulnerability in SimpleSAMLphp-casserver, a Central Authentication Service (CAS) 1.0 and 2.0 compliant module for SimpleSAMLphp. The flaw resides in the logout endpoint, which accepts a url query parameter and treats the supplied value as trusted. Depending on configuration, the server either redirects the browser to the attacker-supplied URL or displays a logout page with a link to that URL. The issue affects versions below 6.3.1 and the 7.0.x branch prior to 7.0.0. Configurations using 'enable_logout' => true and 'skip_logout_page' => true are impacted. The vulnerability is tracked under CWE-601: URL Redirection to Untrusted Site.

Critical Impact

Attackers can craft logout URLs that redirect authenticated users to attacker-controlled domains, enabling credential phishing campaigns that abuse the trust of the CAS server's domain.

Affected Products

  • SimpleSAMLphp-casserver versions below 6.3.1
  • SimpleSAMLphp-casserver versions below 7.0.0
  • Deployments with enable_logout and skip_logout_page set to true

Discovery Timeline

  • 2026-05-18 - CVE-2025-65954 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2025-65954

Vulnerability Analysis

The SimpleSAMLphp-casserver module implements a CAS-compliant single sign-on server. The CAS protocol logout endpoint supports a url parameter that indicates where the user should be sent after the session is terminated. In affected versions, casserver does not validate this parameter against an allowlist of permitted destinations.

When skip_logout_page is enabled, casserver issues an HTTP redirect directly to the supplied URL. When the logout page is rendered, the URL becomes a clickable link presented to the user. In both cases, the attacker controls the destination while the request originates from the trusted CAS domain.

Open redirect flaws in authentication infrastructure are particularly effective for phishing. Users who recognize the legitimate single sign-on host are more likely to follow links that appear to originate from it. The CWE-601 classification reflects this trust-abuse pattern.

Root Cause

The root cause is missing validation of the url query parameter passed to the logout endpoint. The handler treats any supplied URL as trusted and forwards the browser without checking it against configured service registries or domain allowlists.

Attack Vector

An attacker crafts a logout URL on the legitimate casserver host with a url parameter pointing to an attacker-controlled domain. The attacker delivers this link through email, chat, or a malicious page. When a victim clicks the link, casserver terminates the session and either redirects to the attacker site or renders a logout page linking to it. The attacker site can mimic the organization's login portal to harvest credentials.

The vulnerability requires user interaction but no authentication. Exploitation occurs over the network. See the GitHub Security Advisory GHSA-cvrm-5hp6-h523 for additional technical detail.

Detection Methods for CVE-2025-65954

Indicators of Compromise

  • Logout endpoint requests containing a url parameter pointing to external or unexpected domains
  • Spikes in traffic to /module.php/casserver/cas/logout with varied url parameter values
  • Referrer logs showing outbound redirects from the CAS server to domains outside the organization's registered services

Detection Strategies

  • Parse web server access logs for logout endpoint requests and extract the url query parameter for review against an allowlist of approved post-logout destinations
  • Deploy a Web Application Firewall (WAF) rule that inspects logout requests and flags off-domain redirect targets
  • Correlate logout redirects with downstream phishing reports from users to identify active campaigns

Monitoring Recommendations

  • Enable verbose logging on the casserver logout handler and forward logs to a centralized SIEM for query and alerting
  • Alert when the url parameter resolves to a domain not present in the CAS service registry
  • Monitor for repeated logout requests originating from the same source IP with varying redirect targets, which suggests reconnaissance or weaponization

How to Mitigate CVE-2025-65954

Immediate Actions Required

  • Upgrade SimpleSAMLphp-casserver to version 6.3.1 or 7.0.0 as published by the maintainers
  • Audit casserver configuration files for enable_logout and skip_logout_page settings and identify affected deployments
  • Notify users to be cautious of logout links received via email or chat until patching is complete

Patch Information

The maintainers resolved the issue in versions 6.3.1 and 7.0.0. Review the upstream fixes in the first commit and the second commit. The patches add validation of the redirect target against the configured service registry before issuing the redirect or rendering the logout link.

Workarounds

  • Set skip_logout_page to false so users see an interstitial page rather than an automatic redirect, reducing phishing effectiveness
  • Disable the logout endpoint by setting enable_logout to false if logout functionality is not required by relying parties
  • Place a reverse proxy or WAF in front of the casserver that strips or validates the url parameter on logout requests against an allowlist
bash
# Composer upgrade to patched version
composer require simplesamlphp/simplesamlphp-module-casserver:^6.3.1
# or for the 7.x branch
composer require simplesamlphp/simplesamlphp-module-casserver:^7.0.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechSimplesamlphp

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-52596: SimpleSAMLphp xml-common XXE Vulnerability

  • CVE-2026-32600: Simplesamlphp Xml-security XXE Vulnerability

  • CVE-2025-27773: SimpleSAMLphp Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English