Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

CVE-2018-1260

CRITICAL

CVE-2018-1260 is a critical-severity (CVSS 9.8) Code Injection vulnerability in org.springframework.security.oauth:spring-security-oauth2. O3 Security confirms whether CVE-2018-1260 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Spring Security OAuth vulnerable to remote code execution (RCE)

Also known asGHSA-rrpm-pj7p-7j9q
Published
May 11, 2018
Updated
Apr 10, 2026
Affected
5 pkgs
Patched
4 / 5
Exploits
None indexed

Blast Radius

5 pkgs affected
org.springframework.security.oauth:spring-security-oauth2org.springframework.security.oauth:spring-security-oauth2org.springframework.security.oauth:spring-security-oauth2org.springframework.security.oauth:spring-security-oauth2org.springframework.security.oauth:spring-security-oauth2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

5 total 4 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.springframework.security.oauth:spring-security-oauth22.3.0&&< 2.3.32.3.3
Mavenorg.springframework.security.oauth:spring-security-oauth22.2.0&&< 2.2.22.2.2
Mavenorg.springframework.security.oauth:spring-security-oauth22.1.0&&< 2.1.22.1.2
Mavenorg.springframework.security.oauth:spring-security-oauth22.0.0&&< 2.0.152.0.15
Mavenorg.springframework.security.oauth:spring-security-oauth21.0.0No fix

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.security.oauth:spring-security-oauth2. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.springframework.security.oauth:spring-security-oauth2 to 2.3.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-1260 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2018-1260 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2018-1260. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2018-1260 in your dependencies?

O3 detects CVE-2018-1260 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.