CVE-2026-49340
Published:June 19, 2026
Updated:June 29, 2026
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
https://github.com/sentriz/gonic.git (GITHUB):
Affected version(s) >=v0.10.0 <v0.21.0Fix Suggestion:
Update to version v0.21.0go.senan.xyz/gonic (GO):
Affected version(s) >=v0.10.0 <v0.21.0Fix Suggestion:
Update to version v0.21.0Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.27