Categories
CVE-2026-46491 high CVSS 8.6

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.

❓ What is the problem

Path traversal (CWE-22) exists in simplesamlphp/simplesamlphp-module-casserver. Attackers reach the vulnerable code path via ticket without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of simplesamlphp/simplesamlphp-module-casserver. Attack surface: ticket / pgt / FileSystemTicketStore / casserver.

🔥 Severity

Severity: High (CVSS 8.6/10). Data can be tampered with by attackers.

🔧 How to fix

Update to 7.0.3.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

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

  1. 1
    Identify 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 し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade simplesamlphp/simplesamlphp-module-casserver to 7.0.3

    ステージング環境で 7.0.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

composer simplesamlphp/simplesamlphp-module-casserver
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.3"}]}]
Packagist simplesamlphp/simplesamlphp-module-casserver
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.3"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details