{"id":"CVE-2026-142301","aliases":["EUVD-2026-141705","GHSA-p9hq-8xx5-hh59"],"status":"published","title":"Cosmos Server through 0.24.1 Open Redirect via Backslash Path After OpenID Login","description":"Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint that allows unauthenticated attackers to redirect users by supplying backslash-prefixed paths on auth-protected routes. Attackers can send links like /%5Cevil.example/ that, after OpenID login, produce a protocol-relative Location header redirecting victims to attacker-controlled phishing sites.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-05","score":0.00463,"percentile":0.41847,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-601"],"published":"2026-12-02T16:48:52Z","modified":"2026-12-05T20:45:41Z","products":[{"vendor":"azukaar","product":"cosmos server"}],"references":[{"url":"https://github.com/azukaar/Cosmos-Server/blob/v0.24.1/src/proxy/app_gate.go#L14-L21","tags":["technical-description","article"]},{"url":"https://github.com/azukaar/Cosmos-Server/blob/v0.24.1/src/authorizationserver/oauth2.go#L227-L245","tags":["technical-description","article"]},{"url":"https://github.com/azukaar/Cosmos-Server/blob/v0.24.1/src/authorizationserver/oauth2.go#L378-L382","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/cosmos-server-through-0.24.1-open-redirect-via-backslash-path-after-openid-login","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142301","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-p9hq-8xx5-hh59"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142301.json","tags":["advisory"]},{"url":"https://github.com/azukaar/Cosmos-Server","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142301","title":"Cosmos Server through 0.24.1 Open Redirect via Backslash Path After OpenID Login","description":"Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint that allows unauthenticated attackers to redirect users by supplying backslash-prefixed paths on auth-protected routes. Attackers can send links like /%5Cevil.example/ that, after OpenID login, produce a protocol-relative Location header redirecting victims to attacker-controlled phishing sites.","status":"published","published":"2026-12-02T16:48:52.848Z","modified":"2026-12-02T19:38:49.853Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-601"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T19:49:07.438589Z"}],"euvd":[{"id":"EUVD-2026-141705","description":"Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint that allows unauthenticated attackers to redirect users by supplying backslash-prefixed paths on auth-protected routes. Attackers can send links like /%5Cevil.example/ that, after OpenID login, produce a protocol-relative Location header redirecting victims to attacker-controlled phishing sites.","status":"published","published":"2026-12-02T16:48:52Z","modified":"2026-12-02T19:38:49Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium"}],"updated_at":"2026-12-02T21:27:14.996464Z"}],"ghsa":[{"id":"GHSA-p9hq-8xx5-hh59","title":"Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint...","description":"Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint that allows unauthenticated attackers to redirect users by supplying backslash-prefixed paths on auth-protected routes. Attackers can send links like /%5Cevil.example/ that, after OpenID login, produce a protocol-relative Location header redirecting victims to attacker-controlled phishing sites.","status":"published","published":"2026-12-02T18:31:52Z","modified":"2026-12-02T18:31:54Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-12-02T18:38:44.755025Z"}],"nvd":[{"id":"CVE-2026-142301","description":"Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint that allows unauthenticated attackers to redirect users by supplying backslash-prefixed paths on auth-protected routes. Attackers can send links like /%5Cevil.example/ that, after OpenID login, produce a protocol-relative Location header redirecting victims to attacker-controlled phishing sites.","status":"published","published":"2026-12-02T17:17:59.683Z","modified":"2026-12-04T16:38:28.523Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-601"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T20:26:13.686818Z"}],"osv":[{"id":"CVE-2026-142301","title":"Cosmos Server through 0.24.1 Open Redirect via Backslash Path After OpenID Login","description":"Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint that allows unauthenticated attackers to redirect users by supplying backslash-prefixed paths on auth-protected routes. Attackers can send links like /%5Cevil.example/ that, after OpenID login, produce a protocol-relative Location header redirecting victims to attacker-controlled phishing sites.","status":"published","published":"2026-12-02T16:48:52.848Z","modified":"2026-12-05T20:45:41.43594934Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
