{"answers":{"affected":"3 open source packages ship an affected version, including github.com/navidrome/navidrome. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48949 exists.","fix":"Upgrade github.com/navidrome/navidrome to 0.56.0 or later.","what":"CVE-2025-48949 is a high-severity SQL injection vulnerability in navidrome, published on 30 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-48949 and fix it if it is affected.\n\nWhat it is: CVE-2025-48949 is a high-severity SQL injection vulnerability in navidrome, published on 30 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48949 exists.\n\nAffected packages and fixed versions:\n- github.com/navidrome/navidrome (Go): affected from 0.55.0; fixed in 0.56.0\n- github.com/navidrome/navidrome (Go): affected from 0.55.0; fixed in 0.56.0\n- github.com/navidrome/navidrome (Go): affected from 0.55.0; fixed in 0.56.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-48949/ (Markdown: https://insights.sbomify.com/CVE-2025-48949/index.md)","id":"CVE-2025-48949","markdown":"https://insights.sbomify.com/CVE-2025-48949/index.md","name":"CVE-2025-48949","record":{"aliases":["GHSA-5wgp-vjxm-3x2r","GO-2025-3734"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Music streaming server","requires_auth":"none","summary":"Attackers can inject SQL via the role parameter in Navidrome to access the database and compromise user data.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"navidrome","vendor":"navidrome"}],"cvss":{"score":8.9,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Navidrome allows SQL Injection via role parameter","id":"CVE-2025-48949","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"MaxKB Python Sandbox Bypass in Function Library","id":"CVE-2025-48950"},"packages":[{"ecosystem":"Go","fixed":["0.56.0"],"introduced":["0.55.0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":null,"source":"GHSA-5wgp-vjxm-3x2r"},{"ecosystem":"Go","fixed":["0.56.0"],"introduced":["0.55.0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"GHSA-5wgp-vjxm-3x2r"},{"ecosystem":"Go","fixed":["0.56.0"],"introduced":["0.55.0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"GO-2025-3734"}],"prev":{"headline":"Navidrome Transcoding Permission Bypass Vulnerability Report","id":"CVE-2025-48948"},"products":["navidrome"],"published":"2025-05-30","related":[{"cvss_score":9.4,"headline":"Multiple SQL Injections and ORM Leak in navidrome","id":"CVE-2024-47062","kev_date_added":null,"published":"2024-09-20"},{"cvss_score":9.2,"headline":"Navidrome affected by Denial of Service and disk exhaustion via oversized `size` parameter in `/rest/getCoverArt` and `/share/img/\u003ctoken\u003e` endpoints","id":"CVE-2026-25579","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":9.1,"headline":"Navidrome uses MD5 hashing algorithm","id":"CVE-2024-41259","kev_date_added":null,"published":"2024-08-01"},{"cvss_score":8.6,"headline":"Authentication bypass vulnerability in navidrome's subsonic endpoint","id":"CVE-2023-51442","kev_date_added":null,"published":"2023-12-21"},{"cvss_score":7.4,"headline":"Navidrome Transcoding Permission Bypass Vulnerability Report","id":"CVE-2025-48948","kev_date_added":null,"published":"2025-05-30"},{"cvss_score":7.1,"headline":"Navidrome Stores JWT Secret in Plaintext in navidrome.db","id":"CVE-2024-56362","kev_date_added":null,"published":"2024-12-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-30","vendors":["navidrome"]},"summary":"Attackers can inject SQL via the role parameter in Navidrome to access the database and compromise user data.","url":"https://insights.sbomify.com/CVE-2025-48949/"}