# CVE-2026-49339: Path traversal in getPlaylist/deletePlaylist bypasses ownership check: any authenticated user can read or delete any other user's playlist

> 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.39% (percentile 25, 2026-11-26)
- **CWE:** CWE-22, CWE-639
- **Aliases:** GHSA-2fp4-5v5c-4448, GO-2026-5825
- **Published:** 2026-06-19T18:23:20.236Z
- **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. The maintainer's fix in  commit \`6dd71e6a3c966867ef8c900d359a7df75789f410\` added an ownership check based on \`playlist.UserID\`. However, \`playlist.UserID\` is derived from the first path segment of the attacker-controlled playlist ID, with no path containment on the resolved file path. Any authenticated Subsonic user can therefore bypass the ownership check and read any other user's playlist, delete any other user's playlist, and probe arbitrary file paths on the host for existence/readability. This is a bypass of the boundary the \`6dd71e6\` fix is trying to enforce; it is closely related to the original GONIC-1 IDOR but uses a different primitive (path traversal in the \`id\` parameter rather than direct cross-user access). Commit 0824bed88f6bbc490ba28bf09d28e5dfeb07b445 in version 0.21.0 fixes the issue.

## 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-49339. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49339.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-49339 being exploited?

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

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

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

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

go.senan.xyz/gonic \< 0.21.0.

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

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-49339?

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-2fp4-5v5c-4448>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-49339>
- patch: <https://github.com/sentriz/gonic/commit/0824bed88f6bbc490ba28bf09d28e5dfeb07b445>
- 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-49339>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2fp4-5v5c-4448> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5825> (license: <https://creativecommons.org/licenses/by/4.0/>)

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