GHSA-8r2h-xh92-gq57

Suggest an improvement
Source
https://github.com/advisories/GHSA-8r2h-xh92-gq57
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-8r2h-xh92-gq57/GHSA-8r2h-xh92-gq57.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8r2h-xh92-gq57
Aliases
Downstream
Published
2026-06-10T00:31:51Z
Modified
2026-08-12T16:41:04Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
Spring Data Relational: Attackers can supply wildcard characters to perform boolean-based blind data inference
Details

Spring Data Relational does not properly escape binding values of externally-controlled input when using StringMatcher (STARTING, ENDING, or CONTAINING) in Query By Example (QBE). An attacker can supply wildcard characters to perform boolean-based blind data inference.

Affected versions: Spring Data Relational/JDBC/R2DBC 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.4.0 through 2.4.19.

Database specific
{
    "cwe_ids":  [
        "CWE-943"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-12T16:19:02Z",
    "nvd_published_at":  "2026-06-10T00:16:50Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven
org.springframework.data:spring-data-relational

Package

Name
org.springframework.data:spring-data-relational
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.data/spring-data-relational

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.0.6

Affected versions

4.*
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5

Database specific

last_known_affected_version_range
"<= 4.0.5"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-8r2h-xh92-gq57/GHSA-8r2h-xh92-gq57.json"
org.springframework.data:spring-data-relational

Package

Name
org.springframework.data:spring-data-relational
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.data/spring-data-relational

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
3.5.12

Affected versions

3.*
3.5.0
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
3.5.8
3.5.9
3.5.10
3.5.11

Database specific

last_known_affected_version_range
"<= 3.5.11"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-8r2h-xh92-gq57/GHSA-8r2h-xh92-gq57.json"
org.springframework.data:spring-data-relational

Package

Name
org.springframework.data:spring-data-relational
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.data/spring-data-relational

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.4.0
Last Affected
3.4.14

Affected versions

3.*
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.4.10
3.4.11
3.4.12
3.4.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-8r2h-xh92-gq57/GHSA-8r2h-xh92-gq57.json"
org.springframework.data:spring-data-relational

Package

Name
org.springframework.data:spring-data-relational
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.data/spring-data-relational

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Last Affected
3.3.16

Affected versions

3.*
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.0.10
3.0.11
3.0.12
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
3.1.8
3.1.9
3.1.10
3.1.11
3.1.12
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.2.10
3.2.11
3.2.12
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
3.3.10
3.3.11
3.3.12
3.3.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-8r2h-xh92-gq57/GHSA-8r2h-xh92-gq57.json"
org.springframework.data:spring-data-relational

Package

Name
org.springframework.data:spring-data-relational
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.data/spring-data-relational

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
2.4.19

Affected versions

1.*
1.1.0.RELEASE
1.1.1.RELEASE
1.1.2.RELEASE
1.1.3.RELEASE
1.1.4.RELEASE
1.1.5.RELEASE
1.1.6.RELEASE
1.1.7.RELEASE
1.1.8.RELEASE
1.1.9.RELEASE
1.1.10.RELEASE
1.1.11.RELEASE
1.1.12.RELEASE
1.1.13.RELEASE
2.*
2.0.0.RELEASE
2.0.1.RELEASE
2.0.2.RELEASE
2.0.3.RELEASE
2.0.4.RELEASE
2.0.5.RELEASE
2.0.6.RELEASE
2.0.7.RELEASE
2.0.8.RELEASE
2.0.9.RELEASE
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.1.10
2.1.11
2.1.12
2.1.13
2.1.14
2.1.15
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.2.10
2.2.11
2.2.12
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8
2.3.9
2.3.10
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
2.4.10
2.4.11
2.4.12
2.4.13
2.4.14
2.4.15
2.4.16
2.4.17
2.4.18

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-8r2h-xh92-gq57/GHSA-8r2h-xh92-gq57.json"