CVE-2026-6414

Source
https://cve.org/CVERecord?id=CVE-2026-6414
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6414.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-6414
Aliases
Related
Published
2026-04-16T13:09:03.526Z
Modified
2026-07-08T08:14:40.405176892Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
@fastify/static vulnerable to route guard bypass via encoded path separators
Details

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6414.json",
    "cna_assigner": "openjs",
    "cwe_ids": [
        "CWE-177"
    ]
}
References

Affected packages

Git / github.com/fastify/fastify-static

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-static
Events
Database specific
{
    "cpe": "cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "9.1.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

v8.*
v8.0.0
v8.0.1
v8.0.2
v8.0.3
v8.0.4
v8.1.0
v8.1.1
v8.2.0
v8.3.0
v9.*
v9.0.0
v9.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6414.json"