nday
CVE-2026-63182 GHSA-w553-pwx6-3mg9

LightSAML: Signature reference wrapping permits unsigned assertion claims

litesaml / lightsaml

Patch on record 17 days after disclosure. Patched: fixed in litesaml/lightsaml 5.0.1 and litesaml/lightsaml 4.7.1. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typecryptographic failure accessnetworkno user interaction ecosystemComposer
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

cryptographic failure
CWE-347, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-w553-pwx6-3mg9
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
Composer
GHSA-w553-pwx6-3mg9: composer packages litesaml/lightsaml
stage
PAT
disclosed
disclosure → patch
T+17d
cvss
8.1 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
10-30T21:46Z
PATpatch
11-16T23:03Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

LightSAML implements SAML 2.0 data model classes, XML serialization and deserialization, XML security, certificate support, and message bindings. Prior to 4.7.1 and 5.0.1, LightSAML and xmlseclibs disagree about which assertion an inbound SAML signature covers. Response::deserialize uses manyElementsFromXml to collect only direct-child saml:Assertion elements of samlp:Response, and AssertionSignatureValidatorAction validates their ds:Signature using an out-of-band trusted IdP credential resolved by Issuer, not a key from the document. XMLSecurityDSig::validateReference() removes the enveloped signature from the shared DOM, but processRefNode() resolves Reference URI="#id" document-wide through an XPath of the form //*[@Id] and takes item(0), which need not be the assertion whose claims LightSAML consumes. An attacker who has captured one genuinely signed assertion, such as an earlier login response, can place its signature-stripped bytes earlier in samlp:Extensions and present a forged direct-child assertion with the same ID and copied genuine signature. Validation then covers the hidden genuine bytes while LightSAML surfaces unsigned attacker-controlled Subject/NameID, Conditions, and Attributes, enabling authentication bypass or privilege escalation even when signature validation is required. The behavior was confirmed in versions 5.0.0 and 4.6.1. This issue is fixed in versions 4.7.1 and 5.0.1.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.1, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 12544,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-63182",
  "occurred_at": "2026-10-30T21:46:38.551Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "version": "3.1",
      "base_score": 8.1,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-06T18:26:30.962748Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-30T21:46:38.551Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed versions litesaml/lightsaml 5.0.1 and litesaml/lightsaml 4.7.1. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-w553-pwx6-3mg9 · nday , observed live · raw
{
  "id": 475795,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-w553-pwx6-3mg9",
  "occurred_at": null,
  "observed_at": "2026-11-16T23:03:12.59201Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-w553-pwx6-3mg9",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 8.1,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Verification of Cryptographic Signature",
        "cwe_id": "CWE-347"
      }
    ],
    "ghsa_id": "GHSA-w553-pwx6-3mg9",
    "packages": [
      {
        "name": "litesaml/lightsaml",
        "ecosystem": "composer",
        "first_patched_version": "5.0.1",
        "vulnerable_version_range": ">= 5.0.0, < 5.0.1"
      },
      {
        "name": "litesaml/lightsaml",
        "ecosystem": "composer",
        "first_patched_version": "4.7.1",
        "vulnerable_version_range": ">= 4.0.0, < 4.7.1"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/litesaml/lightsaml/security/advisories/GHSA-w553-pwx6-3mg9",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-63182",
      "https://github.com/litesaml/lightsaml/pull/113",
      "https://github.com/litesaml/lightsaml/pull/122",
      "https://github.com/litesaml/lightsaml/commit/230e62d1325f2cbcaac814b78409775f7a8806a2",
      "https://github.com/litesaml/lightsaml/commit/3af82bf2f3865e6aafeeb1a97c97b383b8bb7b00",
      "https://github.com/litesaml/lightsaml/releases/tag/4.7.1",
      "https://github.com/litesaml/lightsaml/releases/tag/5.0.1",
      "https://github.com/advisories/GHSA-w553-pwx6-3mg9"
    ],
    "fix_commit_urls": [
      "https://github.com/litesaml/lightsaml/pull/113",
      "https://github.com/litesaml/lightsaml/pull/122",
      "https://github.com/litesaml/lightsaml/commit/230e62d1325f2cbcaac814b78409775f7a8806a2",
      "https://github.com/litesaml/lightsaml/commit/3af82bf2f3865e6aafeeb1a97c97b383b8bb7b00"
    ],
    "github_reviewed_at": "2026-11-16T22:08:38Z",
    "advisory_updated_at": "2026-11-16T22:08:39Z",
    "source_code_location": "https://github.com/litesaml/lightsaml",
    "advisory_published_at": "2026-11-16T22:08:38Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.