NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-56362: Navidrome Stores JWT Secret in Plaintext in navidrome.db

highCVSS 3.1 7.1GHSA-xwx7-p63r-2rj8

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.

Published Dec 23, 2024 · Updated Jan 15, 2025

Affected packages

github.com/navidrome/navidrome

Ecosystem
Go
Affected
<= 0.53.3
Fixed in
0.54.1
Check
go list -m github.com/navidrome/navidrome

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to saisathvik1.

References

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 entries