CVE-2024-56362
JSON

7.1high

Navidrome Stores JWT Secret in Plaintext in navidrome.db

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 7% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-xwx7-p63r-2rj8GO-2024-3357

Description

Navidrome is an open source web-based music collection server and streamer. Navidrome stores the JWT secret in plaintext in the navidrome.db database file under the property table. This practice introduces a security risk because anyone with access to the database file can retrieve the secret. This vulnerability is fixed in 0.54.1.

Affected

Product or packageVersionsReported by
navidrome navidrome< 0.54.1, before 0.54.1CVE List, NVD
github.com/navidrome/navidrome (Go)before 0.54.1GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-312

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Navidrome is an open source web-based music collection server and streamer. Navidrome stores the JWT secret in plaintext in the navidrome.db database file under the property table. This practice introduces a security risk because anyone with access to the database file can retrieve the secret. This vulnerability is fixed in 0.54.1.

GitHub Advisory Database

Navidrome stores the JWT secret in plaintext in the navidrome.db database file under the property table. This practice introduces a security risk because anyone with access to the database file can retrieve the secret. The JWT secret is critical for the authentication and authorization system. If exposed, an attacker could:

  • Forge valid tokens to impersonate users, including administrative accounts.
  • Gain unauthorized access to sensitive data or perform privileged actions. This vulnerability has been tested on the latest version of Navidrome and poses a significant risk in environments where the database file is not adequately secured.

image

Go Vulnerability Database

Navidrome Stores JWT Secret in Plaintext in navidrome.db in github.com/navidrome/navidrome

NVD (es)

Navidrome es un servidor y transmisor de colección de música basado en web de código abierto. Navidrome almacena el secreto JWT en texto plano en el archivo de base de datos navidrome.db en la tabla de propiedades. Esta práctica introduce un riesgo de seguridad porque cualquiera que tenga acceso al archivo de la base de datos puede recuperar el secreto. Esta vulnerabilidad se solucionó en 0.54.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56362 changed 2024-12-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-xwx7-p63r-2rj8 changed 2025-01-15CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3357 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-56362 changed 2026-06-17Public domain