Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-18174

published medium CVSS 3.1 · 5.3

@fastify/forwarded vulnerable to improper input validation via unstripped tab characters in X-Forwarded-For

Published
29 Jul 2026, 13:46:07 UTC
Updated
29 Jul 2026, 14:54:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
@fastify/forwarded — @fastify/forwarded0 to < 3.0.2 (affected · semver) · 3.0.2 (unaffected · semver) · Other versions: unaffected Version-specific Not stated openjs

Description

@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 as an allowlist, a blocklist, a per IP rate limit key, or audit log correlation, can be evaded because the tab corrupted string no longer matches the expected value. This does not cross the trust boundary, since a tab corrupted string is not a valid IP and cannot be mistaken for a trusted proxy. The issue is fixed in @fastify/forwarded 3.0.2.

en · openjs · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
openjs · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
@fastify/forwarded @fastify/forwarded 0 to < 3.0.2 (affected · semver)3.0.2 (unaffected · semver)Default: unaffected openjs · cna

Weaknesses

2
  • CWE-20 CWE-20: Improper Input Validation (openjs · cna)
  • CWE-184 CWE-184: Incomplete List of Disallowed Inputs (openjs · cna)

References

2

Provider assertions

2

openjs · cna

@fastify/forwarded vulnerable to improper input validation via unstripped tab characters in X-Forwarded-For

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0b23b186ac5778f4ed8deea38b68159a9d8a238c64404433214abc3a60087d23
Ingested
23 Sep 2026, 09:03:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected