Home / Pivotal / Spring Security OAuth / CVE-2016-4977
CVE-2016-4977: is it exploited, and which versions of Pivotal Spring Security OAuth are affected and fixed?
CVE-2016-4977 is a Remote Code Execution vulnerability in Pivotal Spring Security OAuth. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: org.springframework.security.oauth:spring-security-oauth2 from 2.0.0 before 2.0.10 and org.springframework.security.oauth:spring-security-oauth2 from 1.0.0 before 1.0.5 (GitHub advisory GHSA-7q9c-h23x-65fq). Fixed in 2.0.10 and 1.0.5 (GitHub advisory GHSA-7q9c-h23x-65fq). Severity: High (8.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:41 UTC.
What is CVE-2016-4977?
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.
From the CVE record by dell, last updated August 6, 2024, 00:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Pivotal | Spring Security OAuth | 2.0.0 to 2.0.9 1.0.0 to 1.0.5 |
As the CVE record by dell states it, last updated August 6, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 2.0.0, < 2.0.10 | 2.0.10 | GHSA-7q9c-h23x-65fq |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 1.0.0, < 1.0.5 | 1.0.5 | GHSA-7q9c-h23x-65fq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 14, 2024. Summary: Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pivotal | spring security oauth | 1.0.0 | application |
| pivotal | spring security oauth | 1.0.1 | application |
| pivotal | spring security oauth | 1.0.2 | application |
| pivotal | spring security oauth | 1.0.3 | application |
| pivotal | spring security oauth | 1.0.4 | application |
| pivotal | spring security oauth | 1.0.5 | application |
| pivotal | spring security oauth | 2.0.0 | application |
| pivotal | spring security oauth | 2.0.1 | application |
| pivotal | spring security oauth | 2.0.2 | application |
| pivotal | spring security oauth | 2.0.3 | application |
| pivotal | spring security oauth | 2.0.4 | application |
| pivotal | spring security oauth | 2.0.5 | application |
| pivotal | spring security oauth | 2.0.6 | application |
| pivotal | spring security oauth | 2.0.7 | application |
| pivotal | spring security oauth | 2.0.8 | application |
| pivotal | spring security oauth | 2.0.9 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:48 UTC.
How severe is CVE-2016-4977?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-4977 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 80.0% probability of exploitation activity in the next 30 days, percentile 99.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://pivotal.io/security/cve-2016-4977 x_refsource_CONFIRM
- [fineract-dev] 20191016 [CVE-2016-4977] Apache Fineract remote code execution vulnerabilities fixed in v1.3.0 mailing-list, x_refsource_MLIST
- [fineract-dev] 20191016 Re: [CVE-2016-4977] Apache Fineract remote code execution vulnerabilities fixed in v1.3.0 mailing-list, x_refsource_MLIST
- [oss-security] 20191015 Fwd: [CVE-2016-4977] Apache Fineract remote code execution vulnerabilities fixed in v1.3.0 mailing-list, x_refsource_MLIST
- [announce] 20191016 [CVE-2016-4977] Apache Fineract remote code execution vulnerabilities fixed in v1.3.0 mailing-list, x_refsource_MLIST
- [fineract-dev] 20191021 Re: [CVE-2016-4977] Apache Fineract remote code execution vulnerabilities fixed in v1.3.0 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- May 24, 2016
- Published
- May 25, 2017, 17:00 UTC
- CVE record updated
- August 6, 2024, 00:46 UTC by dell
- NVD
- Modified, last modified June 17, 2026, 00:48 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:41 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Security OAuth?
- Oct 18, 2018CVE-2018-15758 Pivotal Spring Security OAuth: privilege escalation (improper privilege management)
- May 11, 2018CVE-2018-1260 Pivotal Spring Security OAuth: code injection (remote code execution)
Every CVE in Spring Security OAuth
Questions about CVE-2016-4977
Is CVE-2016-4977 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 80.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pivotal Spring Security OAuth are affected by CVE-2016-4977?
org.springframework.security.oauth:spring-security-oauth2 from 2.0.0 before 2.0.10 and org.springframework.security.oauth:spring-security-oauth2 from 1.0.0 before 1.0.5, per the GitHub advisory GHSA-7q9c-h23x-65fq. The tables above give every range the sources list.
Which version fixes CVE-2016-4977?
2.0.10 and 1.0.5, per the GitHub advisory GHSA-7q9c-h23x-65fq. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-4977?
High (8.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-4977?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.