Approved changes feed: RSS · Atom

cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorFastify (51747187-798b-5030-972d-b19db43759b4)
ProductFastify Static (65eb22db-86f3-588b-99c9-a0076332498e)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/fastify/fastify-static purl2cpe 2026-06-01 10:16:32.797826
pkg:npm/fastify-static purl2cpe 2026-06-01 10:16:32.797828

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-6414 vulnerable 2026-06-03 15:27:55.276216 @fastify/static vulnerable to route guard bypass via encoded path separators
MEDIUM (5.9)
@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: 2026-04-16T13:09:03.526Z
Updated: 2026-04-16T13:48:52.393Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-6410 vulnerable 2026-06-03 15:27:55.272295 @fastify/static vulnerable to path traversal in directory listing
MEDIUM (5.3)
@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using 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 and file names. File contents are not disclosed. Upgrade to @fastify/static 9.1.1 to fix this issue. As a workaround, disable directory listing by removing the list option from the plugin configuration.
Published: 2026-04-16T13:29:08.120Z
Updated: 2026-04-16T14:19:36.780Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-22964 vulnerable 2026-06-03 14:43:54.441667 Details available
A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote attackers to redirect Mozilla Firefox users to arbitrary websites via a double slash `//` followed by a domain: `http://localhost:3000//a//youtube.com/%2e%2e%2f%2e%2e`.A DOS vulnerability is possible if the URL contains invalid characters `curl --path-as-is "http://localhost:3000//^/.."`The issue shows up on all the `fastify-static` applications that set `redirect: true` option. By default, it is `false`.
Published: 2021-10-14T14:50:07.000Z
Updated: 2024-08-03T18:58:26.128Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-22963 vulnerable 2026-06-03 14:43:54.441236 Details available
A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbitrary websites via a double slash // followed by a domain: http://localhost:3000//google.com/%2e%2e.The issue shows up on all the fastify-static applications that set redirect: true option. By default, it is false.
Published: 2021-10-14T14:50:11.000Z
Updated: 2024-08-03T18:58:26.158Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.