GHSA-j388-8rm5-p97f

Suggest an improvement
Source
https://github.com/advisories/GHSA-j388-8rm5-p97f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-j388-8rm5-p97f/GHSA-j388-8rm5-p97f.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-j388-8rm5-p97f
Aliases
Published
2026-06-10T00:31:52Z
Modified
2026-08-12T17:56:09Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch requests
Details

Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch (application/json-patch+json) requests. When a persistent entity exposes a Map-typed property, the JSON Pointer path segment used as the map key is embedded directly into a SpEL expression without sanitization or validation.

Affected versions: Spring Data REST 3.7.0 through 3.7.19; 4.3.0 through 4.3.16; 4.4.0 through 4.4.14; 4.5.0 through 4.5.11; 5.0.0 through 5.0.5.

Database specific
{
    "cwe_ids":  [
        "CWE-917"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-12T17:41:53Z",
    "nvd_published_at":  "2026-06-10T00:16:52Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven
org.springframework.data:spring-data-rest-core

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.0.6

Affected versions

5.*
5.0.0
5.0.1
5.0.2
5.0.3
5.0.4
5.0.5

Database specific

last_known_affected_version_range
"<= 5.0.5"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-j388-8rm5-p97f/GHSA-j388-8rm5-p97f.json"
org.springframework.data:spring-data-rest-core

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.5.0
Fixed
4.5.12

Affected versions

4.*
4.5.0
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.5.7
4.5.8
4.5.9
4.5.10
4.5.11

Database specific

last_known_affected_version_range
"<= 4.5.11"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-j388-8rm5-p97f/GHSA-j388-8rm5-p97f.json"
org.springframework.data:spring-data-rest-core

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.4.0
Last Affected
4.4.14

Affected versions

4.*
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.4.6
4.4.7
4.4.8
4.4.9
4.4.10
4.4.11
4.4.12
4.4.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-j388-8rm5-p97f/GHSA-j388-8rm5-p97f.json"
org.springframework.data:spring-data-rest-core

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.0
Last Affected
4.3.16

Affected versions

4.*
4.3.0
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5
4.3.6
4.3.7
4.3.8
4.3.9
4.3.10
4.3.11
4.3.12
4.3.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-j388-8rm5-p97f/GHSA-j388-8rm5-p97f.json"
org.springframework.data:spring-data-rest-core

Package

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

Affected ranges

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

Affected versions

1.*
1.0.0.RELEASE
2.*
2.0.0.RELEASE
2.0.1.RELEASE
2.0.2.RELEASE
2.0.3.RELEASE
2.1.0.RELEASE
2.1.1.RELEASE
2.1.2.RELEASE
2.1.4.RELEASE
2.1.5.RELEASE
2.1.6.RELEASE
2.2.0.RELEASE
2.2.1.RELEASE
2.2.2.RELEASE
2.2.3.RELEASE
2.2.4.RELEASE
2.3.0.RELEASE
2.3.1.RELEASE
2.3.2.RELEASE
2.4.0.RELEASE
2.4.1.RELEASE
2.4.2.RELEASE
2.4.4.RELEASE
2.4.5.RELEASE
2.4.6.RELEASE
2.5.0.RELEASE
2.5.1.RELEASE
2.5.2.RELEASE
2.5.3.RELEASE
2.5.4.RELEASE
2.5.5.RELEASE
2.5.6.RELEASE
2.5.7.RELEASE
2.5.8.RELEASE
2.5.9.RELEASE
2.5.10.RELEASE
2.5.11.RELEASE
2.6.0.RELEASE
2.6.1.RELEASE
2.6.2.RELEASE
2.6.3.RELEASE
2.6.4.RELEASE
2.6.5.RELEASE
2.6.6.RELEASE
2.6.7.RELEASE
2.6.8.RELEASE
2.6.9.RELEASE
2.6.10.RELEASE
2.6.11.RELEASE
2.6.12.RELEASE
2.6.13.RELEASE
2.6.14.RELEASE
2.6.15.RELEASE
2.6.16.RELEASE
2.6.17.RELEASE
2.6.18.RELEASE
2.6.20.RELEASE
2.6.21.RELEASE
2.6.22.RELEASE
2.6.23.RELEASE
3.*
3.0.0.RELEASE
3.0.1.RELEASE
3.0.2.RELEASE
3.0.3.RELEASE
3.0.4.RELEASE
3.0.5.RELEASE
3.0.6.RELEASE
3.0.7.RELEASE
3.0.8.RELEASE
3.0.9.RELEASE
3.0.10.RELEASE
3.0.11.RELEASE
3.0.12.RELEASE
3.0.13.RELEASE
3.0.14.RELEASE
3.1.0.RELEASE
3.1.1.RELEASE
3.1.2.RELEASE
3.1.3.RELEASE
3.1.4.RELEASE
3.1.5.RELEASE
3.1.6.RELEASE
3.1.7.RELEASE
3.1.8.RELEASE
3.1.9.RELEASE
3.1.10.RELEASE
3.1.11.RELEASE
3.1.12.RELEASE
3.1.13.RELEASE
3.1.14.RELEASE
3.1.15.RELEASE
3.1.16.RELEASE
3.1.17.RELEASE
3.1.18.RELEASE
3.1.19.RELEASE
3.1.20.RELEASE
3.1.21.RELEASE
3.2.0.RELEASE
3.2.1.RELEASE
3.2.2.RELEASE
3.2.3.RELEASE
3.2.4.RELEASE
3.2.5.RELEASE
3.2.6.RELEASE
3.2.7.RELEASE
3.2.8.RELEASE
3.2.9.RELEASE
3.2.10.RELEASE
3.2.11.RELEASE
3.2.12.RELEASE
3.2.13.RELEASE
3.3.0.RELEASE
3.3.1.RELEASE
3.3.2.RELEASE
3.3.3.RELEASE
3.3.4.RELEASE
3.3.5.RELEASE
3.3.6.RELEASE
3.3.7.RELEASE
3.3.8.RELEASE
3.3.9.RELEASE
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
3.4.14
3.4.15
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
3.5.12
3.6.0
3.6.1
3.6.2
3.6.3
3.6.4
3.6.5
3.6.6
3.6.7
3.6.8
3.6.9
3.6.10
3.7.0
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.7.8
3.7.9
3.7.10
3.7.11
3.7.12
3.7.13
3.7.14
3.7.15
3.7.16
3.7.17
3.7.18

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-j388-8rm5-p97f/GHSA-j388-8rm5-p97f.json"