CVE-2016-4977Spring Security OAuth Vulnerability
Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views
Published May 25, 2017 · Updated Oct 24, 2026 · Also known as GHSA-7q9c-h23x-65fq
Key Facts
Patch immediately- CVE-2016-4977 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Spring Security OAuth (Pivotal), org.springframework.security.oauth:spring-security-oauth2 (maven).
- It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Aug 14, 2024. No public exploit code is known.
- EPSS estimates a 80% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.springframework.security.oauth:spring-security-oauth2 1.0.5, org.springframework.security.oauth:spring-security-oauth2 2.0.10.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
8.8
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
80%
Higher than 99.6% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
61/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Aug 14, 2024
2638 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
7
Reports of active use
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2016-4977
- advisoryGHSA advisory
Description
When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CIRCL KEV | Aug 14, 2024 | n/a | Not reported |
| Industry KEV feed | Aug 14, 2024 | n/a | Not reported |
Affected Products
18 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Spring Security OAuthPivotal | 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 2.0.0, 2.0.1 | n/a |
| org.springframework.security.oauth:spring-security-oauth2maven | >= 2.0.0 | 1.0.5 |
Patched Releases
org.springframework.security.oauth:spring-security-oauth2
1.0.5, 2.0.10
Timeline
Publicly disclosed
May 25, 2017
Added to CIRCL KEV
Aug 14, 2024
Added to Industry KEV feed
Aug 14, 2024
Last updated
Oct 24, 2026
Weakness Type
- CWE-19
References
- advisorynvd.nist.gov · CVE-2016-4977
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.
Affected: Spring Security OAuth (Pivotal) versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 2.0.0, 2.0.1; org.springframework.security.oauth:spring-security-oauth2 (maven) versions >= 2.0.0. The full list is in the CVE brief.
It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Aug 14, 2024.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including org.springframework.security.oauth:spring-security-oauth2 1.0.5, org.springframework.security.oauth:spring-security-oauth2 2.0.10.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2016-4977 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo