Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 68%

CVE-2026-49339: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in sentriz gonic

0
High
VulnerabilityCVE-2026-49339cvecve-2026-49339cwe-22cwe-639
Published: 06/19/2026 (06/19/2026, 18:23:20 UTC)
Source: CVE Database V5
Vendor/Project: sentriz
Product: gonic

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.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
sentriz/gonic
pkg:github/sentriz/gonic
Affected versions
<0.21.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 19:20:16 UTC

Technical Analysis

The vulnerability arises because the ownership check in gonic relies on playlist.UserID, which is derived from the first path segment of the playlist ID controlled by the attacker. Since there is no path containment validation on the resolved file path, an authenticated user can exploit path traversal to access or delete other users' playlists and probe arbitrary file paths. This bypasses the intended boundary enforcement introduced in a prior fix. The issue is addressed by commit 0824bed88f6bbc490ba28bf09d28e5dfeb07b445 in gonic version 0.21.0.

Potential Impact

An authenticated Subsonic user can bypass playlist ownership restrictions to read or delete playlists belonging to other users. Additionally, the attacker can probe arbitrary file paths on the server for existence or readability, potentially exposing sensitive information. The vulnerability does not allow remote unauthenticated access but does enable significant unauthorized access and information disclosure within the authenticated user context.

Mitigation Recommendations

Upgrade gonic to version 0.21.0 or later, where this vulnerability is fixed. The fix includes proper path containment checks preventing path traversal attacks on playlist IDs. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-29T14:35:45.902Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a358c5cf198dc38c1f2fbbe

Added to database: 06/19/2026, 18:37:16 UTC

Last enriched: 06/26/2026, 19:20:16 UTC

Last updated: 08/02/2026, 19:17:59 UTC

Views: 87

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses