{"id":"GHSA-8w27-c4vc-88q9","revision":"8693735a31d14d299141b2ca4e1965ea","records":[{"revision":"8693735a31d14d299141b2ca4e1965ea","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8w27-c4vc-88q9","aliases":["BIT-concourse-2026-49826","CVE-2026-49826","GO-2026-5866"],"title":"Concourse login flow has an open redirect issue","description":"### Impact\n\nAn attacker is able to craft and send a user a URL that will redirect the user from the Concourse web server to any other site. This could be used in a phishing attack to steal user's credentials.\n\n### Patches\n\nThis has been fixed in 8.2.3\n\n### Workarounds\n\nNone.\n\n### Exploit\n\nVulnerable code was in: https://github.com/concourse/concourse/blob/ea7b812e3a88fdd070f0faece874e8a2d4fbb31c/skymarshal/skyserver/skyserver.go#L162-L170\n\nThe issue stems from the underlying processing logic of Go's `url` package. Normally, `ParseRequestURI()` will eventually reach an internal `url.setPath()` function, where the URL will be decoded. However, if `RawPath` is not empty and `validEncoded(RawPath)` is true, and the decoded result equals `Path`, then return `RawPath` as is; otherwise, escape `Path` again, i.e., decode it again.\n\nIn other words, if the URL contains dangerous characters that should be escaped, such as backslashes (`\\`), then an extra decoding step will be performed. Therefore, `/%2Fexample.com` will be parsed as `//example.com`.\n\nOn vulnerable versions of Concourse, add `/sky/login?redirect_uri=/%252Fexample.com/\\` to your Concourse external URL, login as usual, and you should be redirected to `example.com` instead of your Concourse web server. The redirect happens after the login flow completes. No credentials are leaked.","state":0,"publishedAt":"2026-07-01T19:01:16+00:00","modifiedAt":"2026-08-19T09:55:28.952979+00:00","affected":[{"ecosystem":"Go","name":"github.com/concourse/concourse","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.6.1-0.20260526150512-ac60be5f0435"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/concourse/concourse/security/advisories/GHSA-8w27-c4vc-88q9","https://github.com/concourse/concourse/commit/ac60be5f0435b6592f5a4fcc089050d72ad2452c","https://github.com/concourse/concourse","https://github.com/concourse/concourse/releases/tag/v8.2.3"],"sourceUrl":"https://github.com/advisories/GHSA-8w27-c4vc-88q9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8w27-c4vc-88q9","identifiers":["GHSA-8w27-c4vc-88q9","BIT-concourse-2026-49826","CVE-2026-49826","GO-2026-5866"]},"retained":false,"historicalAffected":[]}],"coverage":[]}