{"answers":{"affected":"8 open source packages ship an affected version, including github.com/coder/coder/v2 and github.com/coder/coder.","exploited":"There is no known exploitation of CVE-2024-58398 in the wild and no public exploit code.","fix":"Upgrade github.com/coder/coder/v2 to a fixed version for your release line: 2.15.3, 2.16.1 or 2.14.4.","what":"CVE-2024-58398 is a medium-severity vulnerability in coder, published on 17 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-58398 and fix it if it is affected.\n\nWhat it is: CVE-2024-58398 is a medium-severity vulnerability in coder, published on 17 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-58398 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/coder/coder/v2 (Go): affected from 2.15.0; fixed in 2.15.3\n- github.com/coder/coder/v2 (Go): affected from 2.15.0; fixed in 2.15.3\n- github.com/coder/coder/v2 (Go): affected from 2.16.0; fixed in 2.16.1\n- github.com/coder/coder/v2 (Go): affected from 2.16.0; fixed in 2.16.1\n- github.com/coder/coder/v2 (Go): affected from 2.3.1; fixed in 2.14.4, 2.15.3, 2.16.1\n- github.com/coder/coder/v2 (Go): affected from 2.3.1; fixed in 2.14.4\n- github.com/coder/coder/v2 (Go): affected from 2.3.1; fixed in 2.14.4\n- github.com/coder/coder (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-58398/ (Markdown: https://insights.sbomify.com/CVE-2024-58398/index.md)","id":"CVE-2024-58398","markdown":"https://insights.sbomify.com/CVE-2024-58398/index.md","name":"CVE-2024-58398","record":{"aliases":["GHSA-7pxf-q642-mp95","GHSA-wcx9-ccpj-hx3c","GO-2024-3228"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Coder web application","requires_auth":"none","summary":"Attackers can craft malicious login URLs to redirect logged-in users to attacker-controlled sites, facilitating phishing attacks against Coder users.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Coder 2.3.1 before 2.16.1 Open Redirect via Login Page redirect Parameter","id":"CVE-2024-58398","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2024"},"n_packages":8,"n_references":3,"next":{"headline":"llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets","id":"CVE-2024-58399"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","source":"GO-2024-3228"},{"ecosystem":"Go","fixed":["2.15.3"],"introduced":["2.15.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":null,"source":"GHSA-wcx9-ccpj-hx3c"},{"ecosystem":"Go","fixed":["2.15.3"],"introduced":["2.15.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GHSA-wcx9-ccpj-hx3c"},{"ecosystem":"Go","fixed":["2.16.1"],"introduced":["2.16.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":null,"source":"GHSA-wcx9-ccpj-hx3c"},{"ecosystem":"Go","fixed":["2.16.1"],"introduced":["2.16.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GHSA-wcx9-ccpj-hx3c"},{"ecosystem":"Go","fixed":["2.14.4","2.15.3","2.16.1"],"introduced":["2.3.1","2.15.0","2.16.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GO-2024-3228"},{"ecosystem":"Go","fixed":["2.14.4"],"introduced":["2.3.1"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":null,"source":"GHSA-wcx9-ccpj-hx3c"},{"ecosystem":"Go","fixed":["2.14.4"],"introduced":["2.3.1"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GHSA-wcx9-ccpj-hx3c"}],"prev":{"headline":"MP4v2 through 2.1.3 Heap Out-of-Bounds Read via MP4File::GetChapters","id":"CVE-2024-58397"},"products":["coder"],"published":"2026-10-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-21","vendors":["coder"]},"summary":"Attackers can craft malicious login URLs to redirect logged-in users to attacker-controlled sites, facilitating phishing attacks against Coder users.","url":"https://insights.sbomify.com/CVE-2024-58398/"}