Skip to main content

gonic EUVDEUVD-2026-38062

| CVE-2026-49339 HIGH
Path Traversal (CWE-22)
2026-06-19 GitHub_M GHSA-2fp4-5v5c-4448
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
    Authenticate to Subsonic API
  2. Delivery
    Craft playlist id with ../ traversal
  3. Exploit
    Send getPlaylist/deletePlaylist request
  4. Execution
    Bypass first-segment ownership check
  5. Persist
    Read or delete victim playlist file
  6. Impact
    Probe arbitrary host paths for existence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Requires a valid authenticated account on the target gonic Subsonic API (any user role is sufficient - no admin needed) and network reachability to the Subsonic endpoints getPlaylist, deletePlaylist, or createPlaylist. Exploitation works against default configurations of gonic prior to 0.21.0; no non-standard feature flag, plugin, or deployment mode is required. The main limiting factor is the authentication requirement (CVSS PR:L), which restricts exposure to multi-user deployments - single-user gonic instances where the only credential holder is the owner cannot be cross-tenant exploited, though the write-outside-base primitive still applies to any logged-in user.

Impact

CVSS 7.1 (AV:N/AC:L/PR:L/UI:N/C:L/I:H/A:N) matches the actual primitive: network-reachable Subsonic API, low complexity, requires a valid low-privileged account, low confidentiality (playlist metadata of other users) and high integrity impact (arbitrary deletion of other users' playlists and write-outside-base for new playlists). No EPSS, KEV, or public POC data was supplied, so this should currently be treated as not-yet-weaponized; however, the upstream patch ships a working test harness (TestPlaylistTraversalDenied) that effectively demonstrates exploitation, which lowers the bar for a public PoC. Real-world risk concentrates on multi-tenant gonic deployments (family/community servers, hosted instances) where one untrusted account compromises others; single-user installs face negligible risk. Note the vendor advisory does not assert active exploitation, and the CVSS scope is S:U, so file-existence probing is a side channel rather than full LFI - defenders should treat this as an authenticated tenant-isolation break rather than pre-auth RCE.

Exploit ScenarioDerived

An attacker registers or already holds any low-privileged Subsonic account on a shared gonic server, then issues a getPlaylist or deletePlaylist Subsonic call with id encoding a path like <their-user-id>/../<victim-user-id>/private.m3u; the first-segment ownership check sees their own ID while the joined filesystem path resolves to the victim's playlist, which is then returned or deleted. The same primitive with an id of ../injected.m3u against createPlaylist lets them write a playlist file outside the playlists base directory, and probing IDs of the form <self>/../../etc/hostname reveals which arbitrary host paths exist and are readable by the gonic process.

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

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

Alert me

AnalysisAIv1 – Jun 19, 2026

Authenticated path traversal in gonic music streaming server allows any Subsonic user to read or delete other users' playlists and probe arbitrary host file paths by smuggling .. segments into the playlist id parameter. The flaw bypasses the ownership check introduced in commit 6dd71e6, which derived playlist.UserID from the first path segment of the attacker-controlled ID without containing the resolved file path. No public exploit identified at time of analysis, but a proof-of-concept test case is embedded in the upstream patch.

RemediationAI

Vendor-released patch: upgrade gonic to version 0.21.0 or later, which introduces a fileutil.SafeJoin helper that rejects any relative path escaping the playlist base and recomputes playlist.UserID from the cleaned relative path (commit 0824bed88f6bbc490ba28bf09d28e5dfeb07b445; advisory GHSA-2fp4-5v5c-4448). Operators who cannot upgrade immediately should restrict the gonic instance to a single trusted user (gonic is a multi-user Subsonic server, so this effectively disables shared-server use), or front the Subsonic API with a reverse proxy that rejects requests whose decoded id parameter contains .., encoded traversal sequences (%2e%2e, ..%2f), or absolute paths - this will break legitimate playlist IDs that legitimately contain those byte sequences, so test before rolling out. As a further hardening step, run the gonic process under a dedicated unprivileged user with read/write access only to the playlist directory, limiting the blast radius of the file-existence probing primitive.

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 (cpe:2.3:a:sentriz:gonic) is a self-hosted Subsonic-compatible music streaming server written in Go. Playlists are stored as files (e.g. m3u) under a base directory, addressed by a relative path encoded into the Subsonic id parameter. The vulnerable playlist.Store.Read/Write/Delete methods called filepath.Join(basePath, relPath) without verifying the resulting path remained under basePath, and the ownership decision (userIDFromPath) was computed from the raw, attacker-supplied first path segment rather than the canonicalized path. This is a textbook CWE-22 path traversal combined with a TOCTOU-style identity spoof: a crafted ID such as <victimID>/../<attackerID>/... passes the first-segment check while resolving to a victim file, and an ID starting with .. escapes the playlist directory entirely.

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 (PR:L), no user interaction; integrity high due to arbitrary cross-user playlist deletion and out-of-base writes, confidentiality low (playlist metadata and path-existence oracle), no availability impact.

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

Executive ViewAI

Why It Matters

The gonic music streaming server contains a path traversal vulnerability (CVE-2026-49339) allowing users to access other users' playlists and probe the hosting server's file system. Organizations deploying gonic face risk of unauthorized data access, deletion, and system information disclosure. Immediate containment measures are required pending vendor patch availability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation to restrict gonic instance access to authorized networks only; (2) Comprehensive audit logging and alerting for playlist operations, cross-user access attempts, and file system probing; (3) Disable user-to-user playlist sharing features if operationally feasible; (4) Establish vendor contact and monitoring for patch availability; (5) Review and restrict file system permissions on hosting systems to limit exposure from successful probing attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Threat Intel
1
1 sources
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.3%
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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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