Files
vuln-cve/data/2026/6xxx/CVE-2026-6414.json
T

159 lines
6.5 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-6414",
"assignerOrgId": "ce714d77-add3-4f53-aff5-83d477b104bb",
"state": "PUBLISHED",
"assignerShortName": "openjs",
"dateReserved": "2026-04-15T23:37:33.949Z",
"datePublished": "2026-04-16T13:09:03.526Z",
"dateUpdated": "2026-04-16T13:48:52.393Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "ce714d77-add3-4f53-aff5-83d477b104bb",
"shortName": "openjs",
"dateUpdated": "2026-04-16T13:09:03.526Z"
},
"descriptions": [
{
"lang": "en",
"value": "@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.",
"supportingMedia": [
{
"type": "text/html",
"base64": false,
"value": "@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."
}
]
}
],
"affected": [
{
"vendor": "@fastify/static",
"product": "@fastify/static",
"defaultStatus": "unaffected",
"versions": [
{
"versionType": "semver",
"status": "affected",
"version": "8.0.0",
"lessThan": "9.1.1"
},
{
"versionType": "semver",
"status": "unaffected",
"version": "9.1.1"
}
],
"packageURL": "pkg:npm/@fastify/static"
}
],
"references": [
{
"url": "https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p"
},
{
"url": "https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr"
},
{
"url": "https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92"
},
{
"url": "https://cna.openjsf.org/security-advisories.html"
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "blakeembrey"
},
{
"lang": "en",
"type": "remediation developer",
"value": "mcollina"
},
{
"lang": "en",
"type": "remediation reviewer",
"value": "UlisesGascon"
},
{
"lang": "en",
"type": "remediation reviewer",
"value": "climba03003"
}
],
"title": "@fastify/static vulnerable to route guard bypass via encoded path separators",
"metrics": [
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"baseScore": 5.9,
"baseSeverity": "MEDIUM"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-177",
"lang": "en",
"description": "CWE-177: Improper Handling of URL Encoding (Hex Encoding)",
"type": "CWE"
}
]
}
],
"x_generator": {
"engine": "cve-kit 1.0.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-04-16T13:48:04.954479Z",
"id": "CVE-2026-6414",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-16T13:48:52.393Z"
}
}
]
}
}