SCA: security update for mercurius (GHSA-m4h2-mjfm-mp55)

medium Tenable Self-Hosted Container Security Plugin ID 438463

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.8.0, Mercurius fails to enforce the
configured queryDepth limit on GraphQL subscription queries received over WebSocket connections. The depth
check is correctly applied to HTTP queries and mutations, but subscription queries are parsed and executed
without invoking the depth validation. This allows a remote client to submit arbitrarily deeply nested
subscription queries over WebSocket, bypassing the intended depth restriction. On schemas with recursive
types, this can lead to denial of service through exponential data resolution on each subscription event.
This issue has been patched in version 16.8.0. (CVE-2026-30241)

Solution

Update the mercurius library and its related packages to version 16.8.0 or later.

See Also

https://github.com/advisories/GHSA-m4h2-mjfm-mp55

Plugin Details

Severity: Medium

ID: 438463

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/7/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 52.04

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2026-30241

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.1

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/6/2026

Vulnerability Publication Date: 3/6/2026

Reference Information

CVE: CVE-2026-30241

cwe: CWE-863