{"id":"CVE-2026-49339","published":"2026-06-19T18:23:20Z","modified":"2026-06-22T17:13:14Z","title":"Path traversal in getPlaylist/deletePlaylist bypasses ownership check: any authenticated user can read or delete any…","vendor":"sentriz","product":"gonic","tier":"tail","description":{"text":"gonic is a music streaming server / free-software subsonic server API implementation. The maintainer's fix in  commit `6dd71e6a3c966867ef8c900d359a7df75789f410` added an ownership check based on `playlist.UserID`. However, `playlist.UserID` is derived from the first path segment of the attacker-controlled playlist ID, with no path containment on the resolved file path. Any authenticated Subsonic user can therefore bypass the ownership check and read any other user's playlist, delete any other user's playlist, and probe arbitrary file paths on the host for existence/readability. This is a bypass of the boundary the `6dd71e6` fix is trying to enforce; it is closely related to the original GONIC-1 IDOR but uses a different primitive (path traversal in the `id` parameter rather than direct cross-user access). Commit 0824bed88f6bbc490ba28bf09d28e5dfeb07b445 in version 0.21.0 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00313,"percentile":0.24843,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/sentriz/gonic/security/advisories/GHSA-2fp4-5v5c-4448","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sentriz/gonic/commit/0824bed88f6bbc490ba28bf09d28e5dfeb07b445","tags":["x_refsource_MISC"]},{"url":"https://github.com/sentriz/gonic/commit/6dd71e6","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":4.97},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"sentriz","affectedVersions":[{"vendor":"sentriz","product":"gonic","versions":["< 0.21.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T17:08:22.855813Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"go.senan.xyz/gonic","vulnerableRanges":["<0.21.0"],"patched":["0.21.0"],"from":["GHSA-2fp4-5v5c-4448","GO-2026-5825"],"provenance":"source"}],"summary":{"text":"Gonic, a music streaming server implementing the Subsonic API, has a path traversal flaw in its getPlaylist and deletePlaylist handlers, where the ownership check derives the owner from an attacker-controlled playlist ID that is not contained to a restricted directory, so it can be bypassed. An attacker who holds a valid authenticated Subsonic account, and who needs no user interaction, can read or delete other users' playlists and probe arbitrary file paths on the host for existence and readability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:37Z"},"euvd":{"id":"EUVD-2026-38062","exploited":false,"provenance":"source"}}