Home / Pivotal / Spring Security OAuth / CVE-2018-15758
CVE-2018-15758: is it exploited, and which versions of Pivotal Spring Security OAuth are affected and fixed?
CVE-2018-15758 is a privilege escalation (improper privilege management) vulnerability in Pivotal Spring Security OAuth. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: org.springframework.security.oauth:spring-security-oauth2 from 2.0.0 before 2.0.16, org.springframework.security.oauth:spring-security-oauth2 from 2.1.0 before 2.1.3, org.springframework.security.oauth:spring-security-oauth2 from 2.2.0 before 2.2.3.RELEASE and 1 more (GitHub advisory GHSA-h8w4-qv99-f7vj). Fixed in 2.0.16, 2.1.3, 2.2.3.RELEASE and 2.3.4.RELEASE (GitHub advisory GHSA-h8w4-qv99-f7vj). Severity: Critical (9.6, CVSS 3.0, from dell).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:28 UTC.
What is CVE-2018-15758?
Privilege Escalation in spring-security-oauth2
Spring Security OAuth, versions 2.3 prior to 2.3.4, and 2.2 prior to 2.2.3, and 2.1 prior to 2.1.3, and 2.0 prior to 2.0.16, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can craft a request to the approval endpoint that can modify the previously saved authorization request and lead to a privilege escalation on the subsequent approval. This scenario can happen if the application is configured to use a custom approval endpoint that declares AuthorizationRequest as a controller method argument. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and use a custom Approval Endpoint that declares AuthorizationRequest as a controller method argument. This vulnerability does not expose applications that: Act in the role of an Authorization Server and use the default Approval Endpoint, act in the role of a Resource Server only (e.g. @EnableResourceServer), act in the role of a Client only (e.g. @EnableOAuthClient).
From the CVE record by dell, last updated September 17, 2024, 01:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Pivotal | Spring Security OAuth | from 2.3 through 2.3.3 from 2.2 through 2.2.2 from 2.1 through 2.1.2 from 2.0 through 2.0.15 |
As the CVE record by dell states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 2.0.0, < 2.0.16 | 2.0.16 | GHSA-h8w4-qv99-f7vj |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 2.1.0, < 2.1.3 | 2.1.3 | GHSA-h8w4-qv99-f7vj |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 2.2.0, < 2.2.3.RELEASE | 2.2.3.RELEASE | GHSA-h8w4-qv99-f7vj |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 2.3.0, < 2.3.4.RELEASE | 2.3.4.RELEASE | GHSA-h8w4-qv99-f7vj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 4, 2024. Summary: Authorization bypass in org.springframework.security.oauth:spring-security-oauth2.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pivotal software | spring security oauth | through 1.0.5 | application |
| pivotal software | spring security oauth | from 2.0.0 before 2.0.16 | application |
| pivotal software | spring security oauth | from 2.1.0 before 2.1.3 | application |
| pivotal software | spring security oauth | from 2.2.0 before 2.2.3 | application |
| pivotal software | spring security oauth | from 2.3.0 before 2.3.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:43 UTC.
How severe is CVE-2018-15758?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.6 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N | dell |
| High 8.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-15758 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.15% probability of exploitation activity in the next 30 days, percentile 82.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
- https://pivotal.io/security/cve-2018-15758 x_refsource_CONFIRM
- 105687 vdb-entry, x_refsource_BID
- RHSA-2019:2413 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- August 23, 2018
- Published
- October 18, 2018, 22:00 UTC
- CVE record updated
- September 17, 2024, 01:16 UTC by dell
- NVD
- Modified, last modified June 17, 2026, 01:43 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:28 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Security OAuth?
- May 11, 2018CVE-2018-1260 Pivotal Spring Security OAuth: code injection (remote code execution)
- May 25, 2017CVE-2016-4977 Pivotal Spring Security OAuth: Remote Code Execution
Every CVE in Spring Security OAuth
Questions about CVE-2018-15758
Is CVE-2018-15758 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 2.15% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pivotal Spring Security OAuth are affected by CVE-2018-15758?
org.springframework.security.oauth:spring-security-oauth2 from 2.0.0 before 2.0.16, org.springframework.security.oauth:spring-security-oauth2 from 2.1.0 before 2.1.3, org.springframework.security.oauth:spring-security-oauth2 from 2.2.0 before 2.2.3.RELEASE and org.springframework.security.oauth:spring-security-oauth2 from 2.3.0 before 2.3.4.RELEASE, per the GitHub advisory GHSA-h8w4-qv99-f7vj. The tables above give every range the sources list.
Which version fixes CVE-2018-15758?
2.0.16, 2.1.3, 2.2.3.RELEASE and 2.3.4.RELEASE, per the GitHub advisory GHSA-h8w4-qv99-f7vj. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-15758?
Critical (9.6, CVSS 3.0, from dell). The severity table above shows each score with its source.
Where is the official record of CVE-2018-15758?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.