{"id":"CVE-2026-41167","summary":"Jellystat has SQL Injection that leads to to Remote Code Execution","details":"Jellystat is a free and open source Statistics App for Jellyfin. Prior to version 1.1.10, multiple API endpoints in Jellystat build SQL queries by interpolating unsanitized request-body fields directly into raw SQL strings. An authenticated user can inject arbitrary SQL via `POST /api/getUserDetails` and `POST /api/getLibrary`, enabling full read of any table in the database - including `app_config`, which stores the Jellystat admin credentials, the Jellyfin API key, and the Jellyfin host URL. Because the vulnerable call site dispatches via `node-postgres`'s simple query protocol (no parameter array is passed), stacked queries are allowed, which escalates the injection from data disclosure to arbitrary command execution on the PostgreSQL host via `COPY ... TO PROGRAM`. Under the role shipped by the project's `docker-compose.yml` (a PostgreSQL superuser), no additional privileges are required to reach the RCE primitive. Version 1.1.10 contains a fix.","aliases":["GHSA-fj7c-2p5q-g56m"],"modified":"2026-07-08T08:12:50.194508Z","published":"2026-04-22T20:39:31.044Z","database_specific":{"cwe_ids":["CWE-89"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41167.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41167.json"},{"type":"ADVISORY","url":"https://github.com/CyferShepard/Jellystat/security/advisories/GHSA-fj7c-2p5q-g56m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41167"},{"type":"FIX","url":"https://github.com/CyferShepard/Jellystat/commit/735fe7c6eb0e3e34e92a8a82fd21914d76693665"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cyfershepard/jellystat","events":[{"introduced":"0"},{"fixed":"735fe7c6eb0e3e34e92a8a82fd21914d76693665"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.1.10"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["1.1.9","V1.1.8","1.1.7","1.1.6","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41167.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}