critical

CVE

CVE-2026-145755

CWE

CWE-347, CWE-290

Affected Surface

  • OpenSAML C++ (libsaml) before 3.3.2, as used by every Shibboleth Service Provider release from 2.0.0 through 3.6.0
  • Shibboleth SP on Windows before 3.6.1, and RPM installs from the Shibboleth repositories where the libsaml13 package has not been updated
  • Debian bookworm (opensaml 3.2.1-3+deb12u1) and forky/sid (3.3.1-5), still marked vulnerable on 6 December 2026; trixie is fixed in 3.3.1-2+deb13u1 (DSA-6670-1)
  • Web applications behind Apache or IIS that rely on Shibboleth SP sessions or attributes (REMOTE_USER, eppn, affiliation, entitlement headers) for access control

TL;DR

The Shibboleth Service Provider is the Apache and IIS module that universities, research networks and plenty of companies use to put SAML single sign-on in front of web applications. On 30 November 2026 the Shibboleth Project disclosed a critical bug in the OpenSAML C++ library underneath it. An attacker with no account can send a forged SAML assertion to the SP’s Enhanced Client/Proxy (ECP) endpoint and get a session. The forged assertion can name any trusted identity provider as its issuer and carry any user name and attributes the attacker wants, so whatever access control the application builds on those attributes is gone.

The ECP endpoint, /Shibboleth.sso/SAML2/ECP, is turned on in the default configuration, and the project’s FAQ says most deployments never use it. The University of Michigan’s alert says the bug affects every SP release back to 2.0.0. MITRE assigned CVE-2026-145755 on 6 December with a CVSS 4.0 score of 9.1. A similar flaw in the SOAP endpoints allows forged messages such as logout requests, but those endpoints don’t create sessions.

There are no public reports of exploitation and we found no public proof of concept as of 6 December. The project says exploitation usually leaves traces in web access logs, but it is holding those details back to give operators time to patch.

What to do now:

  • Upgrade OpenSAML to 3.3.2. On Windows, install SP 3.6.1. On RPM systems using the Shibboleth repositories, update libsaml13 (updating only the shibboleth package does not fix it). On Debian trixie, apply DSA-6670-1. Then restart shibd and the web server.
  • If you can’t patch today, comment out the PAOS (/SAML2/ECP) and SOAP bindings in protocols.xml and confirm the ECP URL now returns “Shibboleth handler invoked at an unconfigured location.”
  • Check shibd.log for OpenSAML-C 3.3.2 after the restart. Debian bookworm and sid had no fixed package on 6 December, so those hosts need the mitigation.

Affected packages and projects

EcosystemPackageAffected versionsFixed or safe version
Source / Codebergcpp-opensaml (OpenSAML C++)Before 3.3.23.3.2
Windows installerShibboleth Service Provider2.0.0 through 3.6.03.6.1
RPM (Shibboleth repos)libsaml13Builds of OpenSAML before 3.3.2Build of 3.3.2 from the Shibboleth repository (dnf update --repo shibboleth)
Debianopensaml (libsaml13)bookworm 3.2.1-3+deb12u1, forky/sid 3.3.1-5trixie 3.3.1-2+deb13u1 (DSA-6670-1); bookworm and sid unfixed on 6 December
Sourcecpp-xmltoolingNot the vulnerable component3.3.1 shipped alongside the fix

The project no longer builds RPMs for Red Hat 6 and 7. Its FAQ says those systems get no updated package and need the configuration mitigation, or a source build of the opensaml package by anyone with extended support access.

Technical analysis

What the advisory says

The advisory describes the bug as OpenSAML message processing and security features that “were combined by the Service Provider software in a manner that leaves the software vulnerable to forged SAML assertions that it will accept for the purposes of establishing a session.” The vector is the SAML 2 ECP profile, which the SP accepts over the PAOS binding at /SAML2/ECP. The same flaw exists in the SOAP endpoints (/SLO/SOAP, /NIM/SOAP, /Artifact/SOAP), where the worst case is a forged logout or name ID management request.

The fix

The fix is one commit, ba8fb40, committed by Scott Cantor at 13:29 UTC on 30 November with the neutral message “XML handling improvements” and tagged as 3.3.2 a minute later. It touches five files.

The main change is in SimpleSigningRule, the security policy rule that verifies signatures carried in URL parameters. The HTTP-Redirect and HTTP-POST-SimpleSign bindings don’t sign the XML. The identity provider signs the encoded message plus RelayState and SigAlg, and puts the result in a Signature parameter. Before 3.3.2 the rule ran no matter how the request arrived. Now it only runs for a GET (Redirect) or a form-encoded POST (SimpleSign):

// saml/binding/impl/SimpleSigningRule.cpp
+    const char* method = httpRequest->getMethod();
+    if (!strcmp(method, "POST")) {
+        if (httpRequest->getContentType().find("application/x-www-form-urlencoded") == string::npos) {
+            log.debug("ignoring message, POST without form-urlencoded content type");
+            return false;
+        }
+    }
+    else if (strcmp(method, "GET")) {
+        log.debug("ignoring message, unsupported HTTP method (%s)", method);
+        return false;
+    }

The ECP decoder used to check only the content type (application/vnd.paos+xml, and not form-encoded). It now also rejects any method other than POST:

// saml/saml2/binding/impl/SAML2ECPDecoder.cpp
     if (httpRequest) {
+        if (strcmp(httpRequest->getMethod(), "POST")) {
+            log.warn("ignoring non-POST request (%s)", httpRequest->getMethod());
+            throw BindingException("Invalid HTTP method ($1).", params(1, httpRequest->getMethod()));
+        }
         string s = httpRequest->getContentType();

The SAML 2 and SAML 1 SOAP decoders get the same POST-only check, and the SAML 1 decoder now also refuses a body labeled as form-encoded. The last hunk adds a null check in SignatureProfileValidator for a signature reference with no transforms (if (tlist && tlist->getSize() <= 2)), which previously dereferenced a null pointer.

How the pieces fit

The project hasn’t published the full attack chain, but the patch and the FAQ fit together. The FAQ offers two mitigations for anyone who can’t patch: disable the ECP and SOAP endpoints, or, if you need ECP, comment out <Rule type="SimpleSigning" errorFatal="true"/> in security-policy.xml or shibboleth2.xml, which drops support for signed logout requests over HTTP-Redirect. On the identity provider side, it says an IdP can help by no longer sending messages over HTTP-Redirect or SimpleSign. It adds that “older messages in the hands of attackers” would still work, and that rotating the IdP signing key is the only real defense against those.

Our reading is that the ECP and SOAP endpoints let the URL-parameter signature check run on a request whose body was a different, unsigned SAML message. An attacker who holds any Redirect or SimpleSign message validly signed by a trusted IdP could put that signature in the URL, put a forged assertion in the PAOS body, and have the policy treat the message as authenticated. Messages like that are easy to collect, because IdPs sign them routinely and send them through the user’s browser. That would explain why the attack needs no credentials, why the forged message can appear to come from any trusted IdP, and why the fix keeps the simple-signing rule away from SOAP and PAOS requests. Treat this as inference. The project says it will share more once operators have had time to patch.

IOCs

This is a vulnerability, not malware, so there are no network IOCs. The project says it believes evidence “can usually be seen in web access logs” but hasn’t said what it looks like yet. Until it does, these are reasonable things to look for:

TypeIndicatorWhy
HTTP requestAny request to /Shibboleth.sso/SAML2/ECP on an SP that doesn’t use ECPThe FAQ says most deployments never use the ECP endpoint
HTTP requestRequests to /SAML2/ECP or /SLO/SOAP, /NIM/SOAP, /Artifact/SOAP with Signature= or SigAlg= in the query stringURL-parameter signatures belong to the Redirect binding, not PAOS or SOAP; the fix stops the signing rule from running on these requests
HTTP requestGET or non-PAOS requests to /SAML2/ECP3.3.2 rejects any method other than POST at this endpoint
Application logSessions for privileged users or unusual attribute values (entitlements, affiliations) with no matching login at the IdPA forged assertion produces an SP session without an IdP authentication event

Detection and remediation

Check which OpenSAML version the SP is actually running. shibd logs its library versions at startup:

grep "Library versions" /var/log/shibboleth/shibd.log | tail -1
# Fixed:   ... OpenSAML-C 3.3.2, Shibboleth 3.6.x
rpm -q libsaml13 shibboleth 2>/dev/null
dpkg -l 'libsaml*' shibboleth-sp-utils libapache2-mod-shib 2>/dev/null | grep ^ii

Check whether the SP advertises ECP in its metadata:

curl -s https://sp.example.org/Shibboleth.sso/Metadata | grep -E 'PAOS|bindings:SOAP'

Search access logs for traffic to the ECP and SOAP handlers. Adjust the path to your web server’s logs:

grep -E 'Shibboleth\.sso/(SAML2/ECP|SLO/SOAP|NIM/SOAP|Artifact/SOAP)' /var/log/httpd/*access* /var/log/apache2/*access* 2>/dev/null
grep -E 'Shibboleth\.sso/SAML2/ECP[^ ]*(Signature|SigAlg)=' /var/log/httpd/*access* /var/log/apache2/*access* 2>/dev/null

Patch:

# RHEL, Rocky, Alma, Amazon Linux with the Shibboleth repository (repo name may differ)
dnf update --repo shibboleth
systemctl restart shibd httpd

# Debian trixie
apt-get update && apt-get install --only-upgrade libsaml13
systemctl restart shibd apache2

On Windows, run the SP 3.6.1 installer and restart the Shibboleth service and IIS.

If you can’t patch yet, edit protocols.xml in the SP configuration directory (/etc/shibboleth or C:\opt\shibboleth-sp\etc\shibboleth) and comment out the PAOS binding and the SOAP bindings, as in the project’s FAQ:

<Service id="SSO">
  ...
  <!--
  <Binding id="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" path="/SAML2/ECP" />
  -->
</Service>
<Service id="Logout">
  <!--
  <Binding id="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" path="/SLO/SOAP" />
  -->
  ...
</Service>

Do the same for /NIM/SOAP and the whole ArtifactResolution service. Older configurations that list endpoints explicitly in shibboleth2.xml also need the md:AssertionConsumerService element for /SAML2/ECP and the SOAP md:SingleLogoutService, md:ManageNameIDService and md:ArtifactResolutionService elements removed. Then confirm:

curl -sk https://sp.example.org/Shibboleth.sso/SAML2/ECP | grep -o "unconfigured location"

A load balancer rule that blocks paths ending in /SAML2/ECP is a weaker option, because URL encoding tricks can get around it. The FAQ recommends fixing the SP itself.

If you find suspicious ECP traffic:

  1. Terminate SP sessions (restart shibd with a non-persistent session cache, or clear the storage service if sessions are kept in a database or memcache) and the application sessions created from them.
  2. Review what was done under each account that logged in through the ECP endpoint, starting with administrators.
  3. Rotate any secrets, API keys or tokens that a privileged user could read or create in the protected applications.
  4. Tell the operators of the identity providers your SP trusts. The FAQ says rotating an IdP signing key is the only way to invalidate signed messages an attacker may already have.

Timeline

  • 30 November 2026, 13:29 UTC: Scott Cantor commits ba8fb40 (“XML handling improvements”) to cpp-opensaml and tags 3.3.2 at 13:30 UTC.
  • 30 November 2026: The Shibboleth Project publishes the advisory, releases SP 3.6.1 for Windows and xmltooling 3.3.1, and posts the FAQ. It credits Timothy Dudley and Matz Hilven of Sentra.
  • 30 November 2026: Debian releases DSA-6670-1 (opensaml 3.3.1-2+deb13u1 for trixie). The University of Michigan tells its SP operators to patch immediately.
  • 6 December 2026, 09:18 UTC: MITRE publishes CVE-2026-145755 (CVSS 4.0 score 9.1). The GitHub Advisory Database imports it as GHSA-w8pm-5f44-vc43.
  • 6 December 2026: Debian bookworm and forky/sid are still marked vulnerable. No public exploit or in-the-wild exploitation reported.

From research to remediation

Check whether this pattern exists in your codebase

Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.

References