Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-49454 EUVD-2026-37950GHSA-jv46-xfwm-36j7

Relyra SAML SignatureValue not cryptographically verified -> authentication bypass

Published Jun 18, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
szTheory relyra >= 1.0.0, < 1.2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Hex relyra >= 1.0.0, < 1.2.0 1.2.0 GHSA-jv46-xfwm-36j7

References