CVE-2026-49339
Path traversal in getPlaylist/deletePlaylist bypasses ownership check: any authenticated user can read or delete any other user's playlist
Also known as GHSA-2fp4-5v5c-4448, GO-2026-5825
Mitigation
- Upgrade go.senan.xyz/gonic to 0.21.0 or later.
Who should check
- Projects that depend on Go package go.senan.xyz/gonic (< 0.21.0)
- Anyone running sentriz gonic < 0.21.0
Vulnerability facts
- Affected
- go.senan.xyz/gonic < 0.21.0
- Fixed in
- 0.21.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-22, CWE-639
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go go.senan.xyz/gonic | < 0.21.0 | 0.21.0 | osv |
| sentriz gonic | < 0.21.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
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.