CVE-2026-49454
Description
Relyra is a strict-by-default SAML 2.0 Service Provider library for Elixir and Phoenix. Versions 1.0.0 and 1.1.0 accept forged SAML signatures because SignatureValue was not cryptographically verified before the library returned a successful authentication result. The XMLDSig trust boundary was incomplete as :public_key.verify over the exclusive-C14N canonicalized SignedInfo was not performed against the configured IdP certificate's public key, DigestValue was not recomputed over the canonicalized referenced element, and canonicalize/2 remained an unused passthrough in the signature-verification path. The result was a structure-only acceptance path where document shape and trust-source rejection could succeed without proving the signature bytes. A forged SignatureValue carrying an attacker-controlled NameID could be accepted as {:ok}. This issue has been fixed in version 1.2.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
relyraHex | >= 1.0.0, < 1.2.0 | 1.2.0 |
Affected products
2- Range: <1.2.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-jv46-xfwm-36j7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-49454ghsaADVISORY
- github.com/szTheory/relyra/commit/2e456897af3158c175bb490ce7fc51d6241c8922nvdWEB
- github.com/szTheory/relyra/commit/8910200nvdWEB
- github.com/szTheory/relyra/security/advisories/GHSA-jv46-xfwm-36j7nvdWEB
News mentions
0No linked articles in our index yet.