SCA: security update for go.senan.xyz/gonic (GHSA-4gxv-p5g5-j7w7)

high Tenable Cloud Security Plugin ID 444021

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, a logic error in `ServeCreateOrUpdatePlaylist` allows any authenticated Subsonic user (including
non-admin) to write playlist M3U content to an attacker-controlled absolute filesystem path on the gonic
host, and to create intermediate directories with `0o777` permissions. The bug is independent of
CVE-2026-49338 and CVE-2026-49339. It is an unreachable guard clause combined with no path containment in
`Store.Write`. Version 0.21.0 patches the issue. (CVE-2026-49340)

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-4gxv-p5g5-j7w7

Plugin Details

Severity: High

ID: 444021

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

Percentile: 96.77

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2026-49340

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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