CVE-2026-49340

High

Description

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductGo.senan.xyz/gonic
PublishedJun 19, 2026
First seenJun 19, 2026

How to fix

Update
  • go.senan.xyz/gonic0.21.0 or later

Affected products

ProductAffected versionsFixed in
go.senan.xyz/gonicGov < 0.21.00.21.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-49340 · Go.senan.xyz/gonic · Dark Radar