# CVE-2026-59730: @astrojs/node: Backslash-prefixed paths not recognized as internal by trailing-slash redirect

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-07-20T23:22:22.000Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-r557-wffq-wvrc
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Astro is a web framework for content-driven websites. In versions 8.1.0 through 11.0.1, when trailingSlash: 'always' is configured, the @astrojs/node standalone server's static file handler appends a trailing slash to request paths and issues a 301 redirect. Paths beginning with /\ (slash-backslash) were not recognized as internal paths, so the handler would echo the raw path back in the Location header. Because browsers treat \ as / per the WHATWG URL specification, the resulting redirect could resolve to an external host. Preconditions for exploitation: trailingSlash: 'always' must be set (non-default; the default is 'ignore'), the request path must not have a file extension in its final segment, and an attacker must deliver the crafted link to a user. This issue has been fixed in version 11.0.2.

(As written by CVE List.)

## Affected

- withastro astro: >= 8.1.0, < 11.0.2
- @astrojs/node (npm): from 8.1.0 before 11.0.2

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-r557-wffq-wvrc> (web)
- <https://github.com/withastro/astro/pull/17252> (web)
- <https://github.com/withastro/astro/commit/eb6f97e391ee587747e37609c255c7cd4b9cce3c> (web)
- <https://github.com/withastro/astro/releases/tag/@astrojs/node@11.0.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59730> (advisory)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2026-59730](https://www.cve.org/CVERecord?id=CVE-2026-59730), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-r557-wffq-wvrc](https://github.com/advisories/GHSA-r557-wffq-wvrc), CC-BY-4.0, modified 2026-08-12
- NVD: [CVE-2026-59730](https://nvd.nist.gov/vuln/detail/CVE-2026-59730), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-59730 · Whole record: https://cve.day/CVE-2026-59730.json · Rebuilt by cve.day 2026-11-25T22:59:30.266Z
