# lightsaml allows Signature wrapping bypass

High severity, published 2026-11-16. Update litesaml/lightsaml to the fixed version of your branch (5.0.1, 4.7.1): composer update litesaml/lightsaml.

Canonical URL: https://buzzphp.com/security/ghsa-w553-pwx6-3mg9 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.1) |
| Published | 2026-11-16 |
| Updated | 2026-11-16 |
| CVE | [CVE-2026-63182](https://nvd.nist.gov/vuln/detail/CVE-2026-63182) |
| GHSA | [GHSA-w553-pwx6-3mg9](https://github.com/advisories/GHSA-w553-pwx6-3mg9) |
| Weakness | CWE-347 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| litesaml/lightsaml | >= 5.0.0, < 5.0.1 or >= 4.0.0, < 4.7.1 | 5.0.1, 4.7.1 |

## What to do

Update litesaml/lightsaml to the fixed version of your branch (5.0.1, 4.7.1): composer update litesaml/lightsaml.

Check which version you run with `composer show litesaml/lightsaml`, and every affected package with `composer audit`.

## About this advisory

Summary

LightSaml 5.0.0 (latest release; also confirmed on 4.6.1) validates an inbound samlp:Response by collecting its direct-child saml:Assertion elements and validating each one's ds:Signature via robrichards/xmlseclibs. The two layers disagree on which element a signature actually covers: LightSaml reads claims from the assertion node it collected, while xmlseclibs resolves the signed Reference URI="id" with a document-wide //[@Id] XPath that returns the first ID-bearing element anywhere in the document.

An attacker who has captured one genuine signed assertion can exploit this to surface attacker-authored, unsigned claims.

Details



## Links

- [GHSA-w553-pwx6-3mg9 on GitHub](https://github.com/advisories/GHSA-w553-pwx6-3mg9)
- [CVE-2026-63182 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-63182)
- [All Composer security advisories](https://buzzphp.com/security)
