Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/navidrome/navidrome
  4. ›
  5. CVE-2025-48949

CVE-2025-48949: Navidrome allows SQL Injection via role parameter

May 29, 2025 (updated October 31, 2025)

🛡 <strong>Security Advisory: SQL Injection Vulnerability in Navidrome v0.55.2</strong>

<strong>Overview</strong>

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.


<strong>Details</strong>

  • 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

<strong>Proof of Concept (PoC)</strong>

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:

References

  • github.com/advisories/GHSA-5wgp-vjxm-3x2r
  • github.com/navidrome/navidrome
  • github.com/navidrome/navidrome/commit/b19d5f0d3e079639904cac95735228f445c798b6
  • github.com/navidrome/navidrome/security/advisories/GHSA-5wgp-vjxm-3x2r
  • nvd.nist.gov/vuln/detail/CVE-2025-48949

Code Behaviors & Features

Detect and mitigate CVE-2025-48949 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.55.0 before 0.56.0

Fixed versions

  • 0.56.0

Solution

Upgrade to version 0.56.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

go/github.com/navidrome/navidrome/CVE-2025-48949.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 24 Jan 2026 12:17:29 +0000.