# CVE-2026-49338: Subsonic API: any authenticated user can delete or read any other user's playlist (IDOR)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-285, CWE-639
- **Aliases:** GHSA-hmgp-w9jm-vp95, GO-2026-5830
- **Published:** 2026-06-19T19:08:34.220Z
- **Modified:** 2026-10-25T23:10:00.167Z

## Who should check

- Projects that depend on Go package go.senan.xyz/gonic (\< 0.21.0)
- Anyone running sentriz gonic \< 0.21.0

## Description

gonic is a music streaming server / free-software subsonic server API implementation. Prior to version 0.21.0, the Subsonic API endpoints \`/rest/deletePlaylist.view\` and \`/rest/getPlaylist.view\` perform no per-resource authorization. Once authenticated as any user (admin or not), an attacker can delete any playlist owned by any other user (including admin) by passing its \`id\` and read the full contents (name, comment, song list) of any other user's \*\*private\*\* (non-public) playlist by passing its \`id\`. The Subsonic playlist \`id\` is \`base64url("\<userID\>/\<filename\>.m3u")\`. Because filenames are user-supplied or time-derived and the \`userID\` is a small integer, IDs are guessable and frequently exposed (e.g. a previously-public playlist that was later made private still has the same ID). This breaks the multi-user trust boundary of gonic: a low-privileged user can wipe an administrator's curated playlists, and a user can exfiltrate any private playlist they obtain an ID for. The issue was fixed in commit \`6dd71e6a3c966867ef8c900d359a7df75789f410\`, which is part of version 0.21.0.

## Affected and fixed versions

- Go `go.senan.xyz/gonic`: affected \< 0.21.0; fixed 0.21.0 (osv)
- sentriz gonic: \< 0.21.0 (cvelist)

## Mitigation

- Upgrade go.senan.xyz/gonic to 0.21.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-49338. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49338.md
Affected: go.senan.xyz/gonic < 0.21.0
Fixed in: 0.21.0

Steps:
1. Search this machine and project for go.senan.xyz/gonic (Go), sentriz gonic: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-49338 being exploited?

There is no confirmed exploitation: CVE-2026-49338 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-49338?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-49338?

go.senan.xyz/gonic \< 0.21.0.

### Is there a fix for CVE-2026-49338?

Yes. Fixed in 0.21.0. Upgrade go.senan.xyz/gonic to 0.21.0 or later.

### How do I check if I'm affected by CVE-2026-49338?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/sentriz/gonic/security/advisories/GHSA-hmgp-w9jm-vp95>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-49338>
- patch: <https://github.com/sentriz/gonic/commit/6dd71e6>
- other: <https://github.com/sentriz/gonic>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-49338>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hmgp-w9jm-vp95> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5830> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-49338> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-49338>
