{"id":"CVE-2026-49340","published":"2026-06-19T19:11:20Z","modified":"2026-06-22T17:50:57Z","title":"gonic has arbitrary file write in createPlaylist: any authenticated user can write playlist M3U content to…","vendor":"sentriz","product":"gonic","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00314,"percentile":0.24986,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-697","name":"Incorrect Comparison"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":5.0},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"sentriz","affectedVersions":[{"vendor":"sentriz","product":"gonic","versions":["< 0.21.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-22T17:50:48.480604Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"go.senan.xyz/gonic","vulnerableRanges":["<0.21.0"],"patched":["0.21.0"],"from":["GHSA-4gxv-p5g5-j7w7","GO-2026-5827"],"provenance":"source"}],"summary":{"text":"In gonic, the music streaming server's Subsonic-compatible API, the ServeCreateOrUpdatePlaylist handler contains a logic error and the Store.Write function performs no path containment, so playlist write operations can target arbitrary filesystem paths on the host. An attacker with any valid Subsonic account, including a non-admin one and reachable over the network, can write playlist M3U content to an absolute path of their choosing and create intermediate directories with 0o777 permissions, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:46Z"},"euvd":{"id":"EUVD-2026-38068","exploited":false,"provenance":"source"}}