CVE-2022-23857 SQL injection in github.com/navidrome/navidrome
An authenticated user can exploit SQL injection in Smart Playlists to extract sensitive database information, including encrypted passwords.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-23857?
CVE-2022-23857 is a medium-severity SQL injection vulnerability in n/a, published on 24 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
model/criteria/criteria.go in Navidrome before 0.47.5 is vulnerable to SQL injection attacks when processing crafted Smart Playlists. An authenticated user could abuse this to extract arbitrary data from the database, including the user table (which contains sensitive information such as the users' encrypted passwords).
Weakness: CWE-89
Which versions are affected by CVE-2022-23857?
3 open source packages ship an affected version, including github.com/navidrome/navidrome. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/navidrome/navidrome Go | All versions | 0.47.5 |
github.com/navidrome/navidrome Go | All versions | 0.47.5 |
github.com/navidrome/navidrome Go | All versions | 0.47.5 |
Products include Navidrome Navidrome.
How do I fix CVE-2022-23857?
Upgrade github.com/navidrome/navidrome to 0.47.5 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-23857 being exploited?
There is no known exploitation of CVE-2022-23857 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2024-47062 Multiple SQL Injections and ORM Leak in navidrome
- CVE-2026-25579 Navidrome affected by Denial of Service and disk exhaustion via oversized `size` parameter in `/rest/getCoverArt` and `/share/img/<token>` endpoints
- CVE-2024-41259 Navidrome uses MD5 hashing algorithm
- CVE-2025-48949 Navidrome allows SQL Injection via role parameter
- CVE-2023-51442 Authentication bypass vulnerability in navidrome's subsonic endpoint
Sources
Also known as GHSA-pmcr-2rhp-36hr, GO-2022-0302.