{"id":"CVE-2025-71405","aliases":["DEBIAN-CVE-2025-71405","GHSA-vrw8-fxc6-2r93","GO-2025-3770","UBUNTU-CVE-2025-71405"],"summary":"go-chi chi before v5.2.2 Open Redirect via RedirectSlashes","published_at":"2025-06-20T16:37:47Z","modified_at":"2026-10-17T12:57:35.248794Z","products":[],"rating":{"severity":"medium","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0038799999747425318,"percentile":0.33673998713493347,"date":"2026-11-19T00:00:00Z"},"priority":6.9,"details":"chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"go-chi/chi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2"}]}],"fixed":["5.2.2"],"provider":"cvelistv5","source":"CVE-2025-71405","relation":"self"},{"ecosystem":"Debian:12","package":"golang-github-go-chi-chi","purl":"pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.7-1","5.1.0-1","5.2.0-1","5.2.3-1","5.2.5-1","5.3.0-1"],"provider":"osv","source":"DEBIAN-CVE-2025-71405","relation":"self"},{"ecosystem":"Debian:13","package":"golang-github-go-chi-chi","purl":"pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.0-1","5.2.3-1","5.2.5-1","5.3.0-1"],"provider":"osv","source":"DEBIAN-CVE-2025-71405","relation":"self"},{"ecosystem":"Debian:14","package":"golang-github-go-chi-chi","purl":"pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.3-1"}]}],"versions":["5.2.0-1"],"fixed":["5.2.3-1"],"provider":"osv","source":"DEBIAN-CVE-2025-71405","relation":"self"},{"ecosystem":"Go","package":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.2.2"}]}],"fixed":["5.2.2"],"provider":"osv","source":"GHSA-vrw8-fxc6-2r93","relation":"self"},{"ecosystem":"Go","package":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","ranges":[{"type":"SEMVER","events":[{"introduced":"5.2.1"},{"fixed":"5.2.2"}]}],"fixed":["5.2.2"],"provider":"osv","source":"GO-2025-3770","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-2","5.0.7-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.7-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.0-1","5.2.3-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.3-1","5.3.0-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:6","status":"not_affected","packages":["openshift-logging/opa-openshift-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"not_affected","packages":["multicluster-engine/managedcluster-import-controller-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines-client"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"not_affected","packages":["openshift-serverless-1/kn-plugin-event-sender-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["flightctl","flightctl-agent","flightctl-selinux","rhacm2/observatorium-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["osbuild-composer","osbuild-composer-core","osbuild-composer-dnf-json","osbuild-composer-worker"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["cri-o","openshift4/oc-mirror-plugin-rhel9","openshift4/ose-telemeter","openshift4/ose-telemeter-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","cpe":"cpe:/a:redhat:openshift:5","status":"not_affected","packages":["openshift5/ose-telemeter-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/udi-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift distributed tracing 3","cpe":"cpe:/a:redhat:openshift_distributed_tracing:3","status":"not_affected","packages":["rhosdt/tempo-gateway-opa-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["quay/quay-rhel8","quay/quay-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["satellite/iop-ingress-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Trusted Artifact Signer","cpe":"cpe:/a:redhat:trusted_artifact_signer:1","status":"not_affected","packages":["rhtas/cosign-rhel9","rhtas/rekor-backfill-redis-rhel9","rhtas/rekor-cli-rhel9","rhtas/rekor-server-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Web Terminal","cpe":"cpe:/a:redhat:webterminal:1","status":"not_affected","packages":["web-terminal/web-terminal-tooling-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Zero Trust Workload Identity Manager - Tech Preview","cpe":"cpe:/a:redhat:zero_trust_workload_identity_manager:0","status":"not_affected","packages":["zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9","zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9","zero-trust-workload-identity-manager/spiffe-spire-server-rhel9","zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-operator-bundle","zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-71405","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-71405","license":"CC-BY-4.0","published_at":"2026-08-14T11:35:23.411Z","modified_at":"2026-10-08T15:21:34.652Z","summary":"go-chi chi before v5.2.2 Open Redirect via RedirectSlashes","details":"chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","source":"CVE-2025-71405"}],"affected":[{"ecosystem":"CVE","package":"go-chi/chi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2"}]}],"fixed":["5.2.2"],"provider":"cvelistv5","source":"CVE-2025-71405","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2025-71405","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-71405","published_at":"2026-08-14T12:16:43.297Z","modified_at":"2026-10-09T09:47:31.292821Z","details":"chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/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","source":"DEBIAN-CVE-2025-71405"}],"affected":[{"ecosystem":"Debian:12","package":"golang-github-go-chi-chi","purl":"pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.7-1","5.1.0-1","5.2.0-1","5.2.3-1","5.2.5-1","5.3.0-1"],"provider":"osv","source":"DEBIAN-CVE-2025-71405","relation":"self"},{"ecosystem":"Debian:13","package":"golang-github-go-chi-chi","purl":"pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.0-1","5.2.3-1","5.2.5-1","5.3.0-1"],"provider":"osv","source":"DEBIAN-CVE-2025-71405","relation":"self"},{"ecosystem":"Debian:14","package":"golang-github-go-chi-chi","purl":"pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.3-1"}]}],"versions":["5.2.0-1"],"fixed":["5.2.3-1"],"provider":"osv","source":"DEBIAN-CVE-2025-71405","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-71405"}]},{"provider":"osv","source_id":"GHSA-vrw8-fxc6-2r93","relation":"self","url":"https://osv.dev/vulnerability/GHSA-vrw8-fxc6-2r93","license":"CC-BY-4.0","published_at":"2025-06-20T16:37:47Z","modified_at":"2026-10-02T23:30:06.689984Z","summary":"chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes","details":"### Summary\nThe RedirectSlashes function in middleware/strip.go is vulnerable to host header injection which leads to open redirect.\n\nWe consider this a **lower-severity** open redirect, as it can't be exploited from browsers or email clients (requires manipulation of a Host header).\n\n### Details\nThe RedirectSlashes method uses the Host header to construct the redirectURL at this line https://github.com/go-chi/chi/blob/master/middleware/strip.go#L55\n\nThe Host header can be manipulated by a user to be any arbitrary host. This leads to open redirect when using the RedirectSlashes middleware\n\n### PoC\nCreate a simple server which uses the RedirectSlashes middleware\n```\npackage main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\n\t\"github.com/go-chi/chi/v5\"\n\t\"github.com/go-chi/chi/v5/middleware\" // Import the middleware package\n)\n\nfunc main() {\n\t// Create a new Chi router\n\tr := chi.NewRouter()\n\n\t// Use the built-in RedirectSlashes middleware\n\tr.Use(middleware.RedirectSlashes) // Use middleware.RedirectSlashes\n\n\t// Define a route handler\n\tr.Get(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\t// A simple response\n\t\tw.Write([]byte(\"Hello, World!\"))\n\t})\n\n\t// Start the server\n\tfmt.Println(\"Starting server on :8080\")\n\thttp.ListenAndServe(\":8080\", r)\n}\n```\nRun the server `go run main.go`\n\nOnce the server is running, send a request that will trigger the RedirectSlashes function with an arbitrary Host header\n`curl -iL -H \"Host: example.com\" http://localhost:8080/test/`\n\nObserve that the request will be redirected to example.com\n\n```\ncurl -L -H \"Host: example.com\" http://localhost:8080/test/\n\n<!doctype html>\n<html>\n<head>\n    <title>Example Domain</title>\n\n    <meta charset=\"utf-8\" />\n    <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n    <style type=\"text/css\">\n    body {\n        background-color: #f0f0f2;\n        margin: 0;\n        padding: 0;\n        font-family: -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n... snipped ...\n```\nWithout the host header, the response is returned from the test server\n```\ncurl -L http://localhost:8080/test/\n\n404 page not found\n```\n\n### Impact\nAn open redirect vulnerability allows attackers to trick users into visiting malicious sites. This can lead to phishing attacks, credential theft, and malware distribution, as users trust the application’s domain while being redirected to harmful sites.\n\n### Potential mitigation\nIt seems that the purpose of the RedirectSlashes function is to redirect within the same application. In that case r.RequestURI can be used instead of r.Host by default. If there is a use case to redirect to a different host, a flag can be added to use the Host header instead. As this flag will be controlled by the developer they will make the decision of allowing redirects to arbitrary hosts  based on their judgement.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","source":"GHSA-vrw8-fxc6-2r93"}],"affected":[{"ecosystem":"Go","package":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.2.2"}]}],"fixed":["5.2.2"],"provider":"osv","source":"GHSA-vrw8-fxc6-2r93","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71405"},{"type":"WEB","url":"https://github.com/go-chi/chi/commit/1be7ad938cc9c5b39a9dea01a5c518848928ab65"},{"type":"PACKAGE","url":"https://github.com/go-chi/chi"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes"}]},{"provider":"osv","source_id":"GO-2025-3770","relation":"self","url":"https://osv.dev/vulnerability/GO-2025-3770","license":"CC-BY-4.0","published_at":"2025-07-21T15:05:07Z","modified_at":"2026-08-15T05:19:10.24679Z","summary":"Host header injection which leads to open redirect in RedirectSlashes in github.com/go-chi/chi","details":"Host header injection which leads to open redirect in RedirectSlashes in github.com/go-chi/chi","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","ranges":[{"type":"SEMVER","events":[{"introduced":"5.2.1"},{"fixed":"5.2.2"}]}],"fixed":["5.2.2"],"provider":"osv","source":"GO-2025-3770","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93"},{"type":"FIX","url":"https://github.com/go-chi/chi/commit/1be7ad938cc9c5b39a9dea01a5c518848928ab65"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2025-71405","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2025-71405","license":"CC-BY-SA-4.0","published_at":"2026-08-14T12:16:00Z","modified_at":"2026-10-17T12:57:35.248794Z","details":"chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","source":"UBUNTU-CVE-2025-71405"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2025-71405"}],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-2","5.0.7-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.7-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.0-1","5.2.3-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"golang-github-go-chi-chi","purl":"pkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.3-1","5.3.0-1"],"provider":"osv","source":"UBUNTU-CVE-2025-71405","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-71405"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-71405"},{"type":"REPORT","url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes"}]},{"provider":"redhat-vex","source_id":"CVE-2025-71405","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-71405","license":"CC-BY-4.0","published_at":"2026-08-14T11:35:23.411Z","modified_at":"2026-08-31T15:45:17Z","summary":"github.com/go-chi/chi: go-chi/chi: Open Redirect vulnerability via RedirectSlashes middleware","details":"A flaw was found in go-chi/chi. The `RedirectSlashes` middleware function incorrectly uses the Host header to build redirect URLs. A remote attacker can manipulate the Host header to redirect users to arbitrary malicious websites. This can lead to phishing attacks and credential theft.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"CVE-2025-71405"},{"type":"Red Hat","score":"Moderate","source":"CVE-2025-71405"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:6","status":"not_affected","packages":["openshift-logging/opa-openshift-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"not_affected","packages":["multicluster-engine/managedcluster-import-controller-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines-client"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"not_affected","packages":["openshift-serverless-1/kn-plugin-event-sender-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["flightctl","flightctl-agent","flightctl-selinux","rhacm2/observatorium-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["osbuild-composer","osbuild-composer-core","osbuild-composer-dnf-json","osbuild-composer-worker"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["cri-o","openshift4/oc-mirror-plugin-rhel9","openshift4/ose-telemeter","openshift4/ose-telemeter-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","cpe":"cpe:/a:redhat:openshift:5","status":"not_affected","packages":["openshift5/ose-telemeter-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/udi-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat OpenShift distributed tracing 3","cpe":"cpe:/a:redhat:openshift_distributed_tracing:3","status":"not_affected","packages":["rhosdt/tempo-gateway-opa-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["quay/quay-rhel8","quay/quay-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["satellite/iop-ingress-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Trusted Artifact Signer","cpe":"cpe:/a:redhat:trusted_artifact_signer:1","status":"not_affected","packages":["rhtas/cosign-rhel9","rhtas/rekor-backfill-redis-rhel9","rhtas/rekor-cli-rhel9","rhtas/rekor-server-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Red Hat Web Terminal","cpe":"cpe:/a:redhat:webterminal:1","status":"not_affected","packages":["web-terminal/web-terminal-tooling-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"},{"vendor":"Red Hat","product":"Zero Trust Workload Identity Manager - Tech Preview","cpe":"cpe:/a:redhat:zero_trust_workload_identity_manager:0","status":"not_affected","packages":["zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9","zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9","zero-trust-workload-identity-manager/spiffe-spire-server-rhel9","zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-operator-bundle","zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-71405"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71405.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-71405"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515993"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-71405"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71405"},{"type":"WEB","url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-71405"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71405"},{"type":"WEB","url":"https://github.com/go-chi/chi/commit/1be7ad938cc9c5b39a9dea01a5c518848928ab65"},{"type":"PACKAGE","url":"https://github.com/go-chi/chi"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-71405"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-71405"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71405.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-71405"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515993"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-71405","url":"https://www.cve.org/CVERecord?id=CVE-2025-71405","license":"CC-BY-4.0","modified_at":"2026-10-08T15:21:34.652Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2025-71405","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-71405","modified_at":"2026-10-09T09:47:31.292821Z","relation":"self"},{"provider":"osv","source_id":"GHSA-vrw8-fxc6-2r93","url":"https://osv.dev/vulnerability/GHSA-vrw8-fxc6-2r93","license":"CC-BY-4.0","modified_at":"2026-10-02T23:30:06.689984Z","relation":"self"},{"provider":"osv","source_id":"GO-2025-3770","url":"https://osv.dev/vulnerability/GO-2025-3770","license":"CC-BY-4.0","modified_at":"2026-08-15T05:19:10.24679Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2025-71405","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2025-71405","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:57:35.248794Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-71405","url":"https://access.redhat.com/security/cve/CVE-2025-71405","license":"CC-BY-4.0","modified_at":"2026-08-31T15:45:17Z","relation":"self"}]}
