{"cve":"CVE-2026-49340","nvd":{"published":"2026-06-19T19:16:36.817","modified":"2026-10-25T23:10:00.167","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1},"cwes":["CWE-22","CWE-697","CWE-732"],"references":["https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7","https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7"],"products":[],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-49340","score":0.00428,"percentile":0.36725,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-4gxv-p5g5-j7w7","url":"https://osv.dev/vulnerability/GHSA-4gxv-p5g5-j7w7","summary":"gonic has arbitrary file write in createPlaylist: any authenticated user can write playlist M3U content to attacker-controlled path on the host","modified":"2026-07-07T16:11:17.415067270Z","packages":[{"ecosystem":"Go","name":"go.senan.xyz/gonic","purl":"pkg:golang/go.senan.xyz/gonic","ranges":["<0.21.0"],"fixed":["0.21.0"]}]},{"id":"GO-2026-5827","url":"https://osv.dev/vulnerability/GO-2026-5827","summary":"gonic has arbitrary file write in createPlaylist: any authenticated user can write playlist M3U content to attacker-controlled path on the host in go.senan.xyz/gonic","modified":"2026-07-07T16:00:21.964104037Z","packages":[{"ecosystem":"Go","name":"go.senan.xyz/gonic","purl":"pkg:golang/go.senan.xyz/gonic","ranges":["<0.21.0"],"fixed":["0.21.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}