CVE-2025-50983 SQL injection in n/a
Attackers can inject arbitrary SQL commands via the sortKey parameter in Readarr, allowing unauthorized database access and modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-50983?
CVE-2025-50983 is a high-severity SQL injection vulnerability in n/a, published on 27 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
SQL Injection vulnerability exists in the sortKey parameter of the GET /api/v1/wanted/cutoff API endpoint in readarr 0.4.15.2787. The endpoint fails to properly sanitize user-supplied input, allowing attackers to inject and execute arbitrary SQL commands against the backend SQLite database. Sqlmap confirmed exploitation via stacked queries, demonstrating that the parameter can be abused to run arbitrary SQL statements. A heavy query was executed using SQLite's RANDOMBLOB() and HEX() functions to simulate a time-based payload, indicating deep control over database interactions.
Weakness: CWE-89
Which versions are affected by CVE-2025-50983?
It affects 1 product.
Products include Readarr Readarr.
How do I fix CVE-2025-50983?
No fix has been published for CVE-2025-50983 yet. Limit exposure of the affected software until one is available.
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-2025-50983 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50983 exists.
Sources
Also known as GHSA-8735-fgcc-7xrm.