VYPR

Fastify Static

by Fastify

Source repositories

CVEs (7)

  • CVE-2021-22964HigOct 14, 2021
    risk 0.50cvss 8.8epss 0.01

    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…

  • CVE-2026-18427HigAug 6, 2026
    risk 0.49cvss 7.5epss 0.00

    @fastify/static before version 10.1.3 contains an incomplete fix for a previous route guard bypass. The static file handler rejected only parent directory segments, but it did not canonicalize dot segments, duplicate slashes, encoded dots, or backslashes before route matching…

  • CVE-2026-15074HigJul 23, 2026
    risk 0.42cvss 7.5epss 0.00

    @fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the file-resolution stage. This is a bypass of the earlier fix for CVE-2026-6414, which only covered encoded forward slashes. Because the underlying send library…

  • CVE-2021-22963MedOct 14, 2021
    risk 0.40cvss 6.1epss 0.01

    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…

  • CVE-2026-6414MedApr 16, 2026
    risk 0.31cvss 5.9epss 0.00

    @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…

  • CVE-2026-7120MedJul 23, 2026
    risk 0.27cvss 5.3epss 0.00

    @fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by…

  • CVE-2026-6410MedApr 16, 2026
    risk 0.27cvss 5.3epss 0.01

    @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…