CVE-2026-49454CWE-287CWE-347

Relyra SAML SignatureValue not cryptographically verified -> authentication bypass

Critical · published June 18, 2026

CVSS v3.1
9.1
EPSS
0%
Percentile
12.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00226 · 12.6th percentile
Weaknesses
CWE-287 · Improper Authentication; CWE-347 · Improper Verification of Cryptographic Signature
Published
2026-06-18T20:52Z
EPSS history
Timeline
  • 18 JUN 20:52Z
    Relyra SAML SignatureValue not cryptographically verified -> authentication bypass
    cvelistv5