Open redirectin the org.springframework.security.oauth:spring-security-oauth package.
Proof of concept public (Exploit-DB).
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.
- Upgrade Spring Security OAuth to 2.0.17.RELEASE, 2.1.4.RELEASE, 2.2.4.RELEASE, 2.3.5.RELEASE or later, whichever matches your release line.
- Upgrade org.springframework.security.oauth:spring-security-oauth (Maven) to 2.0.17.RELEASE, 2.1.4.RELEASE, 2.2.4.RELEASE, 2.3.5.RELEASE or later, whichever matches your release line.
- Upgrade org.springframework.security.oauth:spring-security-oauth2 (Maven) to 2.0.17.RELEASE, 2.1.4.RELEASE, 2.2.4.RELEASE, 2.3.5.RELEASE 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
- 3 Jan 2019CVE ID reserved by dell.
- 7 Mar 2019Published in the CVE List.
- 14 Oct 2019First public proof of concept on GitHub.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
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 vulnerabilities in this package
Same weakness: Open redirect
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.oracle.com x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
- pivotal.io x_refsource_CONFIRM
Patchminder. CVE-2019-3778: Open redirect in the org.springframework.security.oauth:spring-security-oauth package. https://patchminder.com/cve/cve-2019-3778/ (accessed 5 December 2026).