Skip to content

chore(deps): update dependency @fastify/static to v9.1.1 [security]#16370

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-fastify-static-vulnerability
Open

chore(deps): update dependency @fastify/static to v9.1.1 [security]#16370
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-fastify-static-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 16, 2026

This PR contains the following updates:

Package Change Age Confidence
@fastify/static 9.0.09.1.1 age confidence

@​fastify/static vulnerable to route guard bypass via encoded path separators

CVE-2026-6414 / GHSA-x428-ghpx-8j92

More information

Details

Impact

@fastify/static v9.1.0 and earlier decodes percent-encoded path separators (%2F) before filesystem resolution, but Fastify's router treats them as literal characters. This creates a routing mismatch: route guards on /admin/* do not match /admin%2Fsecret.html, but @​fastify/static decodes it to /admin/secret.html and serves the file.

Applications that rely on route-based middleware or guards to protect files served by @​fastify/static can be bypassed with encoded path separators.

Patches

Upgrade to @fastify/static >= 9.1.1.

Workarounds

None. Upgrade to the patched version.

Severity

  • CVSS Score: 5.9 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


@​fastify/static vulnerable to path traversal in directory listing

CVE-2026-6410 / GHSA-pr96-94w5-mx2h

More information

Details

Impact

@fastify/static v9.1.0 and earlier serves directory listings outside the configured static root when the list option is enabled. A request such as /public/../outside/ causes dirList.path() to resolve a directory outside the root via path.join() without a containment check.

A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory names and filenames that should not be exposed. File contents are not disclosed.

Patches

Upgrade to @fastify/static >= 9.1.1.

Workarounds

Disable directory listing by removing the list option from the plugin configuration.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

fastify/fastify-static (@​fastify/static)

v9.1.1

Compare Source

⚠️ Security Release

This fixes CVE CVE-2026-6410 GHSA-pr96-94w5-mx2h.
This fixes CVE CVE-2026-6414 GHSA-x428-ghpx-8j92.

What's Changed

Full Changelog: fastify/fastify-static@v9.1.0...v9.1.1

v9.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: fastify/fastify-static@v9.0.0...v9.1.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Apr 16, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 16, 2026

⚠️ No Changeset found

Latest commit: e8f0863

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2026

e18e dependency analysis

No dependency warnings found.

@renovate renovate Bot force-pushed the renovate/npm-fastify-static-vulnerability branch 3 times, most recently from baa2d45 to 1efce7c Compare April 22, 2026 14:29
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] chore(deps): update dependency @fastify/static to v9.1.1 [security] - autoclosed Apr 23, 2026
@renovate renovate Bot closed this Apr 23, 2026
@renovate renovate Bot deleted the renovate/npm-fastify-static-vulnerability branch April 23, 2026 16:47
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] - autoclosed chore(deps): update dependency @fastify/static to v9.1.1 [security] Apr 23, 2026
@renovate renovate Bot reopened this Apr 23, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-static-vulnerability branch 2 times, most recently from 1efce7c to b42dbc1 Compare April 23, 2026 16:55
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] Apr 24, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] Update dependency @fastify/static to v9.1.1 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] - autoclosed Update dependency @fastify/static to v9.1.1 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-static-vulnerability branch 2 times, most recently from b42dbc1 to 43f5b72 Compare April 27, 2026 15:16
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] Update dependency @fastify/static to v9.1.1 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] - autoclosed Update dependency @fastify/static to v9.1.1 [SECURITY] Apr 28, 2026
@renovate renovate Bot reopened this Apr 28, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-static-vulnerability branch 4 times, most recently from 446c828 to 4cad4b2 Compare April 29, 2026 10:26
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] Apr 29, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] Apr 29, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] Apr 29, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-static-vulnerability branch 3 times, most recently from 00102da to d914be4 Compare May 1, 2026 15:26
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 1, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-static-vulnerability branch from d914be4 to 46985c7 Compare May 1, 2026 15:35
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 1, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 1, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 2, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 4, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 4, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 5, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-static-vulnerability branch from 46985c7 to e8f0863 Compare May 5, 2026 12:44
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 5, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 6, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 6, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 6, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 6, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 7, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 7, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 7, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/static to v9.1.1 [security] Update dependency @fastify/static to v9.1.1 [SECURITY] May 7, 2026
@renovate renovate Bot changed the title Update dependency @fastify/static to v9.1.1 [SECURITY] chore(deps): update dependency @fastify/static to v9.1.1 [security] May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants