WaratekVRT Sign in

CVE-2018-1260 Spring Security OAuth

Affected softwareSpring Security OAuth
Severity9.8 Critical CVSS 3.0 2 scores
Fixed in2.3.3, 2.2.2, 2.1.2, 2.0.15
WeaknessCode injection (CWE-94)
Published11 May 2018
Updated17 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.

  • 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

Protected by Waratek

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 file

The 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-04

How 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.

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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
PackageIntroducedFixedLast 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
SourceVendorProductSchemeAffected 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

URLTags
https://access.redhat.com/errata/RHSA-2018:1809 WEB
https://access.redhat.com/errata/RHSA-2018:2939 WEB
https://github.com/advisories/GHSA-rrpm-pj7p-7j9q ADVISORY
https://github.com/spring-attic/spring-security-oauth PACKAGE
https://pivotal.io/security/cve-2018-1260 WEB
https://web.archive.org/web/20200227123539/http://www.securityfocus.com/bid/104158 WEB
http://www.securityfocus.com/bid/104158 Third Party Advisory, VDB Entry

Timeline

Published2018-05-11By the CVE Program.
ARMR remediation created2019-08-22Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-17NVD's own last-modified date for this record.