Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 87%

CVE-2026-49454: CWE-287: Improper Authentication in szTheory relyra

0
Critical
VulnerabilityCVE-2026-49454cvecve-2026-49454cwe-287cwe-347
Published: 06/18/2026 (06/18/2026, 20:52:22 UTC)
Source: CVE Database V5
Vendor/Project: szTheory
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

relyra
pkg:hex/relyra
Affected versions
<1.2.0

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

AILast updated: 06/26/2026, 13:08:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses