Remote code executionin Pivotal Spring Security OAuth.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade org.springframework.security.oauth:spring-security-oauth2 (Maven) to 1.0.5, 2.0.10 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 24 May 2016CVE ID reserved by dell.
- 25 May 2017Published in the CVE List.
- 17 Feb 2020First public proof of concept on GitHub.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Spring Security OAuth vulnerabilities
- pivotal.io x_refsource_CONFIRM
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- www.openwall.com mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2016-4977: Remote code execution in Pivotal Spring Security OAuth. https://patchminder.com/cve/cve-2016-4977/ (accessed 5 December 2026).