{"id":"CVE-2026-49454","published":"2026-06-18T20:52:22Z","modified":"2026-06-22T15:51:42Z","title":"Relyra SAML SignatureValue not cryptographically verified -> authentication bypass","vendor":"szTheory","product":"relyra","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00226,"percentile":0.07882,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/szTheory/relyra/security/advisories/GHSA-jv46-xfwm-36j7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/szTheory/relyra/commit/2e456897af3158c175bb490ce7fc51d6241c8922","tags":["x_refsource_MISC"]},{"url":"https://github.com/szTheory/relyra/commit/8910200","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":1.58},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"sztheory","affectedVersions":[{"vendor":"szTheory","product":"relyra","versions":[">= 1.0.0, < 1.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-22T15:50:42.585285Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"relyra","vulnerableRanges":[">=1.0.0, <1.2.0"],"patched":["1.2.0"],"from":["GHSA-jv46-xfwm-36j7"],"provenance":"source"}],"summary":{"text":"The Relyra SAML 2.0 Service Provider library for Elixir and Phoenix does not cryptographically verify the SAML SignatureValue before reporting successful authentication, so the signature check never proves that the signature bytes are valid. An attacker with network access and no credentials can submit a forged SAML response carrying an arbitrary NameID, which the library accepts as a successful authentication; no authentication or user interaction is required. The flaw affects versions 1.0.0 and 1.1.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:16Z"},"euvd":{"id":"EUVD-2026-37950","exploited":false,"provenance":"source"}}