Description
An SQL injection vulnerability has been identified in the "ID" attribute of the SAML response when the replay cache of the Shibboleth Service Provider (SP) is configured to use an SQL database as storage service. An unauthenticated attacker can exploit this issue via blind SQL injection, allowing for the extraction of arbitrary data from the database, if the database connection is configured to use the ODBC plugin. The vulnerability arises from insufficient escaping of single quotes in the class SQLString (file odbc-store.cpp, lines 253-271).
This issue affects Shibboleth Service Provider through 3.5.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Shibboleth | Service Provider | ≤ 3.5.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | shibboleth-sp | 3.5.1+dfsg-1 | — |
| Debian 13 | shibboleth-sp | 3.5.0+dfsg-2+deb13u1 | DSA-5994-1 |
| Debian 12 | shibboleth-sp | 3.4.1+dfsg-2+deb12u1 | DSA-5994-1 |
| Debian 11 | shibboleth-sp | 3.2.2+dfsg1-1+deb11u1 | DLA-4300-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | shibboleth-sp | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | shibboleth-sp | 3.4.1+dfsg-2.1ubuntu0.1~esm1 | USN-8768-1 |
| Ubuntu Pro 22.04 LTS | shibboleth-sp | 3.3.0+dfsg1-1ubuntu0.1~esm1 | USN-8768-1 |
| Ubuntu Pro 20.04 LTS | shibboleth-sp | 3.0.4+dfsg1-1ubuntu0.2+esm1 | USN-8768-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLES 15 SP6 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLES 15 SP5 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLES 15 SP4 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLES 12 SP5 | shibboleth-sp | 2.5.5-6.9.1 | SUSE-SU-2026:3098-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | shibboleth-sp | 3.5.0-160000.3.1 | SUSE-SU-2026:22854-1 |
| SLES for SAP 15 SP6 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLES for SAP 15 SP5 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLES for SAP 15 SP4 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLES 16.0 | shibboleth-sp | 3.5.0-160000.3.1 | SUSE-SU-2026:22854-1 |
| SLE HPC 15 SP5 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
| SLE HPC 15 SP4 | shibboleth-sp | 3.1.0-150300.3.6.1 | SUSE-SU-2026:3123-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | shibboleth-sp | 3.5.1-1.1 | openSUSE-SU-2025:15714-1 |
| openSUSE Leap 16.0 | shibboleth-sp | 3.5.0-160000.3.1 | openSUSE-SU-2026:21418-1 |
Advisories 9
- USN-8768-1 shibboleth-sp vulnerability Ubuntu Security Notices (USN) · Sep 16, 2026
- WID-SEC-2025-2031 Shibboleth Service Provider: Schwachstelle ermöglicht SQL Injection BSI CERT-Bund (WID) · Sep 15, 2026
- SUSE-SU-2026:22854-1 Security update for shibboleth-sp SUSE / openSUSE Security Updates · Jul 28, 2026
- openSUSE-SU-2026:21418-1 Security update for shibboleth-sp SUSE / openSUSE Security Updates · Jul 24, 2026
- SUSE-SU-2026:3123-1 Security update for shibboleth-sp SUSE / openSUSE Security Updates · Jul 21, 2026
- SUSE-SU-2026:3098-1 Security update for shibboleth-sp SUSE / openSUSE Security Updates · Jul 18, 2026
- openSUSE-SU-2025:15714-1 libshibsp-lite12-3.5.1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5994-1 shibboleth-sp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4300-1 shibboleth-sp - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://shibboleth.net/community/advisories/secadv_20250903.txt vendor-advisory
- https://r.sec-consult.com/shibboleth third-party-advisory
- https://shibboleth.net/downloads/service-provider/3.5.1/ patch