cve.bz

CVE-2018-1260 pivotal software spring security oauth: Code Injection

9.8 criticalEPSS 11%Fix available

Critical (9.8) in pivotal software spring security oauth. EPSS 11% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security.oauth:spring-security-oauth2 2.0.15, 2.1.2, 2.2.2.

On this page
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.

Severity

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
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1260 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1260?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1260?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1260 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pivotal_software:spring_security_oauththrough 2.0.14
pivotal_software:spring_security_oauthfrom 2.1 through 2.1.1
pivotal_software:spring_security_oauthfrom 2.2 through 2.2.1
pivotal_software:spring_security_oauthfrom 2.3 through 2.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rrpm-pj7p-7j9qMavenorg.springframework.security.oauth:spring-security-oauth2>=2.3.0 <2.3.32.3.3
GHSA-rrpm-pj7p-7j9qMavenorg.springframework.security.oauth:spring-security-oauth2>=2.2.0 <2.2.22.2.2
GHSA-rrpm-pj7p-7j9qMavenorg.springframework.security.oauth:spring-security-oauth2>=2.1.0 <2.1.22.1.2
GHSA-rrpm-pj7p-7j9qMavenorg.springframework.security.oauth:spring-security-oauth2>=2.0.0 <2.0.152.0.15
GHSA-rrpm-pj7p-7j9qMavenorg.springframework.security.oauth:spring-security-oauth2>=1.0.0 <=1.0.5no fix published

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8Fixed 2018-10-17RHSA-2018:2939
Text-Only RHOARFixed 2018-06-07RHSA-2018:1809
Red Hat JBoss Fuse Integration Service 2spring-security-oauthAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1260.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON