Alta

SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass

  • Publicada: 02.07.2026
  • Actualizado: 11.10.2026 10:22

Summary

SimpleSAMLphp's HTTP-Artifact receive path can treat an unsigned embedded SAML Response as cryptographically valid for the wrong IdP.

In the HTTPArtifact::receive() flow, the SOAP ArtifactResponse receives a TLS-based validator from SOAPClient::addSSLValidator(). The embedded SAML Response then receives a validator that delegates signature validation to that outer ArtifactResponse. Later, the SP validates the embedded Response against metadata selected from the embedded response issuer, not necessarily the artifact issuer.

The critical issue is that SOAPClient::validateSSL() returns normally when the TLS public key does not match the key currently being validated. SAML2\Message::validate() treats any validator call that does not throw an exception as successful. As a result, an ArtifactResponse obtained from one IdP can validate an unsigned embedded SAML Response that claims to be issued by a different IdP.

In a multi-IdP/federation deployment where a malicious or lower-trust IdP can issue an HTTP-Artifact response to an SP, this can allow the attacker to authenticate to the SP as arbitrary users from a higher-trust victim IdP.

Impact

A malicious or lower-trust IdP in the same SP/federation trust set can authenticate to the SP as users from another IdP when HTTP-Artifact is used. The attacker can choose assertion attributes, NameID, and session data in the forged unsigned assertion.

This is an authentication bypass and identity-provider impersonation issue. In realistic federations, the security boundary between IdPs matters: a compromised or low-assurance IdP should not be able to mint identities for a high-assurance IdP.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de Composer simplesamlphp/saml2 >= 6.0.0, < 6.2.1, >= 5.0.0, < 5.0.6, >= 4.20.0, < 4.20.2, < 4.19.3 6.2.1, 5.0.6, 4.20.2, 4.19.3
Paquete de Composer simplesamlphp/saml2-legacy >= 4.20.0, < 4.20.2, < 4.19.3 4.20.2, 4.19.3

Referencias

Puntuación CVSS 8.7/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Debilidad (CWE)
CWE-295
Plataforma
Composer
Paquete
simplesamlphp/saml2, simplesamlphp/saml2-legacy
Publicada
02.07.2026
Actualizado
11.10.2026 10:22

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-6929-8p9f-26jx - CC BY 4.0

Historial de vulnerabilidades: simplesamlphp/saml2-legacy

Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Entradas en total
4
Primera → última
12.2024 07.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Alta 3
  • Media 1

Divulgaciones por año

  1. 2024: 1
  2. 2025: 1
  3. 2026: 2
  1. Alta · 7.5 CVE-2026-49289 >= 4.20.0, < 4.20.3, < 4.19.3 4.20.3, 4.19.3
  2. SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass esta entrada
    Alta · 8.7 CVE-2026-49283 >= 4.20.0, < 4.20.2, < 4.19.3 4.20.2, 4.19.3
  3. Media · 8.3 CVE-2024-52806 < 4.6.14 4.6.14

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.