Vulnerability · Published Jun 19, 2026 · Assigned by GitHub_M

CVE-2026-49340gonic has arbitrary file write in createPlaylist: any authenticated user can write playlist M3U content to attacker-controlled path on the host

High 8.1

In plain English

A high-severity path traversal in gonic from sentriz. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.3%top 75.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogo.senan.xyz/gonic0.21.0GHSA-4gxv-p5g5-j7w7
Gogo.senan.xyz/gonic0.21.0GO-2026-5827

Affected products (as reported)

VendorProductVersions
sentriz gonic < 0.21.0

Weakness: CWE-22, CWE-697, CWE-732 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

References