CVE-2026-49454: CWE-287: Improper Authentication in szTheory relyra
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 Analysis
Technical Summary
Relyra, a SAML 2.0 Service Provider library for Elixir and Phoenix, versions 1.0.0 and 1.1.0 improperly authenticate SAML assertions by accepting forged signatures. The verification process omitted cryptographic checks such as verifying the SignatureValue over the canonicalized SignedInfo with the IdP's public key and recomputing the DigestValue. The canonicalization function was unused in the verification path, resulting in acceptance based solely on document structure and trust-source rejection without validating the actual signature bytes. Consequently, an attacker could present a forged SignatureValue with a controlled NameID and receive a successful authentication response. This vulnerability is tracked as CVE-2026-49454 and was resolved in version 1.2.0.
Potential Impact
Successful exploitation allows an attacker to bypass authentication by presenting forged SAML signatures, potentially impersonating any user. This compromises confidentiality and integrity of authentication, enabling unauthorized access without requiring privileges or user interaction. The vulnerability does not affect availability.
Mitigation Recommendations
Upgrade to relyra version 1.2.0 or later, where proper cryptographic verification of SAML signatures is implemented. Patch status is confirmed by the vendor advisory stating the issue is fixed in 1.2.0. No other mitigations are indicated.
CVE-2026-49454: CWE-287: Improper Authentication in szTheory relyra
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.
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Relyra, a SAML 2.0 Service Provider library for Elixir and Phoenix, versions 1.0.0 and 1.1.0 improperly authenticate SAML assertions by accepting forged signatures. The verification process omitted cryptographic checks such as verifying the SignatureValue over the canonicalized SignedInfo with the IdP's public key and recomputing the DigestValue. The canonicalization function was unused in the verification path, resulting in acceptance based solely on document structure and trust-source rejection without validating the actual signature bytes. Consequently, an attacker could present a forged SignatureValue with a controlled NameID and receive a successful authentication response. This vulnerability is tracked as CVE-2026-49454 and was resolved in version 1.2.0.
Potential Impact
Successful exploitation allows an attacker to bypass authentication by presenting forged SAML signatures, potentially impersonating any user. This compromises confidentiality and integrity of authentication, enabling unauthorized access without requiring privileges or user interaction. The vulnerability does not affect availability.
Mitigation Recommendations
Upgrade to relyra version 1.2.0 or later, where proper cryptographic verification of SAML signatures is implemented. Patch status is confirmed by the vendor advisory stating the issue is fixed in 1.2.0. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-30T02:43:33.107Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a346115f198dc38c1910c6b
Added to database: 06/18/2026, 21:20:21 UTC
Last enriched: 06/26/2026, 13:08:59 UTC
Last updated: 08/01/2026, 19:18:00 UTC
Views: 218
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.