SCA: security update for go.senan.xyz/gonic (GHSA-hmgp-w9jm-vp95)

high Tenable Cloud Security Plugin ID 444018

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. Prior to version
0.21.0, the Subsonic API endpoints `/rest/deletePlaylist.view` and `/rest/getPlaylist.view` perform no
per-resource authorization. Once authenticated as any user (admin or not), an attacker can delete any
playlist owned by any other user (including admin) by passing its `id` and read the full contents (name,
comment, song list) of any other user's **private** (non-public) playlist by passing its `id`. The
Subsonic playlist `id` is `base64url("<userID>/<filename>.m3u")`. Because filenames are user-supplied or
time-derived and the `userID` is a small integer, IDs are guessable and frequently exposed (e.g. a
previously-public playlist that was later made private still has the same ID). This breaks the multi-user
trust boundary of gonic: a low-privileged user can wipe an administrator's curated playlists, and a user
can exfiltrate any private playlist they obtain an ID for. The issue was fixed in commit
`6dd71e6a3c966867ef8c900d359a7df75789f410`, which is part of version 0.21.0. (CVE-2026-49338)

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-hmgp-w9jm-vp95

Plugin Details

Severity: High

ID: 444018

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-49338

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-49338