Skip to content
Heist/ feed
Back to feed
Medium

Open Redirect When Using CookieRequestCache

Type: advisorySources: OSV

Spring Security's CookieRequestCache and CookieServerRequestCache store the pre-authentication request URL in a browser cookie so that users can be redirected back to their intended destination after a successful login. In affected versions, the full absolute URL is stored in the cookie and is used without validation as the post-login redirect target. Affected versions: Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41706
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 16:47 UTC · Revision 1

Source evidence

Open Redirect When Using CookieRequestCache

core-osv · Original source

Published 9 Jun 2026, 23:47 UTC

Spring Security's CookieRequestCache and CookieServerRequestCache store the pre-authentication request URL in a browser cookie so that users can be redirected back to their intended destination after a successful login. In affected versions, the full absolute URL is stored in the cookie and is used without validation as the post-login redirect target. Affected versions: Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.

osv:CVE-2026-41706
Complete source record
{
  "id": "0fd536f8f8f253e042b65f8cfd2353132006849faa5fe0f94aa09c976af3714d",
  "url": "https://osv.dev/vulnerability/CVE-2026-41706",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Open Redirect When Using CookieRequestCache",
    "summary": "Spring Security's CookieRequestCache and CookieServerRequestCache store the pre-authentication request URL in a browser cookie so that users can be redirected back to their intended destination after a successful login. In affected versions, the full absolute URL is stored in the cookie and is used without validation as the post-login redirect target. Affected versions: Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.",
    "evidence": "osv:CVE-2026-41706",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-41706",
      "aliases": [
        "CVE-2026-41706",
        "GHSA-x2r2-rvhq-2mqv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-security",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0fd0e9335ae3a6ff3538045d098dd6b94679d99e"
                },
                {
                  "last_affected": "0a9d4dc8fc9d303dad7fc1ee25cc7381a9888899"
                },
                {
                  "introduced": "1d99a7fb14c62354cac00412cce2071892cdf465"
                },
                {
                  "last_affected": "53bc6a77963209bb2a5f3efdd855b1f4a8051cc3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "6.5.0"
                      },
                      {
                        "last_affected": "6.5.10"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "last_affected": "7.0.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.5",
            "6.5.10",
            "7.0.4",
            "6.5.9",
            "6.5.8",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "6.5.7",
            "7.0.0",
            "6.5.6",
            "6.5.5",
            "6.5.4",
            "6.5.3",
            "6.5.1",
            "6.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41706.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.410222816Z",
      "provider": "osv",
      "references": [
        "https://spring.io/security/cve-2026-41706",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41706.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41706"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-601"
        ],
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.7.0"
                  },
                  {
                    "fixed": "5.7.24"
                  },
                  {
                    "introduced": "5.8.0"
                  },
                  {
                    "fixed": "5.8.26"
                  },
                  {
                    "introduced": "6.3.0"
                  },
                  {
                    "fixed": "6.3.17"
                  },
                  {
                    "introduced": "6.4.0"
                  },
                  {
                    "fixed": "6.4.17"
                  },
                  {
                    "introduced": "6.5.0"
                  },
                  {
                    "fixed": "6.5.10.2"
                  },
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "fixed": "7.0.5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41706.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41706",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 512452,
  "published_at": "2026-06-09T23:47:58.903+00:00"
}