/

CVE-2026-110782

Severity:

HIGH RISK

(8.7)

SAML Authentication Bypass (CWE-287) in SimpleSAMLphp SAML2

CVE-2026-110782

Received

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287, CWE-347

Impact:

SAML issuer impersonation and unauthorized access

Severity:

HIGH RISK

(8.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A flaw in SimpleSAMLphp's SAML2 HTTP-Artifact handling can allow an unsigned embedded SAML Response to be accepted inside a validly signed outer ArtifactResponse. In a multi-IdP federation, a trusted but attacker-controlled IdP could use this behavior to impersonate another IdP when a downstream service relies on the binding to authenticate the embedded Response.

Affected context

The issue occurs in HTTPArtifact::receive() when processing SAML HTTP-Artifact messages. Affected conditions include use of the vulnerable library versions and a federation with multiple identity providers. End-to-end impersonation also depends on a service provider using HTTP-Artifact and a downstream consumer relying on the binding, rather than independently requiring a signature on the embedded Response. The described affected versions are 6.2.2 through 6.2.4 and 7.0.0-rc2.

Exploit preconditions

  • Attack surface: SAML HTTP-Artifact message processing.
  • Required access: Control of one identity provider trusted by the federation.
  • Trigger point: The service provider processes an ArtifactResponse containing an embedded SAML Response.
  • Additional condition: A downstream consumer relies on the binding to authenticate the embedded Response and does not independently require its signature.
  • Why exploitation is possible: The outer ArtifactResponse signature is checked, but the embedded Response can be returned without its own signature being verified; the embedded issuer is not required to match the artifact issuer.

Why this happens

The binding treats verification of the outer ArtifactResponse as sufficient authentication for the embedded SAML Response. It can return that embedded message before verifying its signature, and the signed path does not enforce that the embedded Response issuer matches the artifact issuer. This is an authentication-validation flaw (CWE-287) and also relates to improper verification of a cryptographic signature (CWE-347): a valid signature on one message is effectively relied upon to authenticate a distinct, unsigned message.

Potential impact

  • A downstream service could accept a Response that claims to come from a different IdP.
  • An attacker controlling a trusted IdP may be able to impersonate another federation member under the stated conditions.
  • A relying service could grant access or perform actions based on an unauthenticated identity assertion.

General mitigation guidance

Defensive patterns include verifying the embedded Response's signature before treating it as authenticated and binding its issuer to the expected, trusted identity provider. Treat outer-envelope and embedded-message authentication as separate checks; do not infer the authenticity of one from the other's signature. Where appropriate, require downstream consumers to independently validate signatures, issuer identity, audience, and other relevant SAML constraints. Limit trust and privileges granted to identity providers and ensure federation policies reject messages that fail these checks.

How teams detect issues like this

  • Review HTTP-Artifact processing paths for cases where an embedded message is returned or consumed before its own signature is verified.
  • Use static analysis or code review to identify signature checks applied to an outer message without corresponding validation of nested security-sensitive messages.
  • Test federation policies to confirm that the embedded Response issuer is checked against the authenticated artifact issuer and trusted metadata.
  • Enforce security policies requiring signature and issuer validation at each relying-party boundary; automated code review tools may help flag inconsistent validation paths.

Sources

SourceLink
github.comgithub.com/simplesamlphp/saml2/commit/7b7fbb5322cb5607db3e5a329681f4886b1449fe
github.comgithub.com/simplesamlphp/saml2/commit/9a21edb96de1f3ece3b40ccbe3b7de761917a06f
github.comgithub.com/simplesamlphp/saml2/releases/tag/v6.2.4
github.comgithub.com/simplesamlphp/saml2/releases/tag/v7.0.0-rc2
github.comgithub.com/simplesamlphp/saml2/security/advisories/GHSA-r7hw-jx6r-756g

Frequently asked

questions

No. The described scenario involves HTTP-Artifact processing and a multi-IdP federation, and end-to-end impersonation also depends on downstream behavior that relies on the binding to authenticate the embedded Response.

The attacker must control an identity provider trusted by the federation. The service provider must also use the affected HTTP-Artifact handling path.

Verify the embedded Response's own signature and ensure its issuer matches the authenticated, expected identity provider. Downstream consumers should validate these properties independently where appropriate.

Treat nested messages as separate authentication boundaries, validate signatures and issuer claims consistently, and test that federation policies reject unsigned or mismatched messages.

Find out what's already
exploitable in your codebase.