CVE-2026-18174Patch(fastify / fastify\/forwarded)

LOWCVSS 5.3 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch fastify fastify\/forwarded systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-20CWE-184

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • fastify\/forwarded

Threat summary

  • Patch or workaround signal is available
  • 1 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 1 signal
  • 1 total mentions across 1 day

Affected systems

Vendors
Products
fastify\/forwarded

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-07-29: 1Patch / Workaround · 2026-07-29: 1Technical Details · 2026-07-29: 107-29
Signal classification1 categories
Patch
1100.0%
Referenced assets1 URL
By indicator
Full discourse1 post
  • Ulises Gascón@kom_256
    Patch

    🚨 Medium-severity security fix in @fastify/forwarded@3.0.2 just released! Patches CVE-2026-18174: improper input validation via unstripped tab characters in X-Forwarded-For https://github.com/fastify/forwarded/security/advisories/GHSA-2849-m2w7-xm8f

    Post summary

    Fastify released version 3.0.2 to patch CVE-2026-18174, a flaw involving improper input validation of X-Forwarded-For headers. No PoC, exploit tool, or active exploitation details are disclosed.

    00010193
    5.5K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appfastifyfastify\/forwarded-node.js-

Explore more