CVE-2025-48949 in Navidromeinfo

Summary

by MITRE • 05/30/2025

Navidrome is an open source web-based music collection server and streamer. Versions 0.55.0 through 0.55.2 have a vulnerability due to improper input validation on the `role` parameter within the API endpoint `/api/artist`. Attackers can exploit this flaw to inject arbitrary SQL queries, potentially gaining unauthorized access to the backend database and compromising sensitive user information. Version 0.56.0 contains a patch for the issue.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 06/02/2025

The vulnerability identified as CVE-2025-48949 affects Navidrome, an open source web-based music collection server and streamer that enables users to manage and stream their digital music libraries through a web interface. This application serves as a centralized platform for music enthusiasts to organize their collections and access them remotely, making it a potentially attractive target for attackers seeking unauthorized access to personal data. The affected versions 0.55.0 through 0.55.2 contain a critical security flaw that stems from inadequate input validation mechanisms within the application's API architecture. The vulnerability specifically manifests within the `/api/artist` endpoint where the `role` parameter fails to properly sanitize user-provided input before processing. This weakness creates an environment where malicious actors can exploit the system through SQL injection techniques, allowing them to manipulate the underlying database queries that power the application's artist management functionality.

The technical implementation of this vulnerability places the application at risk of arbitrary SQL query injection attacks through the improperly validated `role` parameter. When users submit requests to the `/api/artist` endpoint, the application processes the role value without adequate sanitization or parameterization, enabling attackers to craft malicious input that gets directly incorporated into database queries. This flaw aligns with CWE-89 which specifically addresses SQL injection vulnerabilities, where improper input validation allows attackers to manipulate database operations. The attack vector demonstrates a classic SQL injection pattern where an attacker can inject malicious SQL code through the role parameter to bypass authentication mechanisms, extract sensitive data, or potentially modify database records. The vulnerability's impact extends beyond simple data exposure as it could enable attackers to escalate privileges within the application's database, potentially compromising the entire user base's personal information including music library metadata and user preferences.

The operational impact of this vulnerability represents a significant security risk for Navidrome users who rely on the application for storing and managing their personal music collections. Attackers exploiting this flaw could gain unauthorized access to backend databases containing sensitive user information such as usernames, email addresses, and potentially personal music library metadata. The vulnerability affects the integrity and confidentiality of user data, creating potential risks for privacy violations and unauthorized data access. Organizations and individuals using affected versions of Navidrome face immediate security concerns as the flaw allows for remote code execution capabilities through database manipulation. The vulnerability also poses risks to the application's availability and reliability, as attackers could potentially corrupt database structures or cause system instability through malicious SQL injection attempts. The exploitation of this vulnerability could lead to data breaches, compliance violations, and reputational damage for users who store personal music collections and related information within the application.

Mitigation strategies for CVE-2025-48949 focus primarily on immediate version upgrades to Navidrome 0.56.0 or later, which contains the necessary patches to address the SQL injection vulnerability. System administrators should prioritize updating their Navidrome installations to eliminate the risk of exploitation while monitoring for any potential unauthorized access attempts during the upgrade process. The patch implementation addresses the root cause by implementing proper input validation and parameterization techniques for the role parameter within the API endpoint. Additional defensive measures include implementing web application firewalls to monitor and filter suspicious requests targeting the vulnerable endpoint, conducting thorough security assessments of the application's API endpoints, and establishing proper database access controls to limit the impact of potential SQL injection attacks. Organizations should also consider implementing database query logging and monitoring to detect anomalous SQL patterns that might indicate exploitation attempts, while ensuring that database users have minimal required privileges to reduce potential damage from successful attacks. The vulnerability demonstrates the importance of maintaining current software versions and implementing robust input validation practices as outlined in industry standards such as the OWASP Top Ten and NIST cybersecurity frameworks.

Responsible

GitHub M

Reservation

05/28/2025

Disclosure

05/30/2025

Moderation

accepted

CPE

ready

EPSS

0.00423

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!