{"id":"CVE-2026-18504","aliases":["CLSA-2026-1788431312","CLSA-2026-1789896356","CLSA-2026-1789917910","CLSA-2026-1794841725","GHSA-w2qp-rph6-63g4"],"summary":"fastify vulnerable to schema validation bypass via root primitive coercion mismatch","published_at":"2026-08-18T20:19:12.611Z","modified_at":"2026-11-17T01:15:04.599654Z","products":[],"rating":{"severity":"medium","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.00279999990016222,"percentile":0.20869000256061554,"date":"2026-11-19T00:00:00Z"},"priority":6.4,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"fastify/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.12.1"}]}],"fixed":["5.12.1"],"provider":"cvelistv5","source":"CVE-2026-18504","relation":"self"},{"ecosystem":"NVD","package":"fastify:fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.12.1"}]}],"fixed":["5.12.1"],"provider":"nvd","source":"CVE-2026-18504","relation":"self"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.29.1-tuxcare.0"},{"fixed":"4.29.1-tuxcare.3"}]}],"versions":["4.29.1","4.29.1-tuxcare.1","4.29.1-tuxcare.2"],"fixed":["4.29.1-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1788431312","relation":"self"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.4-tuxcare.0"},{"fixed":"5.7.4-tuxcare.2"}]}],"versions":["5.7.4","5.7.4-tuxcare.1"],"fixed":["5.7.4-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1789755224","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.12.0-tuxcare.0"},{"fixed":"5.12.0-tuxcare.1"}]}],"versions":["5.12.0"],"fixed":["5.12.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1789896330","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.3-tuxcare.0"},{"fixed":"5.11.3-tuxcare.3"}]}],"versions":["5.11.3","5.11.3-tuxcare.1","5.11.3-tuxcare.2"],"fixed":["5.11.3-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1789896356","relation":"self"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.1-tuxcare.0"},{"fixed":"5.2.1-tuxcare.1"}]}],"versions":["5.2.1"],"fixed":["5.2.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1789906142","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.29.5-tuxcare.0"},{"fixed":"3.29.5-tuxcare.6"}]}],"versions":["3.29.5","3.29.5-tuxcare.1","3.29.5-tuxcare.2","3.29.5-tuxcare.3","3.29.5-tuxcare.4","3.29.5-tuxcare.5"],"fixed":["3.29.5-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1789917910","relation":"self"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.28.1-tuxcare.0"},{"fixed":"4.28.1-tuxcare.1"}]}],"versions":["4.28.1"],"fixed":["4.28.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794060794","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.25.2-tuxcare.0"},{"fixed":"4.25.2-tuxcare.1"}]}],"versions":["4.25.2"],"fixed":["4.25.2-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794673902","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.3-tuxcare.0"},{"fixed":"5.8.3-tuxcare.1"}]}],"versions":["5.8.3"],"fixed":["5.8.3-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794820976","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.4-tuxcare.0"},{"fixed":"5.8.4-tuxcare.2"}]}],"versions":["5.8.4","5.8.4-tuxcare.1"],"fixed":["5.8.4-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1794825473","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.5-tuxcare.0"},{"fixed":"5.8.5-tuxcare.3"}]}],"versions":["5.8.5","5.8.5-tuxcare.1","5.8.5-tuxcare.2"],"fixed":["5.8.5-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1794827411","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.2-tuxcare.0"},{"fixed":"5.8.2-tuxcare.3"}]}],"versions":["5.8.2","5.8.2-tuxcare.1","5.8.2-tuxcare.2"],"fixed":["5.8.2-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1794841725","relation":"self"},{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0-tuxcare.0"},{"fixed":"5.9.0-tuxcare.1"}]}],"versions":["5.9.0"],"fixed":["5.9.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794919783","relation":"upstream"},{"ecosystem":"npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.12.1"}]}],"fixed":["5.12.1"],"provider":"osv","source":"GHSA-w2qp-rph6-63g4","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-18504"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-core-bff-rhel9","rhoai/odh-dashboard-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-mod-arch-agent-ops-rhel9","rhoai/odh-mod-arch-automl-rhel9","rhoai/odh-mod-arch-autorag-rhel9","rhoai/odh-mod-arch-eval-hub-rhel9","rhoai/odh-mod-arch-gen-ai-rhel9","rhoai/odh-mod-arch-maas-rhel9","rhoai/odh-mod-arch-mlflow-rhel9","rhoai/odh-mod-arch-model-registry-rhel9"],"package_count":11,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-18504"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-18504"}],"records":[{"provider":"osv","source_id":"CLSA-2026-1789755224","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1789755224","published_at":"2026-09-18T18:13:44Z","modified_at":"2026-10-15T09:47:56.115542Z","summary":"TuxCare security update for fastify (2 CVEs)","details":"TuxCare rebuilt fastify to address 2 CVEs. Fixed in 5.7.4-tuxcare.2.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.4-tuxcare.0"},{"fixed":"5.7.4-tuxcare.2"}]}],"versions":["5.7.4","5.7.4-tuxcare.1"],"fixed":["5.7.4-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1789755224","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1789896330","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1789896330","published_at":"2026-09-20T09:25:30Z","modified_at":"2026-10-15T09:47:56.251234Z","summary":"TuxCare security update for fastify (2 CVEs)","details":"TuxCare rebuilt fastify to address 2 CVEs. Fixed in 5.12.0-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.12.0-tuxcare.0"},{"fixed":"5.12.0-tuxcare.1"}]}],"versions":["5.12.0"],"fixed":["5.12.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1789896330","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1789906142","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1789906142","published_at":"2026-09-20T12:09:02Z","modified_at":"2026-10-15T09:46:02.760386Z","summary":"TuxCare security update for fastify (3 CVEs)","details":"TuxCare rebuilt fastify to address 3 CVEs. Fixed in 5.2.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.1-tuxcare.0"},{"fixed":"5.2.1-tuxcare.1"}]}],"versions":["5.2.1"],"fixed":["5.2.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1789906142","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1794060794","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1794060794","published_at":"2026-11-07T15:13:14Z","modified_at":"2026-11-07T19:00:36.656813Z","summary":"TuxCare security update for fastify (6 CVEs)","details":"TuxCare rebuilt fastify to address 6 CVEs. Fixed in 4.28.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.28.1-tuxcare.0"},{"fixed":"4.28.1-tuxcare.1"}]}],"versions":["4.28.1"],"fixed":["4.28.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794060794","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1794673902","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1794673902","published_at":"2026-11-14T17:31:43Z","modified_at":"2026-11-14T19:15:05.439831Z","summary":"TuxCare security update for fastify (4 CVEs)","details":"TuxCare rebuilt fastify to address 4 CVEs. Fixed in 4.25.2-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.25.2-tuxcare.0"},{"fixed":"4.25.2-tuxcare.1"}]}],"versions":["4.25.2"],"fixed":["4.25.2-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794673902","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1794820976","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1794820976","published_at":"2026-11-16T10:22:57Z","modified_at":"2026-11-16T15:00:04.324763Z","summary":"TuxCare security update for fastify (6 CVEs)","details":"TuxCare rebuilt fastify to address 6 CVEs. Fixed in 5.8.3-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.3-tuxcare.0"},{"fixed":"5.8.3-tuxcare.1"}]}],"versions":["5.8.3"],"fixed":["5.8.3-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794820976","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1794825473","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1794825473","published_at":"2026-11-16T11:37:53Z","modified_at":"2026-11-16T15:00:07.458794Z","summary":"TuxCare security update for fastify (3 CVEs)","details":"TuxCare rebuilt fastify to address 3 CVEs. Fixed in 5.8.4-tuxcare.2.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.4-tuxcare.0"},{"fixed":"5.8.4-tuxcare.2"}]}],"versions":["5.8.4","5.8.4-tuxcare.1"],"fixed":["5.8.4-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1794825473","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1794827411","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1794827411","published_at":"2026-11-16T12:10:11Z","modified_at":"2026-11-16T15:00:07.96092Z","summary":"TuxCare security update for fastify (2 CVEs)","details":"TuxCare rebuilt fastify to address 2 CVEs. Fixed in 5.8.5-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.5-tuxcare.0"},{"fixed":"5.8.5-tuxcare.3"}]}],"versions":["5.8.5","5.8.5-tuxcare.1","5.8.5-tuxcare.2"],"fixed":["5.8.5-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1794827411","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1794919783","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1794919783","published_at":"2026-11-17T13:49:44Z","modified_at":"2026-11-17T19:45:06.341745Z","summary":"TuxCare security update for fastify (6 CVEs)","details":"TuxCare rebuilt fastify to address 6 CVEs. Fixed in 5.9.0-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0-tuxcare.0"},{"fixed":"5.9.0-tuxcare.1"}]}],"versions":["5.9.0"],"fixed":["5.9.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1794919783","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2026-18504","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-18504","license":"CC-BY-4.0","published_at":"2026-08-18T20:19:12.611Z","modified_at":"2026-08-19T13:15:05.131Z","summary":"fastify vulnerable to schema validation bypass via root primitive coercion mismatch","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2026-18504"}],"affected":[{"ecosystem":"CVE","package":"fastify/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.12.1"}]}],"fixed":["5.12.1"],"provider":"cvelistv5","source":"CVE-2026-18504","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify/security/advisories/GHSA-w2qp-rph6-63g4"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"}]},{"provider":"nvd","source_id":"CVE-2026-18504","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18504","severity":[],"affected":[{"ecosystem":"NVD","package":"fastify:fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.12.1"}]}],"fixed":["5.12.1"],"provider":"nvd","source":"CVE-2026-18504","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1788431312","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1788431312","published_at":"2026-09-03T10:28:32Z","modified_at":"2026-10-15T09:48:03.166823Z","summary":"TuxCare security update for fastify (1 CVE)","details":"TuxCare rebuilt fastify to address 1 CVE. Fixed in 4.29.1-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.29.1-tuxcare.0"},{"fixed":"4.29.1-tuxcare.3"}]}],"versions":["4.29.1","4.29.1-tuxcare.1","4.29.1-tuxcare.2"],"fixed":["4.29.1-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1788431312","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1789896356","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1789896356","published_at":"2026-09-20T09:25:56Z","modified_at":"2026-10-15T09:47:56.249108Z","summary":"TuxCare security update for fastify (1 CVE)","details":"TuxCare rebuilt fastify to address 1 CVE. Fixed in 5.11.3-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.3-tuxcare.0"},{"fixed":"5.11.3-tuxcare.3"}]}],"versions":["5.11.3","5.11.3-tuxcare.1","5.11.3-tuxcare.2"],"fixed":["5.11.3-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1789896356","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1789917910","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1789917910","published_at":"2026-09-20T15:25:10Z","modified_at":"2026-10-15T09:45:34.378503Z","summary":"TuxCare security update for fastify (1 CVE)","details":"TuxCare rebuilt fastify to address 1 CVE. Fixed in 3.29.5-tuxcare.6.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.29.5-tuxcare.0"},{"fixed":"3.29.5-tuxcare.6"}]}],"versions":["3.29.5","3.29.5-tuxcare.1","3.29.5-tuxcare.2","3.29.5-tuxcare.3","3.29.5-tuxcare.4","3.29.5-tuxcare.5"],"fixed":["3.29.5-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1789917910","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1794841725","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1794841725","published_at":"2026-11-16T16:08:45Z","modified_at":"2026-11-17T01:15:04.599654Z","summary":"TuxCare security update for fastify (1 CVE)","details":"TuxCare rebuilt fastify to address 1 CVE. Fixed in 5.8.2-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.2-tuxcare.0"},{"fixed":"5.8.2-tuxcare.3"}]}],"versions":["5.8.2","5.8.2-tuxcare.1","5.8.2-tuxcare.2"],"fixed":["5.8.2-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1794841725","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-w2qp-rph6-63g4","relation":"self","url":"https://osv.dev/vulnerability/GHSA-w2qp-rph6-63g4","license":"CC-BY-4.0","published_at":"2026-09-02T15:13:23Z","modified_at":"2026-09-02T15:31:16.770992Z","summary":"fastify vulnerable to schema validation bypass via root primitive coercion mismatch","details":"### Impact\n\n`fastify` before 5.12.1, when a route uses a root-level primitive body schema (for example an integer with a minimum and maximum) and the default type coercion, validates the coerced value but exposes the original, uncoerced value to the route handler. For example, a JSON body `\"10\"` is coerced to the number `10` and passes an integer 1 to 10 schema, but `request.body` stays the string `\"10\"`. An application that trusts the validated type is handed a value that did not satisfy the schema, which can bypass limits the application enforces on that typed value. Object and array body schemas are not affected, they coerce their members in place.\n\n### Patches\n\nUpgrade to `fastify` 5.12.1.\n\n### Workarounds\n\nUntil you can upgrade, avoid relying on the validated type of a root primitive body. Wrap the value in an object schema (object properties are coerced in place), for example accept `{ \"value\": 10 }` and read `request.body.value`, or re-check the type in the handler.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"GHSA-w2qp-rph6-63g4"}],"affected":[{"ecosystem":"npm","package":"fastify","purl":"pkg:npm/fastify","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.12.1"}]}],"fixed":["5.12.1"],"provider":"osv","source":"GHSA-w2qp-rph6-63g4","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify/security/advisories/GHSA-w2qp-rph6-63g4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18504"},{"type":"WEB","url":"https://github.com/fastify/fastify/commit/1ef8a60c87e94f42f666aa15ad68957772a83655"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify"},{"type":"WEB","url":"https://github.com/fastify/fastify/releases/tag/v5.12.1"}]},{"provider":"redhat-vex","source_id":"CVE-2026-18504","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-18504","license":"CC-BY-4.0","published_at":"2026-08-18T20:19:12.611Z","modified_at":"2026-10-16T09:35:54Z","summary":"fastify: fastify: Schema validation bypass via root primitive coercion mismatch","details":"A flaw was found in fastify. A remote attacker can bypass schema validation when a request body schema targets a root primitive value. This occurs because the validation process may coerce a JSON string into an expected type, but the original unvalidated string is then passed to the application logic. This can undermine integrity and access-control checks that rely on the validated type, potentially leading to unintended behavior or unauthorized access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2026-18504"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-18504"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-18504"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-core-bff-rhel9","rhoai/odh-dashboard-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-mod-arch-agent-ops-rhel9","rhoai/odh-mod-arch-automl-rhel9","rhoai/odh-mod-arch-autorag-rhel9","rhoai/odh-mod-arch-eval-hub-rhel9","rhoai/odh-mod-arch-gen-ai-rhel9","rhoai/odh-mod-arch-maas-rhel9","rhoai/odh-mod-arch-mlflow-rhel9","rhoai/odh-mod-arch-model-registry-rhel9"],"package_count":11,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-18504"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-18504"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-18504.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-18504"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2518254"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-18504"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18504"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"WEB","url":"https://github.com/fastify/fastify/security/advisories/GHSA-w2qp-rph6-63g4"}]}],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify/security/advisories/GHSA-w2qp-rph6-63g4"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18504"},{"type":"WEB","url":"https://github.com/fastify/fastify/commit/1ef8a60c87e94f42f666aa15ad68957772a83655"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify"},{"type":"WEB","url":"https://github.com/fastify/fastify/releases/tag/v5.12.1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-18504.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-18504"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2518254"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-18504"}],"sources":[{"provider":"osv","source_id":"CLSA-2026-1789755224","url":"https://osv.dev/vulnerability/CLSA-2026-1789755224","modified_at":"2026-10-15T09:47:56.115542Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1789896330","url":"https://osv.dev/vulnerability/CLSA-2026-1789896330","modified_at":"2026-10-15T09:47:56.251234Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1789906142","url":"https://osv.dev/vulnerability/CLSA-2026-1789906142","modified_at":"2026-10-15T09:46:02.760386Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1794060794","url":"https://osv.dev/vulnerability/CLSA-2026-1794060794","modified_at":"2026-11-07T19:00:36.656813Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1794673902","url":"https://osv.dev/vulnerability/CLSA-2026-1794673902","modified_at":"2026-11-14T19:15:05.439831Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1794820976","url":"https://osv.dev/vulnerability/CLSA-2026-1794820976","modified_at":"2026-11-16T15:00:04.324763Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1794825473","url":"https://osv.dev/vulnerability/CLSA-2026-1794825473","modified_at":"2026-11-16T15:00:07.458794Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1794827411","url":"https://osv.dev/vulnerability/CLSA-2026-1794827411","modified_at":"2026-11-16T15:00:07.96092Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1794919783","url":"https://osv.dev/vulnerability/CLSA-2026-1794919783","modified_at":"2026-11-17T19:45:06.341745Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-18504","url":"https://www.cve.org/CVERecord?id=CVE-2026-18504","license":"CC-BY-4.0","modified_at":"2026-08-19T13:15:05.131Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-18504","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18504","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1788431312","url":"https://osv.dev/vulnerability/CLSA-2026-1788431312","modified_at":"2026-10-15T09:48:03.166823Z","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1789896356","url":"https://osv.dev/vulnerability/CLSA-2026-1789896356","modified_at":"2026-10-15T09:47:56.249108Z","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1789917910","url":"https://osv.dev/vulnerability/CLSA-2026-1789917910","modified_at":"2026-10-15T09:45:34.378503Z","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1794841725","url":"https://osv.dev/vulnerability/CLSA-2026-1794841725","modified_at":"2026-11-17T01:15:04.599654Z","relation":"self"},{"provider":"osv","source_id":"GHSA-w2qp-rph6-63g4","url":"https://osv.dev/vulnerability/GHSA-w2qp-rph6-63g4","license":"CC-BY-4.0","modified_at":"2026-09-02T15:31:16.770992Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-18504","url":"https://access.redhat.com/security/cve/CVE-2026-18504","license":"CC-BY-4.0","modified_at":"2026-10-16T09:35:54Z","relation":"self"}]}
