CVE-2016-4977 in Pivotal Spring Security Oauth
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Pivotal | Spring Security Oauth | 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5+10 more2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-4977 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-190726-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2017-05-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-19: CWE-19
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2017. A high severity vulnerability affects Pivotal systems (CVE-2016-4977). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2016-4977?
This vulnerability was disclosed in 2017. A high severity vulnerability affects Pivotal systems (CVE-2016-4977). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2016-4977?
CVE-2016-4977 has CVSS 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 80.0%.
Is CVE-2016-4977 actively exploited?
No confirmed active exploitation of CVE-2016-4977 as of 2026-09-25.
How do I remediate CVE-2016-4977?
Priority: MEDIUM. Advisory: https://pivotal.io/security/cve-2016-4977 PSIRT: [email protected]
What systems are affected by CVE-2016-4977?
CVE-2016-4977 affects Pivotal Spring Security Oauth.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Pivotal","product":"Spring Security Oauth","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.