{"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-2024-47062 exists.","fix":"Upgrade github.com/navidrome/navidrome to 0.53.0 or later.","what":"CVE-2024-47062 is a critical SQL injection vulnerability in navidrome, published on 20 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-47062 and fix it if it is affected.\n\nWhat it is: CVE-2024-47062 is a critical SQL injection vulnerability in navidrome, published on 20 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47062 exists.\n\nAffected packages and fixed versions:\n- github.com/navidrome/navidrome (Go): affected all versions; fixed in 0.53.0\n- github.com/navidrome/navidrome (Go): affected all versions; fixed in 0.53.0\n- github.com/navidrome/navidrome (Go): affected all versions; fixed in 0.53.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-2024-47062/ (Markdown: https://insights.sbomify.com/CVE-2024-47062/index.md)","id":"CVE-2024-47062","markdown":"https://insights.sbomify.com/CVE-2024-47062/index.md","name":"CVE-2024-47062","record":{"aliases":["GHSA-58vj-cv5w-v4v6","GO-2024-3153"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Music streaming server","requires_auth":"low_privilege","summary":"Attackers can inject SQL or leak data via URL parameters to dump the database and brute-force passwords in Navidrome.","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":9.4,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L","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. Navidrome automatically adds parameters in the URL to SQL queries. This can be exploited to access information by adding parameters like `password=...` in the URL (ORM Leak). Furthermore, the names of the parameters are not properly escaped, leading to SQL Injections. Finally, the username is used in a `LIKE` statement, allowing people to log in with `%` instead of their username. When adding parameters to the URL, they are automatically included in an SQL `LIKE` statement (depending on the parameter's name). This allows attackers to potentially retrieve arbitrary information. For example, attackers can use the following request to test whether some encrypted passwords start with `AAA`. This results in an SQL query like `password LIKE 'AAA%'`, allowing attackers to slowly brute-force passwords. When adding parameters to the URL, they are automatically added to an SQL query. The names of the parameters are not properly escaped. This behavior can be used to inject arbitrary SQL code (SQL Injection). These vulnerabilities can be used to leak information and dump the contents of the database and have been addressed in release version 0.53.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2024-11-10","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-11-10T01:10:06Z","kind":"github_poc","ref":"https://github.com/saisathvik1/CVE-2024-47062","stars":0,"title":"CVE-2024-47062 PoC"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-47062.yaml","stars":null,"title":"Navidrome \u003c 0.53.0 - Authenticated SQL Injection"}],"tier":"weaponised"},"has_fix":true,"headline":"Multiple SQL Injections and ORM Leak in navidrome","id":"CVE-2024-47062","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Computer Vision Annotation Tool (CVAT) contains a stored XSS via the quality report data endpoint","id":"CVE-2024-47063"},"packages":[{"ecosystem":"Go","fixed":["0.53.0"],"introduced":["0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":null,"source":"GHSA-58vj-cv5w-v4v6"},{"ecosystem":"Go","fixed":["0.53.0"],"introduced":["0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"GHSA-58vj-cv5w-v4v6"},{"ecosystem":"Go","fixed":["0.53.0"],"introduced":["0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"GO-2024-3153"}],"prev":{"headline":"Arbitrary DOM attributes in element.attributes and leaf.attributes in Platejs","id":"CVE-2024-47061"},"products":["navidrome"],"published":"2024-09-20","related":[{"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.9,"headline":"Navidrome allows SQL Injection via role parameter","id":"CVE-2025-48949","kev_date_added":null,"published":"2025-05-30"},{"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-20","vendors":["navidrome"]},"summary":"Attackers can inject SQL or leak data via URL parameters to dump the database and brute-force passwords in Navidrome.","url":"https://insights.sbomify.com/CVE-2024-47062/"}