CVE-2018-1260 Spring Security OAuth
| Affected software | Spring Security OAuth |
|---|---|
| Severity | 9.8 Critical CVSS 3.0 2 scores |
| Fixed in | 2.3.3, 2.2.2, 2.1.2, 2.0.15 |
| Weakness | Code injection (CWE-94) |
| Published | 11 May 2018 |
| Updated | 17 Jun 2026 |
Description
Spring Security OAuth, versions 2.3 prior to 2.3.3, 2.2 prior to 2.2.2, 2.1 prior to 2.1.2, 2.0 prior to 2.0.15 and older unsupported versions contains a remote code execution vulnerability. A malicious user or attacker can craft an authorization request to the authorization endpoint that can lead to remote code execution when the resource owner is forwarded to the approval endpoint.
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 11% chance in 30 days A model's forecast, not a report of exploitation. Higher than 96% of all scored CVEs.
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full
- Action available patch rule
- Review human ARMR file
- Record active
| Decided by | An ARMR patch file on disk for this CVE |
|---|---|
| Finding | CVE has an ARMR patch rule that provides mitigation |
ARMR rule files
1 fileThe rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.
CVE-2018-1260.armr patch rule, ARMR 2.6 added 2019-08-22 updated 2026-03-04How to mitigate CVE-2018-1260
Upgrade Spring Security OAuth to a release that fixes it: 2.3.3, 2.2.2, 2.1.2 or 2.0.15. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.
CVSS
9.8 CRITICAL
v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 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.8 | CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/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.3.0 | 2.3.3 |
unbounded |
org.springframework.security.oauth:spring-security-oauth2 |
2.2.0 | 2.2.2 |
unbounded |
org.springframework.security.oauth:spring-security-oauth2 |
2.1.0 | 2.1.2 |
unbounded |
org.springframework.security.oauth:spring-security-oauth2 |
2.0.0 | 2.0.15 |
unbounded |
org.springframework.security.oauth:spring-security-oauth2 |
1.0.0 | none | 1.0.5 |
Products and versions
2 products, 9 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.springframework.security.oauth | spring-security-oauth2 | generic | ≥ 1.0.0 and ≤ 1.0.5 · ≥ 2.0.0 and < 2.0.15 · ≥ 2.1.0 and < 2.1.2 · ≥ 2.2.0 and < 2.2.2 · ≥ 2.3.0 and < 2.3.3 |
| nvd | pivotal software | spring security oauth | generic | ≤ 2.0.14 · ≥ 2.1 and ≤ 2.1.1 · ≥ 2.2 and ≤ 2.2.1 · ≥ 2.3 and ≤ 2.3.2 |
References
Timeline
Timeline
| Published | 2018-05-11 | By the CVE Program. |
|---|---|---|
| ARMR remediation created | 2019-08-22 | Earliest commit adding this CVE's ARMR patch or security rule. |
| ARMR remediation last updated | 2026-03-04 | Most recent commit touching this CVE's ARMR patch or security rule. |
| Last VRT activity | 2026-03-04 | Most recent commit touching this CVE's classification, patch or rule file. |
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |