fix(deps): update dependency @fastify/static to v10 [security]#8361
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @fastify/static to v10 [security]#8361renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
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:
^9.1.1→^10.0.0@fastify/static vulnerable to route guard bypass via path traversal
CVE-2026-15074 / GHSA-83w8-p2f5-377r
More information
Details
Impact
@fastify/staticis vulnerable to a bypass of route-based middleware and guards via non-leading..and%2E%2Epath segments.find-my-waydoes not normalize..when matching routes, so a request such as/foo/../deep/secret.txtmatches the static plugin's catch-all instead of the guarded/deep/*. ThegetPathnameForSendhelper introduced by the fix for GHSA-x428-ghpx-8j92 only guards against the%2Fvariant;..and%2E%2Esurvive thedecodeURI+encodeURIround-trip and are then collapsed away by@fastify/send'spath.normalizebefore its own traversal guard runs.Applications that rely on route-based middleware or guards to protect files served by
@fastify/staticcan be bypassed with non-leading dot-dot path segments.Patches
Upgrade to
@fastify/static10.1.1.Workarounds
Do not use route-based middlewares or guards to protect files served by
@fastify/static.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths
CVE-2026-7120 / GHSA-8pvw-jcv7-9cmj
More information
Details
Impact
@fastify/staticevaluates theallowedPathcallback before normalizing dot segments and duplicate slashes in the pathname used for file resolution. Non-canonical pathnames such as//file,/./file, or/public/../private/filebypassallowedPathfiltering while resolving to the intended file on disk.Applications that use
allowedPathas a security boundary to restrict access to specific static files or path subtrees may unintentionally expose files that were intended to be denied.Patches
Upgrade to
@fastify/static>= 10.1.2.Workarounds
None. Upgrade to the patched version.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
fastify/fastify-static (@fastify/static)
v10.1.2Compare Source
What's Changed
Full Changelog: fastify/fastify-static@v10.1.1...v10.1.2
v10.1.1Compare Source
What's Changed
Full Changelog: fastify/fastify-static@v10.1.0...v10.1.1
v10.1.0Compare Source
What's Changed
@fastify/errorfor errors and add optionsuppressWarningby @climba03003 in #599New Contributors
Full Changelog: fastify/fastify-static@v10.0.0...v10.1.0
v10.0.0Compare Source
Breaking Changes
setHeadersnow usingFastifyReplyinstead ofResponse.You should refactor your code to use the
replyhelpers.For example,
What's Changed
New Contributors
Full Changelog: fastify/fastify-static@v9.3.0...v10.0.0
v9.3.0Compare Source
What's Changed
New Contributors
Full Changelog: fastify/fastify-static@v9.2.0...v9.3.0
v9.2.0Compare Source
What's Changed
New Contributors
Full Changelog: fastify/fastify-static@v9.1.3...v9.2.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.