SimpleSAMLphp CAS module CVE-2026-46491
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to CAS endpoint
-
DeliveryInclude ../../../target in ticket parameter
-
ExploitFileSystemTicketStore reads target file
-
ExecutionPHP unserializes file content
-
PersistCAS 1.0 flow deletes file
-
ImpactData exposure or file deletion achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires FileSystemTicketStore to be configured as the CAS ticket storage backend in SimpleSAMLphp. The casserver module must be enabled with public CAS validation/proxy endpoints accessible. For file deletion, target files must be readable and deletable by the PHP process and contain serialized PHP data that unserializes to an array-compatible type (array or null). The attacker needs no authentication or special privileges beyond network access to the CAS endpoints. |
| Impact | The CVSS 8.6 score reflects genuine high risk: network-accessible (AV:N), low complexity (AC:L), no authentication required (PR:N), and no user interaction (UI:N). The combination of arbitrary file read with PHP deserialization creates dangerous attack primitives, though the vendor notes no complete RCE chain is demonstrated. The deletion capability is conditional on file permissions and content, limiting mass destruction scenarios. No EPSS score or KEV listing provided, and no public exploit identified at time of analysis, suggesting this may be a newly disclosed issue without widespread exploitation yet. The specific preconditions (FileSystemTicketStore usage) may limit the vulnerable population. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to a public CAS validation endpoint with a ticket parameter containing path traversal sequences like 'ticket=../../../../var/cache/simplesaml/session.serialized'. The vulnerable FileSystemTicketStore concatenates this with the ticket directory path and attempts to read and unserialize the target file, potentially exposing sensitive data or triggering deletion if the file content is compatible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 15, 2026
Path traversal in SimpleSAMLphp's CAS server module allows unauthenticated remote attackers to read and deserialize arbitrary files outside the ticket directory via crafted ticket parameters. When using FileSystemTicketStore, attackers can inject '../' sequences into CAS validation endpoints to escape the configured directory, potentially deleting files that contain serialized PHP data compatible with array types. The vulnerability has a CVSS score of 8.6 with no public exploits identified at time of analysis.
RemediationAI
Vendor-released patch: Upgrade to simplesamlphp-module-casserver version 7.0.3 or later. For deployments unable to upgrade immediately, consider switching from FileSystemTicketStore to an alternative ticket store implementation if available, though this requires configuration changes and testing. As a temporary mitigation, restrict network access to CAS validation endpoints to trusted sources only, understanding this may break legitimate CAS client integrations. Monitor filesystem access logs for suspicious '../' sequences in paths related to the CAS ticket directory.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects the simplesamlphp-module-casserver component, specifically the FileSystemTicketStore implementation used for CAS (Central Authentication Service) ticket management. The CWE-22 path traversal occurs because the module directly concatenates user-controlled ticket identifiers from query parameters with the configured ticket directory path without proper sanitization. The CAS 1.0 validation flow compounds the issue by calling deleteTicket() immediately after getTicket(), creating a deletion primitive when target files contain PHP serialized data that unserializes to array-compatible values.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Primary rating from Vendor (https://github.com/simplesamlphp/simplesamlphp-module-casserver) · only source for this CVE.
CVSS VectorVendor: https://github.com/simplesamlphp/simplesamlphp-module-casserver
DescriptionCVE.org
Summary
simplesamlphp-module-casserver builds file paths for the file-based CAS ticket store by directly concatenating the configured ticket directory with an attacker-controlled ticket identifier. Public CAS validation/proxy endpoints pass attacker-controlled ticket / pgt query parameters into this store.
In deployments using FileSystemTicketStore, a remote attacker can use path traversal sequences such as ../target.serialized to make the CAS server read and unserialize files outside the ticket directory. In the CAS 1.0 validation flow, the same attacker-selected path is also passed to deleteTicket() immediately after getTicket() returns, which can delete the target file when it is readable by the PHP process, deletable under the PHP process filesystem permissions, and unserializes to a value compatible with the ?array return type.
Preconditions
The demonstrated issue requires:
- the
casservermodule to be enabled; - the file-based ticket store to be configured (
FileSystemTicketStore); - public CAS validation/proxy endpoints to be reachable;
- the PHP process to have filesystem permissions for the target path.
- for the demonstrated CAS 1.0 deletion impact,
getTicket()must return without throwing; practically, the target file must contain serialized PHP data that unserializes to a value compatible with the?arrayreturn type, such as an array or null. Full CAS semantic validation is not required for deletion in CAS 1.0 becausedeleteTicket($ticket)is called immediately aftergetTicket($ticket).
The attacker does not need administrator access to SimpleSAMLphp.
Impact
Affected deployments can allow remote attackers to escape the configured CAS ticket directory through public ticket validation inputs.
Confirmed impact:
- read and unserialize files outside the ticket cache when the file content is valid serialized PHP data;
- delete attacker-selected files outside the ticket cache through the CAS 1.0 validation flow when the target is readable by the PHP process, deletable under the PHP process filesystem permissions, and the target content unserializes to a value compatible with the
?arrayreturn type, such as a serialized array or serialized null. Full CAS semantic validation is not required before deletion in the CAS 1.0 flow.
The file deletion impact depends on filesystem permissions of the PHP process. In realistic deployments, this can destroy CAS tickets, serialized SimpleSAMLphp runtime/cache files, or other writable files whose contents can be unserialized into a value accepted by the ?array return type. It may also delete attacker-created files outside the ticket directory if the attacker has another primitive to place such serialized content.
The unserialize() call creates a dangerous secondary primitive if an attacker can place a serialized object file at a reachable path, although this report does not claim a complete object-injection or RCE chain.
Executive ViewAI
SimpleSAMLphp CAS server module (CVE-2026-46491) contains a path traversal vulnerability allowing unauthenticated attackers to read and delete arbitrary files on affected systems via manipulated ticket parameters. Organizations using FileSystemTicketStore are exposed to unauthorized file access and potential data loss affecting authentication infrastructure and any serialized data stored on the same filesystem.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to CAS validation endpoints via firewall or reverse proxy to authorized hosts only; (2) deploy WAF/IDS rules to block path traversal patterns ('../') in ticket parameters; (3) implement file integrity monitoring on ticket directory and parent directories; (4) consider disabling CAS module if not actively required; (5) monitor system logs for suspicious file access patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-jrrg-99xh-5j2q
NVD
CVE.org
EPSS
Exploit-DB