{"answers":{"affected":"1 open source package ship an affected version, including %40fastify/reply-from.","exploited":"There is no known exploitation of CVE-2026-130886 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"Upgrade each affected package to the fixed version listed for it above. Each package has its own fixed versions.","what":"CVE-2026-130886 is a high-severity path traversal vulnerability in @fastify/reply-from, published on 19 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-130886 and fix it if it is affected.\n\nWhat it is: CVE-2026-130886 is a high-severity path traversal vulnerability in @fastify/reply-from, published on 19 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-130886 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected packages and fixed versions:\n- %40fastify/reply-from (npm): affected from 12.8.1; fixed in 12.8.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-130886/ (Markdown: https://insights.sbomify.com/CVE-2026-130886/index.md)","id":"CVE-2026-130886","markdown":"https://insights.sbomify.com/CVE-2026-130886/index.md","name":"CVE-2026-130886","record":{"aliases":["GHSA-2ccw-8rvh-6cmg"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Fastify proxy plugin","requires_auth":"none","requires_specific_call":false,"summary":"Attackers can bypass the prefix check with scheme-prefixed encoded dot-segments to reach sibling or parent upstream endpoints; Fastify apps using @fastify/reply-from should care.","user_interaction":"not_required","vuln_class":"path_traversal","vulnerable_functions":["buildURL"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"openjs","component":null,"cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions 12.8.1 through 12.8.3, its buildURL function checked the attacker-supplied source string for parent-directory segments, but when the source begins with the same special scheme as the base, such as http or https, the WHATWG URL parser drops the scheme and resolves the remainder as a relative path. A payload that glues the scheme to a percent-encoded parent-directory sequence therefore passes the check, because the inspected segment reads as the scheme plus the dots rather than a bare parent-directory token, while the proxy forwards the encoded traversal unchanged. An upstream that percent-decodes the request path before resolving dot-segments then serves a path outside the configured prefix, so an unauthenticated client scoped to an upstream prefix, or relying on Fastify route guards in front of the proxy, can escape that prefix and reach sibling or parent upstream endpoints. The per-segment check added in 12.8.1 is what the scheme prefix bypasses, and releases up to 12.8.0 already rejected the decoded form. The issue is fixed in @fastify/reply-from 12.8.4, and users should upgrade to 12.8.4 or later.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"@fastify/reply-from vulnerable to path traversal via scheme-prefixed encoded dot-segments","id":"CVE-2026-130886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":1,"n_references":2,"n_vendor_status":0,"next":{"headline":"nbdkit: qcow2dec ZSTD heap over-read via incorrect input buffer size","id":"CVE-2026-130888"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["12.8.4"],"introduced":["12.8.1"],"last_affected":[],"name_kind":null,"package":"%40fastify/reply-from","purl":"pkg:npm/%40fastify/reply-from","purl_source":"cna","scope":"upstream","source":"CVE-2026-130886"}],"prev":{"headline":"Tanium addressed an uncontrolled recursion vulnerability in Comply.","id":"CVE-2026-130885"},"products":["@fastify/reply-from"],"published":"2026-11-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-19","vendor_status":[],"vendors":["@fastify/reply-from"]},"summary":"Attackers can bypass the prefix check with scheme-prefixed encoded dot-segments to reach sibling or parent upstream endpoints; Fastify apps using @fastify/reply-from should care.","url":"https://insights.sbomify.com/CVE-2026-130886/"}