SCA: security update for github.com/nezhahq/nezha (GHSA-5c25-7vpj-9mqh)

critical Tenable Cloud Security Plugin ID 444034

Description

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

- Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. Prior to
version 2.0.13, fallbackToFrontend in the dashboard's NoRoute handler treats any URL whose raw string
starts with /dashboard as an admin-frontend asset request. The check uses strings.HasPrefix, not a path-
segment match, so the input /dashboard../data/config.yaml is accepted; strings.TrimPrefix leaves
../data/config.yaml; and path.Join("admin-dist", "../data/config.yaml") normalizes to data/config.yaml —
which os.Stat finds and http.ServeFile returns. No authentication required. This issue has been patched in
version 2.0.13. (CVE-2026-53519)

Solution

Update the github.com/nezhahq/nezha library and its related packages to version 2.0.13 or later.

See Also

https://github.com/advisories/GHSA-5c25-7vpj-9mqh

Plugin Details

Severity: Critical

ID: 444034

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 6/27/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.65

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-53519

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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: 6/26/2026

Vulnerability Publication Date: 6/12/2026

Reference Information

CVE: CVE-2026-53519

cwe: CWE-22