CVE-2026-23877

Directory Traversal & Filesystem can be accessed by a non-admin user

Published Jan 19, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Swing Music is a self-hosted music player for local audio files. Prior to version 2.1.4, Swing Music's `list_folders()` function in the `/folder/dir-browser` endpoint is vulnerable to directory traversal attacks. Any authenticated user (including non-admin) can browse arbitrary directories on the server filesystem. Version 2.1.4 fixes the issue.

Analysis

AI-generated

Technical impact

Swing Music’s /folder/dir-browser endpoint contains a directory traversal flaw in the list_folders() function that allows any authenticated user—including those without admin privileges—to enumerate and retrieve files from arbitrary directories on the server. This vulnerability is a classic path traversal (CWE‑25) coupled with an improper authorization mechanism (CWE‑284), enabling the disclosure of sensitive data that may include system files or other private host content. The ability to read arbitrary paths without needing elevated rights means the attack can be launched by a normal user account, potentially exposing confidential or proprietary information.

Affected Systems

The affected software is Swing Music, a self-hosted music player maintained by swingmx. All versions prior to 2.1.4 are vulnerable; the fix was introduced in 2.1.4. Thus any deployment running Swing Music version 2.1.3 or earlier is at risk.

Risk and Exploitability

The CVSS v3.1 base score of 5.3 rates this issue as moderately severe. The EPSS score of less than 1 % indicates a low probability of exploitation at the time of analysis, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw requires authentication but does not rely on excessive privileges, it is likely to be exercised by any user who gains valid credentials to the application. No known remote code execution vector is indicated, so the primary risk remains confidential data exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Swing Music to version 2.1.4 or newer to eliminate the directory traversal vulnerability.
  • If upgrading is not immediately possible, restrict the /folder/dir-browser endpoint to only authorized directories or disable it entirely for authenticated users lacking appropriate permissions.
  • Implement input validation for the path parameter in list_folders() to reject traversal sequences such as ".." or leading slashes.
  • Monitor authentication and directory access logs for anomalous traversal attempts and investigate any suspicious activity.

Generated by OpenCVE AI on April 18, 2026 at 15:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pj88-9xww-gxmh Swing Music has a Directory Traversal & Filesystem can be accessed by a non-admin user
History
Type Values Removed Values Added
First Time appeared Swingmx swing Music
CPEs cpe:2.3:a:swingmx:swing_music:*:*:*:*:*:*:*:*
Vendors & Products Swingmx swing Music
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Swingmx
Swingmx swingmusic
Vendors & Products Swingmx
Swingmx swingmusic
Type Values Removed Values Added
Description Swing Music is a self-hosted music player for local audio files. Prior to version 2.1.4, Swing Music's `list_folders()` function in the `/folder/dir-browser` endpoint is vulnerable to directory traversal attacks. Any authenticated user (including non-admin) can browse arbitrary directories on the server filesystem. Version 2.1.4 fixes the issue.
Title Directory Traversal & Filesystem can be accessed by a non-admin user
Weaknesses CWE-25
CWE-284
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-25

    Path Traversal: '/../filedir'

  • CWE-284

    Improper Access Control

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 20, 2026, 3:20 PM
Reserved
Jan 16, 2026, 9:02 PM
Status
Analyzed
Published
Jan 19, 2026, 9:15 PM
Modified
Jun 17, 2026, 10:22 AM