Repository navigation
chore(deps): Update dependency astro to v7.2.8 [SECURITY] - #217
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
|
🎉 Welcome @renovate[bot]! Thank you for your first pull request to mars! We're excited to have you as a contributor. Our team will review your PR soon. In the meantime, please ensure all CI checks pass. |
renovate
Bot
force-pushed
the
renovate/npm-astro-vulnerability
branch
3 times, most recently
from
September 16, 2026 20:06
9091dcf to
06f31e9
Compare
renovate
Bot
force-pushed
the
renovate/npm-astro-vulnerability
branch
2 times, most recently
from
October 1, 2026 05:03
907854f to
eb358bb
Compare
renovate
Bot
force-pushed
the
renovate/npm-astro-vulnerability
branch
from
October 5, 2026 18:49
eb358bb to
9bf0c66
Compare
renovate
Bot
force-pushed
the
renovate/npm-astro-vulnerability
branch
from
October 13, 2026 17:15
9bf0c66 to
97e56ba
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.2.0→7.2.8Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
CVE-2026-84376 / GHSA-376h-93r7-7g6f
More information
Details
Summary
Astro stripped a configured
basepath from request pathnames using a string-prefix check that did not verify a path-segment boundary. Withbase: "/app", a request to/appX/adminwas treated as being under the base and resolved internally to the/adminroute, while middleware still observed the public pathname/appX/admin. Middleware that authorizes routes by inspectingcontext.url.pathnamecould therefore be bypassed.Impact
An unauthenticated remote attacker can bypass pathname-based middleware authorization in applications that:
base.context.url.pathname.Because routing and middleware resolved different effective pathnames, a request such as
/appX/admin(or other single-character extensions like/app2/adminor/app-/admin) reached the protected/adminroute without passing the middleware check that guards/app/admin. Astro's authentication guide demonstrates protecting routes in middleware viacontext.url.pathname, so this is a reasonable and expected pattern.Affected versions
astro<= 7.2.3.Patches
Fixed in
astro7.2.4. Base stripping now requires the pathname to equal the base without its trailing slash, or to be followed by a/, so a prefix that does not end on a path-segment boundary is no longer treated as being under the base. Routing andcontext.url.pathnamenow resolve the same pathname.Workarounds
Upgrade to
astro7.2.4 or later. As a mitigation before upgrading, avoid relying solely on prefix checks ofcontext.url.pathnamefor authorization, or reject requests whose pathname does not begin with the configured base followed by a path-segment boundary.Credits
Reported by @Ryoga-exe.
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Astro: Remote code execution through AVIF image optimization
GHSA-26w7-cxv4-gfx2
More information
Details
A vulnerability in
libheif, used by the default Sharp image service in Astro, can lead to remote code execution when a malicious AVIF image is optimized.Projects are affected when an attacker can cause Astro to process an untrusted AVIF image.
The fix was released in Astro 7.2.8, which requires Sharp 0.35.4.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).