# CVE-2024-58398: Coder 2.3.1 before 2.16.1 Open Redirect via Login Page redirect Parameter

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-10-28T18:31:57.000Z
- Modified: 2026-11-09T10:10:00.217Z
- Also known as: GHSA-wcx9-ccpj-hx3c, GO-2024-3228
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- coder coder: from 2.16.0 before 2.16.1; from 2.15.0 before 2.15.3; from 2.3.1 before 2.14.4 (not affected: 2.16.1; 2.15.3; 2.14.4)
- github.com/coder/coder/v2 (Go): from 2.16.0 before 2.16.1; from 2.15.0 before 2.15.3; from 2.3.1 before 2.14.4
- github.com/coder/coder (Go): all versions

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/coder/coder/security/advisories/GHSA-wcx9-ccpj-hx3c> (advisory, vendor-advisory, web)
- <https://github.com/coder/coder/commit/69c1d981e3131e50d52b01f6a360abadaad699e6> (fix, patch, web)
- <https://www.vulncheck.com/advisories/coder-2.3.1-before-2.16.1-open-redirect-via-login-page-redirect-parameter> (third-party-advisory)
- <https://github.com/coder/coder> (package)

## Sources

- CVE List: [CVE-2024-58398](https://www.cve.org/CVERecord?id=CVE-2024-58398), CVE Terms of Use, modified 2026-10-21
- GitHub Advisory Database: [GHSA-wcx9-ccpj-hx3c](https://github.com/advisories/GHSA-wcx9-ccpj-hx3c), CC-BY-4.0, modified 2026-10-18
- Go Vulnerability Database: [GO-2024-3228](https://pkg.go.dev/vuln/GO-2024-3228), CC-BY-4.0, modified 2026-10-18
- NVD: [CVE-2024-58398](https://nvd.nist.gov/vuln/detail/CVE-2024-58398), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2024-58398 · Whole record: https://cve.day/CVE-2024-58398.json · Rebuilt by cve.day 2026-11-25T22:58:53.080Z
