CVE-2025-50983

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:readarr:readarr:0.4.15.2787:*:*:*:*:*:*:*

History

09 Sep 2025, 18:52

Type Values Removed Values Added
First Time Readarr readarr
Readarr
References () https://github.com/4rdr/proofs/blob/main/info/readarr-0.4.15.2787-sql-injection-via-sortkey-parameter.md - () https://github.com/4rdr/proofs/blob/main/info/readarr-0.4.15.2787-sql-injection-via-sortkey-parameter.md - Exploit, Third Party Advisory
CPE cpe:2.3:a:readarr:readarr:0.4.15.2787:*:*:*:*:*:*:*

29 Aug 2025, 16:24

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de inyección SQL en el parámetro sortKey del endpoint de la API GET /api/v1/wanted/cutoff en readarr 0.4.15.2787. El endpoint no depura correctamente la entrada proporcionada por el usuario, lo que permite a los atacantes inyectar y ejecutar comandos SQL arbitrarios en la base de datos SQLite. SQLmap confirmó la explotación mediante consultas apiladas, lo que demuestra que se puede abusar del parámetro para ejecutar sentencias SQL arbitrarias. Se ejecutó una consulta pesada utilizando las funciones RANDOMBLOB() y HEX() de SQLite para simular una payload basada en el tiempo, lo que indica un control exhaustivo sobre las interacciones con la base de datos.

27 Aug 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-27 16:15

Updated : 2025-09-09 18:52


NVD link : CVE-2025-50983

Mitre link : CVE-2025-50983

CVE.ORG link : CVE-2025-50983


JSON object : View

Products Affected

readarr

  • readarr
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')