{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49340","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-05-29T14:35:45.902Z","datePublished":"2026-06-19T19:11:20.305Z","dateUpdated":"2026-06-22T17:50:57.575Z"},"containers":{"cna":{"title":"gonic has arbitrary file write in createPlaylist: any authenticated user can write playlist M3U content to attacker-controlled path on the host","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-697","lang":"en","description":"CWE-697: Incorrect Comparison","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-732","lang":"en","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7"}],"affected":[{"vendor":"sentriz","product":"gonic","versions":[{"version":"< 0.21.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-06-19T19:11:20.305Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-4gxv-p5g5-j7w7","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-22T17:50:48.480604Z","id":"CVE-2026-49340","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-06-22T17:50:57.575Z"}}]}}