Path Traversal in simplesamlphp/simplesamlphp-module-casserver (CVE-2026-46491)
Summary
Path traversal in simplesamlphp/simplesamlphp-module-casserver (CVE-2026-46491). Data can be tampered with by attackers. Exploitable via ticket. Mitigation: upgrade to 7.0.3 or later.
Original description
The description as published by the 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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-46491 has been found in simplesamlphp/simplesamlphp-module-casserver.
Attackers can target a specific entry point like ticket over the network to misuse the product.
Data can be tampered with by attackers. CVSS score: 8.6/10.
What to do: upgrade simplesamlphp/simplesamlphp-module-casserver to 7.0.3 or later.
If unsure, ask your IT team or search "simplesamlphp/simplesamlphp-module-casserver CVE-2026-46491" on the vendor's site.
CVE-2026-46491 (simplesamlphp/simplesamlphp-module-casserver) — CWE-22 / CVSS v3 8.6
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: ticket / pgt / FileSystemTicketStore / casserver
Patched: 7.0.3 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in simplesamlphp/simplesamlphp-module-casserver. Attackers reach the vulnerable code path via ticket without authentication.
Check the vendor advisory for the affected versions of simplesamlphp/simplesamlphp-module-casserver. Attack surface: ticket / pgt / FileSystemTicketStore / casserver.
Severity: High (CVSS 8.6/10). Data can be tampered with by attackers.
Update to 7.0.3.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'simplesamlphp/simplesamlphp-module-casserver' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'simplesamlphp/simplesamlphp-module-casserver' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
simplesamlphp/simplesamlphp-module-casserverを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade simplesamlphp/simplesamlphp-module-casserver to 7.0.3ステージング環境で 7.0.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com