Web Framework Vulnerability in Astro Affects Static File Handling
CVE-2026-59730

2.1LOW

Key Information:

Vendor

Withastro

Status
Vendor
CVE Published:
27 July 2026

What is CVE-2026-59730?

Astro, a web framework designed for content-driven websites, has a redirect vulnerability affecting versions 8.1.0 through 11.0.1. When the configuration 'trailingSlash: always' is enabled, the @astrojs/node standalone server improperly handles static file requests by appending a trailing slash to the paths. This misconfiguration leads to echoing raw paths that can inadvertently cause redirects to external hosts. This occurs under specific conditions: the configured paths must lack a file extension in their last segment, and an attacker must successfully entice a user to follow a malicious link. The vulnerability has been addressed in version 11.0.2.

Affected Version(s)

astro >= 8.1.0, < 11.0.2

References

CVSS V4

Score:
2.1
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.