CVE Professor
›
Back
CVE-2026-18504

CVE-2026-18504 — Fastify Fastify (tüm Sürümler) — CWE-20

MEDIUM CVSS 5.4 NVD

CVE-2026-18504 is a MEDIUM severity security vulnerability (CWE-20) (CVSS 5.4/10) affecting Fastify Fastify (tüm Sürümler). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with low-privileged access (PR:L) with zero user interaction (UI:N), posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

fastify is a fast and low overhead web framework for Node.js. Versions of fastify before 5.12.1 are affected by a schema validation bypass when a request body schema targets a root primitive value. When the schema validates a top-level primitive such as an integer, Ajv can coerce a JSON string into the expected type during validation, but Fastify does not replace the root request body with the coerced value, so the route handler receives the original unvalidated string. As a result, a request that should have failed validation can reach application logic with a value that does not satisfy the schema, which can undermine integrity and access-control checks that rely on the validated type. Users should upgrade to fastify 5.12.1, which fixes the mismatch. No known workarounds are available.

Published 18.08.2026
ISO Date 2026-08-18
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-18504
CVSS 5.4/10 · MEDIUM · 18.08.2026
CWE: CWE-20
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: fastify is a fast and low overhead web framework for Node.js. Versions of fastify before 5.12.1 are affected by a schema validation bypass when a request body schema targets a root primitive value. When the schema validates a top-level primitive such as an integer, Ajv can coerce a JSON string into the expected type during validation, but Fastify does not replace the root request body with the …
Affected: fastify:fastify

⚡ ATTACK CHAIN
Remotely over internet | low-privilege account | no user interaction | low complexity.

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for fastify:fastify.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="fastify fastify"
CVSS Score
5.4 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-20
Affected Products (1)
fastify:fastify (tüm sürümler)
References & Advisories (2)
github.com advisory
Related CVEs
9.8
CVE-2026-63189
Dialoqbase is an application for creating chatbots. Prior to 1.11.5, the unauthenticated GET /api/v1/view/* ro
9.6
CVE-2026-130783
Incus before 7.6.0 exposes certificate and cluster join token secrets through the default project event stream
8.8
CVE-2026-130741
Grav from 2.0.0 before 2.2.18 contains a Twig sandbox bypass vulnerability that allows publishers to read any
8.8
CVE-2026-130702
NocoDB before 2026.10.0 contains an account takeover vulnerability that allows users with the base creator rol
8.7
CVE-2026-77295
MyMangaDB is a self-hosted manga collection manager with automatic metadata, MyAnimeList import, Docker suppor
8.7
CVE-2026-130685
vLLM from 0.28.0 before 0.33.0 contains an improper input validation vulnerability that allows unauthenticated