{"id":"CVE-2026-49454","aliases":["GHSA-jv46-xfwm-36j7"],"url":"https://o3.security/vulnerability/CVE-2026-49454","summary":"Relyra SAML SignatureValue not cryptographically verified -> authentication bypass","details":"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.","published":"2026-06-18T20:52:22.605Z","modified":"2026-08-12T03:51:23.710138188Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.00226,"percentile":0.13192,"asOf":"2026-09-07"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Hex","name":"relyra","fixedVersion":"1.2.0"}],"fix":{"url":"https://github.com/szTheory/relyra/commit/2e456897af3158c175bb490ce7fc51d6241c8922","label":"szTheory/relyra@2e45689"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49454.json"},{"type":"ADVISORY","url":"https://github.com/szTheory/relyra/security/advisories/GHSA-jv46-xfwm-36j7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49454"},{"type":"FIX","url":"https://github.com/szTheory/relyra/commit/2e456897af3158c175bb490ce7fc51d6241c8922"},{"type":"FIX","url":"https://github.com/szTheory/relyra/commit/8910200"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:23.710138188Z"}}