patchminder
Proof of concept · GitHub CVE-2018-1260

Remote code executionin Pivotal Spring Security OAuth.

Published 11 May 2018 · Updated 17 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 10.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade org.springframework.security.oauth:spring-security-oauth2 (Maven) to 2.0.15, 2.1.2, 2.2.2, 2.3.3 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Spring Security OAuth
Not confirmed
Not confirmed
CVE record
org.springframework.security.oauth:spring-security-oauth2 (Maven)
2.3.0 to before 2.3.3
2.3.3
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
2.2.0 to before 2.2.2
2.2.2
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
2.1.0 to before 2.1.2
2.1.2
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
2.0.0 to before 2.0.15
2.0.15
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
1.0.0 to 1.0.5
Not confirmed
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Dec 2017
    CVE ID reserved by dell.
  2. 11 May 2018
    Published in the CVE List.
  3. 17 Sep 2024
    CVE record last updated.
  4. 17 Aug 2025
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundshoucheng3/SpringSource__spring-security-oauth_CVE-2018-1260_2-3-2-RELEASE0 stars · created 17 Aug 2025

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Spring Security OAuth vulnerabilities

References
Cite this page

Patchminder. CVE-2018-1260: Remote code execution in Pivotal Spring Security OAuth. https://patchminder.com/cve/cve-2018-1260/ (accessed 5 December 2026).