Skip to content
On CISA KEVHigh

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

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

CatalogAddedRemediation dueRansomware use
CIRCL KEVAug 14, 2024n/aNot reported
Industry KEV feedAug 14, 2024n/aNot reported

Affected Products

18 affected entries in total
ProductAffected versionsFixed in
Spring Security OAuthPivotal1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 2.0.0, 2.0.1n/a
org.springframework.security.oauth:spring-security-oauth2maven>= 2.0.01.0.5

Patched Releases

org.springframework.security.oauth:spring-security-oauth2

1.0.5, 2.0.10

Timeline

  1. Publicly disclosed

    May 25, 2017

  2. Added to CIRCL KEV

    Aug 14, 2024

  3. Added to Industry KEV feed

    Aug 14, 2024

  4. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-19

References

15 more references in the full CVE brief

FAQ

Common Questions.

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

More vulnerabilities

Figures as of Dec 3, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.