{"id":"CVE-2025-27112","aliases":["CVE-2025-27112","GHSA-c3p4-vm8f-386p","GO-2025-3484"],"related":[],"kind":"vulnerability","state":"published","title":"Navidrome has authentication bypass in Subsonic API with non-existent username","summary":"Navidrome is an open source web-based music collection server and streamer. Starting in version 0.52.0 and prior to version 0.54.5, in certain Subsonic API endpoints, 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. 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 with a \"permission denied\" error due to insufficient permissions, limiting the impact to unauthorized viewing of information. Version 0.54.5 contains a patch for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Navidrome is an open source web-based music collection server and streamer. Starting in version 0.52.0 and prior to version 0.54.5, in certain Subsonic API endpoints, 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. 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 with a \"permission denied\" error due to insufficient permissions, limiting the impact to unauthorized viewing of information. Version 0.54.5 contains a patch for this issue.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nIn 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.\n\n### Details\n\nA 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.\n\n### Proof of Concept (PoC)\n\n1. Generate a random salt:\n\n   ```javascript\n   // e.g., salt = \"x1vbudn1m6d\"\n   Math.random().toString(36).substring(2, 15)\n   ```\n\n2. Calculate the MD5 hash of an empty password plus the salt:\n\n   ```shell\n   # Using the example salt above\n   echo -n \"x1vbudn1m6d\" | md5sum\n   81f0c0fb5d202ab0d012e6eaeb722d79  -\n   ```\n\n3. Send a request specifying a fake user, with the hash and salt values:\n\n   ```\n   GET https://[host]/rest/getPlaylists?u=FakeUser&t=81f0c0fb5d202ab0d012e6eaeb722d79&s=x1vbudn1m6d&v=1.16.1&c=castafiore&f=json\n   ```\n\n### Impact\n\nAn 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Navidrome allows an authentication bypass in Subsonic API with non-existent username in github.com/navidrome/navidrome","format":"markdown","source":"go"},{"lang":"es","text":"Navidrome es un servidor y transmisor de música de código abierto basado en la web. A partir de la versión 0.52.0 y antes de la versión 0.54.5, en ciertos endpoints de la API de Subsonic, un fallo en el proceso de verificación de autenticación permite a un atacante especificar cualquier nombre de usuario arbitrario que no exista en el sistema, junto con un hash con sal de una contraseña vacía. En estas condiciones, Navidrome trata la solicitud como autenticada, otorgando acceso a varios endpoints de Subsonic sin requerir credenciales válidas. Un atacante puede usar cualquier nombre de usuario inexistente para eludir el sistema de autenticación y obtener acceso a varios datos de solo lectura en Navidrome, como listas de reproducción de usuarios. Sin embargo, cualquier intento de modificar los datos falla con un error de \"permiso denegado\" debido a permisos insuficientes, lo que limita el impacto a la visualización no autorizada de la información. La versión 0.54.5 contiene un parche para este problema.","source":"nvd"}],"published":"2025-02-24T18:37:14.221Z","modified":"2026-06-17T09:03:03.513Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":">= 0.52.0, < 0.54.5","status":"affected"}],"vendor":"navidrome","product":"navidrome","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.52.0","status":"affected","fixed":"0.54.5"}],"ecosystem":"Go","package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.52.0","status":"affected","fixed":"0.54.5"}],"ecosystem":"Go","package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"go"},{"ranges":[{"status":"affected","introduced":"0.52.0","fixed":"0.54.5"}],"vendor":"navidrome","product":"navidrome","cpe":"cpe:2.3:a:navidrome:navidrome:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/navidrome/navidrome/security/advisories/GHSA-c3p4-vm8f-386p","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/navidrome/navidrome/commit/287079a9e409fb6b9708ca384d7daa7b5185c1a0","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27112","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/navidrome/navidrome/commit/09ae41a2da66264c60ef307882362d2e2d8d8b89","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/navidrome/navidrome","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-02-24T18:59:48.124Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-27112","url":"https://www.cve.org/CVERecord?id=CVE-2025-27112","licence":"CVE Terms of Use","modified":"2025-02-24T19:00:44.866Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c3p4-vm8f-386p","url":"https://github.com/advisories/GHSA-c3p4-vm8f-386p","licence":"CC-BY-4.0","modified":"2025-03-03T19:42:03.959Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3484","url":"https://pkg.go.dev/vuln/GO-2025-3484","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:18.664Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-27112","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27112","licence":"Public domain","modified":"2026-06-17T09:03:03.513Z"}],"updatedAt":"2026-11-25T22:58:54.263Z","epss":{"score":0.01118,"percentile":0.65829,"date":"2026-11-30T12:00:22.000Z"}}