CVE-2026-49283: Php Saml Ssl Key Validation Fail Open

When validating TLS/SSL peer keys or certificates against expected key metadata, a key mismatch must throw an exception or return a failure status. Returning normally without throwing causes validation to succeed on mismatched credentials, leading to authentication bypass.

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-49283-php-saml-ssl-key-validation-fail-open --engine opengrep

Description

When validating TLS/SSL peer keys or certificates against expected key metadata, a key mismatch must throw an exception or return a failure status. Returning normally without throwing causes validation to succeed on mismatched credentials, leading to authentication bypass.