{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "6.4.7"
              },
              {
                "fixed": "6.4.8"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "910e121ad33c481dcfb4b313abd7d8ff370ee347"
            },
            {
              "fixed": "27c80ea92248993e5fce94b2c26d87d611ab6785"
            },
            {
              "fixed": "3ec2c10b1fd073916a00b60ff74d9d5bb17ad208"
            }
          ],
          "repo": "https://github.com/withastro/astro",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vj59-8hwv-xxmv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-647"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59731.json"
  },
  "details": "Astro is a web framework for content-driven websites. Version 6.4.7 performs authorization decisions on a partially decoded pathname after reaching the iterative URL decoder limit, while later rewrite route matching performs an additional decodeURI() operation and can resolve the request to a protected route. This issue is fixed in version 6.4.8.",
  "id": "CVE-2026-59731",
  "modified": "2026-07-15T01:49:02.222539565Z",
  "published": "2026-07-08T16:27:18.496Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/withastro/astro/releases/tag/astro@6.4.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59731.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/withastro/astro/security/advisories/GHSA-vj59-8hwv-xxmv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59731"
    },
    {
      "type": "FIX",
      "url": "https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785"
    },
    {
      "type": "FIX",
      "url": "https://github.com/withastro/astro/pull/17109"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch"
}