CVE-2024-58398GHSA-wcx9-ccpj-hx3cGO-2024-3228
Coder 2.3.1 before 2.16.1 Open Redirect via Login Page redirect Parameter
coder coderGoLibraries & packages
CVSS
5.3MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.27%Chance of exploitation activity in the next 30 days, higher than 17% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 2.16.1coderCVE List
- 2.15.3coderCVE List
- 2.14.4coderCVE List
- 2.16.1github.com/coder/coder/v2, GoOSV
go get github.com/coder/coder/v2@v2.16.1 - 2.15.3github.com/coder/coder/v2, GoOSV
go get github.com/coder/coder/v2@v2.15.3 - 2.14.4github.com/coder/coder/v2, GoOSV
go get github.com/coder/coder/v2@v2.14.4
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Coder 2.3.1 before 2.14.4, 2.15.x before 2.15.3, and 2.16.0 before 2.16.1 contains an open redirect vulnerability in the login page because the redirect query parameter is improperly sanitized. Attackers can craft a Coder login URL that, when clicked by a logged-in user, redirects the victim to an attacker-controlled website for phishing.
Text from CVE List
Affected versions 10
- coderaffected: 2.16.0 before 2.16.1CVE List
- coderunaffected: 2.16.1CVE List
- coderaffected: 2.15.0 before 2.15.3CVE List
- coderunaffected: 2.15.3CVE List
- coderaffected: 2.3.1 before 2.14.4CVE List
- coderunaffected: 2.14.4CVE List
- github.com/coder/coder/v2, Gofrom 2.16.0, fixed in 2.16.1OSV
- github.com/coder/coder/v2, Go2.16.0OSV
- github.com/coder/coder/v2, Gofrom 2.15.0, fixed in 2.15.3OSV
- github.com/coder/coder/v2, Gofrom 2.3.1, fixed in 2.14.4OSV