SCA: security update for go.senan.xyz/gonic (GHSA-2fp4-5v5c-4448)

high Tenable Cloud Security Plugin ID 444019

Description

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

- gonic is a music streaming server / free-software subsonic server API implementation. The maintainer's fix
in commit `6dd71e6a3c966867ef8c900d359a7df75789f410` added an ownership check based on `playlist.UserID`.
However, `playlist.UserID` is derived from the first path segment of the attacker-controlled playlist ID,
with no path containment on the resolved file path. Any authenticated Subsonic user can therefore bypass
the ownership check and read any other user's playlist, delete any other user's playlist, and probe
arbitrary file paths on the host for existence/readability. This is a bypass of the boundary the `6dd71e6`
fix is trying to enforce; it is closely related to the original GONIC-1 IDOR but uses a different
primitive (path traversal in the `id` parameter rather than direct cross-user access). Commit
0824bed88f6bbc490ba28bf09d28e5dfeb07b445 in version 0.21.0 fixes the issue. (CVE-2026-49339)

Solution

Update the go.senan.xyz/gonic library and its related packages to version 0.21.0 or later.

See Also

https://github.com/advisories/GHSA-2fp4-5v5c-4448

Plugin Details

Severity: High

ID: 444019

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: Low

Score: 3.5

Percentile: 51.97

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-49339

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/26/2026

Vulnerability Publication Date: 6/19/2026

Reference Information

CVE: CVE-2026-49339