Security mailing lists by PureSourceCode

CVE-2026-6414

MEDIUM 5.9CVSS 3.1

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

@fastify/static versions 8.0.0 through 9.1.0 decode percent-encoded path separators (%2F) before filesystem resolution, while Fastify's router treats them as literal characters. This mismatch allows attackers to bypass route-based middleware or guards that protect files served by @fastify/static. For example, a route guard on a protected path can be circumvented by encoding the path separator in the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.

Published
16 Apr 2026
Last modified
8 Jul 2026
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
NVD status
Analyzed
Weakness
CWE-177
Also known as
GHSA-x428-ghpx-8j92
Sources
NVDJSONOSV GHSA-x428-ghpx-8j92JSON

Scores

SourceScored byVersionScoreVector / decision
NVD ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fastify fastify-static
cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*
>= 8.0.0, < 9.1.1 9.1.1
OSV npm @fastify/static >= 8.0.0, < 9.1.1 9.1.1

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 16 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.