CVE-2019-3778 | Open Redirect in spring-security-oauth2

Exp

Spring Security OAuth, versions 2.3 prior to 2.3.5, and 2.2 prior to 2.2.4, and 2.1 prior to 2.1.4, and 2.0 prior to 2.0.17, and older unsupported versions could be susceptible to an open redirector attack that can leak an authorization code. A malicious user or attacker can craft a request to the authorization endpoint using the authorization code grant type, and specify a manipulated redirection URI via the "redirect_uri" parameter. This can cause the authorization server to redirect the resource owner user-agent to a URI under the control of the attacker with the leaked authorization code. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and uses the DefaultRedirectResolver in the AuthorizationEndpoint. This vulnerability does not expose applications that: Act in the role of an Authorization Server and uses a different RedirectResolver implementation other than DefaultRedirectResolver, act in the role of a Resource Server only (e.g. @EnableResourceServer), act in the role of a Client only (e.g. @EnableOAuthClient).

Published: 2019-03-07 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-3778 is rated High Exploit Risk (75.5/100): CVSS Medium severity, with high exploitation likelihood (EPSS 15.62%, 96th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2019-3778

EDB-ID Source Kind Published Link
47000 exploit_db edb 2019-06-17 Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2019-3778

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 14.85% 15.62% +0.77%
2 2026-04-29 19.02% 14.85% -4.17%
3 2026-03-15 19.02%

Full EPSS history (31 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-3778

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 2.5 [email protected]
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 4.9 [email protected]

Weakness enumeration for CVE-2019-3778

GitHub Security Advisory for CVE-2019-3778

GHSA-77rv-6vfw-x4gc · Severity: medium · Ecosystem: maven — spring-security-oauth and spring-security-oauth2 Open Redirect vulnerability

OS Trackers for CVE-2019-3778

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2019-3778

Affected software / configurations for CVE-2019-3778

Vendor Product Version Raw CPE
pivotal_software spring_security_oauth >= 2.0.0, < 2.0.17 cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
pivotal_software spring_security_oauth >= 2.1.0, < 2.1.4 cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
pivotal_software spring_security_oauth >= 2.2.0, < 2.2.4 cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
pivotal_software spring_security_oauth >= 2.3.0, < 2.3.5 cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
oracle banking_corporate_lending 14.1.0 cpe:2.3:a:oracle:banking_corporate_lending:14.1.0:*:*:*:*:*:*:*
oracle banking_corporate_lending 14.3.0 cpe:2.3:a:oracle:banking_corporate_lending:14.3.0:*:*:*:*:*:*:*
oracle banking_corporate_lending 14.4.0 cpe:2.3:a:oracle:banking_corporate_lending:14.4.0:*:*:*:*:*:*:*

References for CVE-2019-3778

cvelogic Threat Intelligence