Skip to main content

gonic CVE-2026-49338

| EUVDEUVD-2026-38067 HIGH
Improper Authorization (CWE-285)
2026-06-19 GitHub_M GHSA-hmgp-w9jm-vp95
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged gonic account
  2. Delivery
    Enumerate or guess base64url playlist IDs
  3. Exploit
    Call /rest/getPlaylist.view with target ID
  4. Execution
    Exfiltrate private playlist contents
  5. Persist
    Call /rest/deletePlaylist.view with admin playlist ID
  6. Impact
    Destroy admin-curated playlists

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated Subsonic account on a gonic instance running a version prior to 0.21.0 (PR:L); no admin role, user interaction, or non-default configuration is needed, and the vulnerable endpoints /rest/deletePlaylist.view and /rest/getPlaylist.view are part of the default Subsonic API surface. The attacker must additionally know or guess the target playlist ID, which is base64url("<userID>/<filename>.m3u"); this is trivial when the userID is a small integer and the filename was ever exposed (e.g., a playlist that was previously public or whose name follows a time-derived pattern), but a fully random, never-public filename limits practical exploitation against that specific playlist. Single-user deployments and instances where the Subsonic API is not exposed to untrusted accounts are not realistically exploitable.

Impact

The CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N vector (7.1 High) is consistent with the description: any authenticated low-privileged account can integrity-impact administrators by deleting their playlists (I:H) and leak limited confidential data from private playlists (C:L), with no availability impact on the wider service. EPSS, KEV status, and SSVC decision points were not supplied in the input, but the prerequisites - a valid account on a multi-user instance and ID guessing/enumeration - make this realistically exploitable wherever gonic is exposed beyond a single trusted user. No public exploit identified at time of analysis and the product is a niche self-hosted server, so widespread opportunistic exploitation is unlikely; however, for any multi-tenant deployment the integrity risk to admin-curated playlists is concrete and the fix is small, so this should be patched promptly. There is no conflict between vector and description; the main unknown is real-world deployment exposure.

Exploit ScenarioDerived

On a multi-user gonic instance, a low-privileged attacker authenticates with their own Subsonic credentials, then constructs candidate playlist IDs by base64url-encoding strings like "1/<known-or-guessed-filename>.m3u" - for example IDs harvested while a playlist was briefly public, or time-derived filenames. They call /rest/getPlaylist.view?id=<id> to dump the admin's private playlist contents and /rest/deletePlaylist.view?id=<id> to wipe curated admin playlists. No public exploit identified at time of analysis, but the attack is trivially scriptable given the small ID space.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Broken authorization in gonic music streaming server prior to version 0.21.0 allows any authenticated user to delete or read other users' playlists via the Subsonic API endpoints /rest/deletePlaylist.view and /rest/getPlaylist.view. Because playlist IDs are base64url-encoded paths containing a small integer user ID and a guessable filename, low-privileged users can enumerate IDs to wipe an administrator's curated playlists or exfiltrate the contents of any private playlist. No public exploit identified at time of analysis, and the issue is patched in commit 6dd71e6 included in version 0.21.0.

RemediationAI

Vendor-released patch: gonic 0.21.0 - upgrade to 0.21.0 or later, which includes commit 6dd71e6 adding per-resource ownership and IsPublic checks to ServeGetPlaylist and ServeDeletePlaylist (https://github.com/sentriz/gonic/commit/6dd71e6, advisory https://github.com/sentriz/gonic/security/advisories/GHSA-hmgp-w9jm-vp95). If upgrading immediately is not possible, restrict the gonic instance to a single trusted user or place the Subsonic API behind a reverse proxy that limits /rest/getPlaylist.view and /rest/deletePlaylist.view to known-good accounts, accepting that this disables multi-user functionality. Operators should also audit on-disk playlist files for unexpected deletions and consider rotating playlist filenames after upgrade, since previously-disclosed IDs from public-then-private playlists remain guessable until renamed.

Affected VersionsENISA

gonic < 0.21.0

Affected Packages

go go.senan.xyz/gonic fix: 0.21.0
euvd gonic fix: 0.21.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

gonic is a self-hosted, free-software implementation of the Subsonic music-server API written in Go (CPE cpe:2.3:a:sentriz:gonic). The vulnerable handlers ServeGetPlaylist and ServeDeletePlaylist in server/ctrlsubsonic/handlers_playlist.go authenticated the caller but never checked whether the caller actually owned the requested playlist or whether the playlist was marked public, a textbook CWE-285 Improper Authorization (missing object-level access control). Playlist resources are addressed by an opaque-looking ID that is in fact base64url("<userID>/<filename>.m3u"), where userID is a small monotonically increasing integer and the filename is either user-supplied or derived from a timestamp, so the identifier space is small and frequently leaks (e.g., a playlist that was once public keeps the same ID after being made private). The fix adds explicit ownership and IsPublic checks in both handlers, returning Subsonic error 50 when a caller targets another user's resource.

Know when Gonic gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
vuln.today AI 7.1 HIGH

Network-reachable Subsonic API, any authenticated user suffices (PR:L), no UI; reading private playlist metadata is limited confidentiality (C:L), deleting admin playlists is high integrity (I:H), service stays up (A:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Jun 19, 2026 - 21:02 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Gonic music streaming server prior to version 0.21.0 contains a broken authorization flaw allowing authenticated users to delete or read other users' playlists, including administrative accounts. Organizations running older versions face immediate risks of playlist data loss, unauthorized content access, and potential administrative compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy