CVE-2018-15758 Spring Security OAuth
| Affected software | Spring Security OAuth |
|---|---|
| Severity | 9.6 Critical CVSS 3.0 3 scores |
| Fixed in | 2.0.16, 2.1.3, 2.2.3.RELEASE, 2.3.4.RELEASE |
| Weakness | Improper privilege management (CWE-269) |
| Published | 18 Oct 2018 |
| Updated | 17 Jun 2026 |
Description
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).
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 8 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 2.2% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: spring-attic/spring-security-oauth 4082ec7.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
CVSS
9.6 CRITICAL
v3.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
3 metrics
CVSS
9.6 CRITICAL v3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
3 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.0 | 9.6 | CRITICAL | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
security_alert@emc.com | Secondary | published |
| CVSS 3.0 | 8.1 | HIGH | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | |
| CVSS 2.0 | 6.8 | none | AV:N/AC:M/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security.oauth:spring-security-oauth2 |
2.0.0 | 2.0.16 |
unbounded |
org.springframework.security.oauth:spring-security-oauth2 |
2.1.0 | 2.1.3 |
unbounded |
org.springframework.security.oauth:spring-security-oauth2 |
2.2.0 | 2.2.3.RELEASE |
unbounded |
org.springframework.security.oauth:spring-security-oauth2 |
2.3.0 | 2.3.4.RELEASE |
unbounded |
Products and versions
2 products, 9 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.springframework.security.oauth | spring-security-oauth2 | generic | ≥ 2.0.0 and < 2.0.16 · ≥ 2.1.0 and < 2.1.3 · ≥ 2.2.0 and < 2.2.3 · ≥ 2.3.0 and < 2.3.4 |
| nvd | pivotal software | spring security oauth | generic | ≤ 1.0.5 · ≥ 2.0.0 and < 2.0.16 · ≥ 2.1.0 and < 2.1.3 · ≥ 2.2.0 and < 2.2.3 · ≥ 2.3.0 and < 2.3.4 |
References
Timeline
Timeline
| Published | 2018-10-18 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |