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

LightSAML: Signature reference wrapping permits unsigned assertion claims

litesaml / lightsaml

Correctif recensé 17 jours après la divulgation. Versions corrigées : litesaml/lightsaml 5.0.1 et litesaml/lightsaml 4.7.1. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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] et 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
étape actuelle
PAT
divulgation
délai avant correctif
T+17d
CVSS
8.1 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
10-30T21:46Z
PATcorrectif
11-16T23:03Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 8.1, gravité élevée. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "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"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique les versions corrigées litesaml/lightsaml 5.0.1 et litesaml/lightsaml 4.7.1. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-w553-pwx6-3mg9 · observé en direct par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.