{"id":"CVE-2026-49454","state":"PUBLISHED","title":"Relyra SAML SignatureValue not cryptographically verified -> authentication bypass","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.","publishedAt":"2026-06-18T20:52:22.605Z","updatedAt":"2026-06-22T15:51:42.595Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["szTheory relyra"],"affected":[{"vendor":"szTheory","product":"relyra","versions":[{"version":">= 1.0.0, < 1.2.0","status":"affected"}]}],"references":["https://github.com/szTheory/relyra/security/advisories/GHSA-jv46-xfwm-36j7","https://github.com/szTheory/relyra/commit/2e456897af3158c175bb490ce7fc51d6241c8922","https://github.com/szTheory/relyra/commit/8910200"],"weaknesses":["CWE-287","CWE-347"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49454.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49454","state":"PUBLISHED","datePublished":"2026-06-18T20:52:22.605Z","dateUpdated":"2026-06-22T15:51:42.595Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-30T02:43:33.107Z"},"containers":{"cna":{"title":"Relyra SAML SignatureValue not cryptographically verified -> authentication bypass","descriptions":[{"lang":"en","value":"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":[{"vendor":"szTheory","product":"relyra","versions":[{"version":">= 1.0.0, < 1.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/szTheory/relyra/security/advisories/GHSA-jv46-xfwm-36j7","name":"https://github.com/szTheory/relyra/security/advisories/GHSA-jv46-xfwm-36j7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/szTheory/relyra/commit/2e456897af3158c175bb490ce7fc51d6241c8922","name":"https://github.com/szTheory/relyra/commit/2e456897af3158c175bb490ce7fc51d6241c8922","tags":["x_refsource_MISC"]},{"url":"https://github.com/szTheory/relyra/commit/8910200","name":"https://github.com/szTheory/relyra/commit/8910200","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-347","lang":"en","description":"CWE-347: Improper Verification of Cryptographic Signature","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-18T20:52:22.605Z"},"source":{"advisory":"GHSA-jv46-xfwm-36j7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-22T15:50:42.585285Z","id":"CVE-2026-49454","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-22T15:51:42.595Z"}}]}}}