CVE-2026-46491
SimpleSAMLphp casserver FileSystemTicketStore path traversal allows out-of-ticket-directory read/unserialize and conditional deletion
Description
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.
INFO
Published Date :
June 10, 2026, 12:16 a.m.
Last Modified :
July 23, 2026, 9:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-46491
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Update SimpleSAMLphp-casserver to version 7.0.3.
- Ensure ticket directory is properly secured.
- Review file deletion logic for tickets.
Public PoC/Exploit Available at Github
CVE-2026-46491 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-46491.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-46491 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-46491
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-46491 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-46491 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 23, 2026
Action Type Old Value New Value Added Translation Title: SimpleSAMLphp casserver de simplesamlphp, Description: SimpleSAMLphp-casserver es un servidor CAS compatible con CAS 1.0 y 2.0 en forma de módulo SimpleSAMLphp. Antes de la versión 7.0.3, simplesamlphp-module-casserver construye rutas de archivo para el almacén de tickets CAS basado en archivos concatenando directamente el directorio de tickets configurado con un identificador de ticket controlado por el atacante. Los puntos finales públicos de validación/proxy de CAS pasan parámetros de consulta de ticket / pgt controlados por el atacante a este almacén. En implementaciones que utilizan FileSystemTicketStore, un atacante remoto puede usar secuencias de salto de ruta como ../target.serialized para hacer que el servidor CAS lea y deserialice archivos fuera del directorio de tickets. En el flujo de validación de CAS 1.0, la misma ruta seleccionada por el atacante también se pasa a deleteTicket() inmediatamente después de que getTicket() retorna, lo que puede eliminar el archivo objetivo cuando es legible por el proceso PHP, eliminable bajo los permisos del sistema de archivos del proceso PHP, y se deserializa a un valor compatible con el tipo de retorno ?array. Este problema ha sido parcheado en la versión 7.0.3. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'simplesamlphp', 'product': 'simplesamlphp-module-casserver', 'versions': [{'status': 'affected', 'version': '< 7.0.3'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-46491', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-10T18:11:18.465035Z'} -
New CVE Received by [email protected]
Jun. 10, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L Added CWE CWE-22 Added Reference https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/b84f3e4ed57c4d97e0dc73df102e7eff831a681f Added Reference https://github.com/simplesamlphp/simplesamlphp-module-casserver/releases/tag/v7.0.3 Added Reference https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-jrrg-99xh-5j2q