CVE-2025-48949CWE-89

Navidrome allows SQL Injection via role parameter

High · published May 30, 2025

CVSS v4.0
8.9
EPSS
0%
Percentile
41.0
In the wild
Unconfirmed
What it is

⚡ The role parameter in Navidrome's API has a gaping security hole that could allow attackers to inject SQL queries like a sneaky DJ slipping in a track nobody approved! 🎧 Think of it as a restaurant where the chef accepts any order without checking the menu — that means anyone can request whatever dish they want, regardless of it being on the menu or not! With this vulnerability, an attacker could potentially waltz in and access sensitive data stored in the backend database, exposing user information that should remain private. This could lead to unauthorized access and even data breaches, which is absolutely devastating for both users and the service.

Put simply

Think of it as a restaurant where the chef accepts any order without checking the menu — that means anyone can request whatever dish they want, regardless of it being on the menu or not! This vulnerability arises from improper input validation on the `role` parameter within the `/api/artist` endpoint, allowing attackers to inject arbitrary SQL queries into the database, bypassing security measures entirely.

What to do

With this vulnerability, an attacker could potentially waltz in and access sensitive data stored in the backend database, exposing user information that should remain private. This could lead to unauthorized access and even data breaches, which is absolutely devastating for both users and the service. To secure your Navidrome installation, immediately upgrade to version 0.56.0 where this issue has been patched. Additionally, review your API input validation processes to ensure no other parameters are left vulnerable. You've got this! Follow these steps and your Navidrome will be rocking a secure setup in no time! 🛡️

The record
Technical detail
CVSS v4.0
8.9 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
EPSS
0.00487 · 41.0th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-05-30T19:40Z
EPSS history
Timeline
  • 30 MAY 19:40Z
    Navidrome allows SQL Injection via role parameter
    cvelistv5