{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-127064","id":"CVE-2026-127064","title":"@fastify/reply-from path traversal in buildURL path validation","description":"@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions before 12.8.4, its buildURL function rejects parent-directory path segments by an exact string match, so a segment that carries a semicolon path parameter, such as a dot-dot segment followed by a semicolon and an optional parameter, is not equal to the plain dot-dot form and passes the traversal ","descriptionLong":"@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions before 12.8.4, its buildURL function rejects parent-directory path segments by an exact string match, so a segment that carries a semicolon path parameter, such as a dot-dot segment followed by a semicolon and an optional parameter, is not equal to the plain dot-dot form and passes the traversal check, and the WHATWG URL parser keeps it as an ordinary segment so the base-prefix containment check also passes. Backends that strip semicolon path parameters before resolving dot-segments, such as Apache Tomcat, Jetty, WildFly, and Spring Boot, turn the segment back into a parent-directory reference and resolve it, so an unauthenticated client can escape the intended upstream prefix and reach internal paths such as admin or internal API endpoints, including with state-changing methods. Deployments that proxy to Node.js, nginx, or Express upstreams are not affected. The issue is fixed in @fastify/reply-from 12.8.4, and users should upgrade to 12.8.4 or later.","published":"2026-11-19T18:03:39.178Z","updated":"2026-11-19T18:03:39.178Z","reserved":"2026-11-12T13:40:11.727Z","status":"PUBLISHED","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"openjs"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"openjs"}],"rating":"high","products":["@fastify/reply-from"],"affectedProducts":[{"vendor":"@fastify/reply-from","product":"@fastify/reply-from","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"0","lessThan":"12.8.4"},{"versionType":"semver","status":"unaffected","version":"12.8.4"}],"platforms":[]}],"packages":[],"cwes":["CWE-22","CWE-436"],"aliases":[],"references":[{"url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-6mph-mjg3-f943","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-127064","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127064","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-127064","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-127064","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}