CVE Explorer
CVE-2026-18174
@fastify/forwarded resolves client addresses from the X-Forwarded-For header. In versions before 3.0.2, when the header contains two or more comma separated entries, the parser trims only space characters and does not strip horizontal tabs, even though RFC 7230 defines optional whitespace as both space and tab. As a result, an entry padded with a tab keeps the literal tab in the resolved address string. Applications that make exact string match security decisions on the resolved client IP, such
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-184","description":"CWE-184: Incomplete List of Disallowed Inputs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/@fastify/forwarded","product":"@fastify/forwarded","vendor":"@fastify/forwarded","versions":[{"lessThan":"3.0.2","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"3.0.2","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-184","description":"CWE-184: Incomplete List of Disallowed Inputs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/references/1
{"url":"https://github.com/fastify/forwarded/security/advisories/GHSA-2849-m2w7-xm8f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:91a65bb84bb8eda49b3e59fe5bfc1dccaaba0c8c82c2e348f292e1b1692ae358 · sha256:6b29127ad07edd38… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.