Skip to main content

SimpleSAMLphp CAS module CVE-2026-46491

HIGH
Path Traversal (CWE-22)
2026-05-15 https://github.com/simplesamlphp/simplesamlphp-module-casserver GHSA-jrrg-99xh-5j2q
8.6
CVSS 3.1 · Vendor: https://github.com/simplesamlphp/simplesamlphp-module-casserver
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request to CAS endpoint
  2. Delivery
    Include ../../../target in ticket parameter
  3. Exploit
    FileSystemTicketStore reads target file
  4. Execution
    PHP unserializes file content
  5. Persist
    CAS 1.0 flow deletes file
  6. Impact
    Data 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

composer simplesamlphp/simplesamlphp-module-casserver fix: 7.0.3

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

Vendor (https://github.com/simplesamlphp/simplesamlphp-module-casserver) PRIMARY 8.6 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

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 casserver module 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 ?array return type, such as an array or null. Full CAS semantic validation is not required for deletion in CAS 1.0 because deleteTicket($ticket) is called immediately after getTicket($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 ?array return 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 70% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

pkg:composer/simplesamlphp_simplesamlphp-module-casserver

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy