SCA: security update for mercurius (GHSA-v66j-6wwf-jc57)

medium Tenable Cloud Security Plugin ID 438416

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Mercurius is a GraphQL adapter for Fastify. Prior to version 16.4.0, a cross-site request forgery (CSRF)
vulnerability was identified. The issue arises from incorrect parsing of the Content-Type header in
requests. Specifically, requests with Content-Type values such as application/x-www-form-urlencoded,
multipart/form-data, or text/plain could be misinterpreted as application/json. This misinterpretation
bypasses the preflight checks performed by the fetch() API, potentially allowing unauthorized actions to
be performed on behalf of an authenticated user. This issue has been patched in version 16.4.0.
(CVE-2025-64166)

See Also

https://github.com/advisories/GHSA-v66j-6wwf-jc57

Plugin Details

Severity: Medium

ID: 438416

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/5/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.71

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2025-64166

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/5/2026

Vulnerability Publication Date: 3/5/2026

Reference Information

CVE: CVE-2025-64166

cwe: CWE-352