CVE-2026-46491
HighCVSS 8.6Exploitation Probability (EPSS)
Low risk30th percentile - higher than 30% of all known CVEs
Summary
In versions prior to 7.0.3, the simplesamlphp-module-casserver allows attackers to exploit path traversal sequences to read and unserialize files outside the ticket directory. The attacker can also delete files that are readable and deletable by the PHP process.
Risk Assessment
Organizations may be exposed to unauthorized access to sensitive data and the potential for file deletion, which can lead to data loss and compromise of system integrity.
Recommendation
It is recommended to upgrade to version 7.0.3 or later to mitigate this vulnerability and review the system configuration to secure against potential attacks.
Original NVD description (English source)
SimpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a SimpleSAMLphp module. Prior to version 7.0.3, 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. This issue has been patched in version 7.0.3.

