CVE-2026-63182

Source
https://cve.org/CVERecord?id=CVE-2026-63182
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63182.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63182
Aliases
Published
2026-10-30T21:46:38Z
Modified
2026-11-08T02:30:27Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
LightSAML: Signature reference wrapping permits unsigned assertion claims
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-347"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63182.json"
}
References

Affected packages

Git / github.com/litesaml/lightsaml

Affected ranges

Type
GIT
Repo
https://github.com/litesaml/lightsaml
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "4.7.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "introduced": "5.0.0"
                },
                {
                    "fixed": "5.0.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "230e62d1325f2cbcaac814b78409775f7a8806a2"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "3af82bf2f3865e6aafeeb1a97c97b383b8bb7b00"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "4.7.1",
            "range": [
                {
                    "fixed": "52f7ae3be57fe50b8d355e27040486388764d232"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "5.0.1",
            "range": [
                {
                    "fixed": "7369d83a56f6faf88990f115e3de571daadf4733"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.1.0
1.*
1.0.0
1.0.0-beta.1
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.2.0
1.2.1
1.3.0
1.3.1
1.3.2
1.3.3
1.3.5
1.3.6
1.4.0
1.4.1
2.*
2.0.0
2.0.1
2.1.0
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
3.*
3.0.0
3.0.1
3.0.2
3.0.3
4.*
4.0.0
4.2.1
4.2.2
4.3.0
4.3.1
4.3.2
4.4.0
4.5.0
4.5.1
4.6.0
4.6.1
4.7.0
5.*
5.0.0
v4.*
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4
v4.1.5
v4.1.6
v4.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63182.json"