CVE-2026-49340

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.
Configurations

No configuration.

History

22 Jun 2026, 19:17

Type Values Removed Values Added
References () https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7 - () https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7 -

19 Jun 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-19 19:16

Updated : 2026-06-22 19:17


NVD link : CVE-2026-49340

Mitre link : CVE-2026-49340

CVE.ORG link : CVE-2026-49340


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-697

Incorrect Comparison

CWE-732

Incorrect Permission Assignment for Critical Resource