Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-49338
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, 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.
Affected Packages
https://github.com/sentriz/gonic.git (GITHUB):
Affected version(s) >=v0.2.0 <v0.21.0
Fix Suggestion:
Update to version v0.21.0
go.senan.xyz/gonic (GO):
Affected version(s) >=v0.2.0 <v0.21.0
Fix Suggestion:
Update to version v0.21.0
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Authorization Bypass Through User-Controlled Key
Improper Authorization
EPSS
Base Score:
0.17