Skip to main content

Jellystat EUVDEUVD-2026-25098

| CVE-2026-41167 CRITICAL
SQL Injection (CWE-89)
2026-04-22 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated API credentials
  2. Delivery
    Send crafted POST to /api/getUserDetails
  3. Exploit
    Inject SQL to query app_config table
  4. Execution
    Exfiltrate admin credentials and API keys
  5. Persist
    Execute stacked query with COPY TO PROGRAM
  6. Impact
    Achieve command execution on PostgreSQL host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated access to Jellystat API with sufficient privileges to invoke POST /api/getUserDetails or POST /api/getLibrary endpoints (CVSS PR:H). Default docker-compose.yml deployment configurations are especially vulnerable because PostgreSQL runs with superuser privileges, removing the typical database-level privilege barrier to COPY TO PROGRAM execution. Exploitation does NOT require non-default product features or special configurations - the vulnerable code paths are active in standard installations. Limiting factors: network access to Jellystat API, valid user credentials, and PostgreSQL superuser role (mitigated if administrators manually restrict database user privileges below superuser level, which would limit impact to credential disclosure rather than RCE).

Impact

CVSS 9.1 (Critical) reflects the severe impact chain: network-accessible attack vector (AV:N), low complexity (AC:L), changed scope (S:C), and full confidentiality/integrity/availability impact. However, the high privileges required (PR:H) moderates real-world risk - exploitation requires authenticated access with sufficient API permissions. EPSS data not provided in intelligence, but the technical barrier is low once authentication is obtained: publicly documented injection points and well-known PostgreSQL RCE techniques make this easily automatable. The critical differentiator is deployment context: installations using the vendor's default docker-compose.yml are highly vulnerable due to PostgreSQL superuser privileges, while hardened deployments with restricted database roles significantly reduce RCE feasibility (limiting impact to data disclosure). Not present in CISA KEV, suggesting targeted rather than widespread exploitation. Primary risk is to internet-exposed Jellystat instances with weak authentication and default PostgreSQL configuration - credential stuffing or compromised low-privilege accounts become critical infrastructure compromise vectors. Fix availability in 1.1.10 makes this a clear upgrade priority, but operators must also review PostgreSQL role grants as defense-in-depth.

Exploit ScenarioDerived

An attacker with valid Jellystat credentials (PR:H) sends a crafted POST request to /api/getUserDetails with a malicious JSON payload containing SQL injection syntax in an unsanitized field. The injected SQL first queries the app_config table to exfiltrate the Jellystat admin password and Jellyfin API key. Using stacked queries via semicolon separation, the attacker appends a COPY TO PROGRAM statement executing a reverse shell command on the PostgreSQL host, gaining code execution as the postgres superuser. Publicly available exploit code exists given the detailed GitHub Security Advisory disclosure of vulnerable endpoints and exploitation techniques.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 23, 2026

SQL injection in Jellystat versions prior to 1.1.10 escalates to remote code execution on the PostgreSQL database host. Authenticated attackers can inject arbitrary SQL via multiple API endpoints (/api/getUserDetails, /api/getLibrary), initially exfiltrating sensitive credentials from the app_config table (including Jellystat admin credentials and Jellyfin API keys). Because the application uses node-postgres simple query protocol allowing stacked queries, attackers can leverage PostgreSQL's COPY ... TO PROGRAM to achieve command execution on the database server. The project's default docker-compose.yml deploys PostgreSQL with superuser privileges, removing any privilege barriers to RCE. Vendor patch released in version 1.1.10 (GitHub commit 735fe7c confirmed). No active exploitation confirmed by CISA KEV, but publicly available exploit code exists given the detailed technical disclosure in GitHub Security Advisory GHSA-fj7c-2p5q-g56m.

RemediationAI

Upgrade immediately to Jellystat version 1.1.10 or later, which contains parameterized query fixes confirmed in GitHub commit 735fe7c6eb0e3e34e92a8a82fd21914d76693665 (https://github.com/CyferShepard/Jellystat/commit/735fe7c6eb0e3e34e92a8a82fd21914d76693665). For installations that cannot upgrade immediately, implement network-level access controls restricting API access to trusted IPs only, and audit PostgreSQL role privileges to revoke superuser status from the application database user (this prevents COPY TO PROGRAM escalation but does not prevent credential disclosure via SELECT injection, so it is a risk-reduction measure, not a full mitigation). Change all credentials stored in the app_config table (Jellystat admin password, Jellyfin API keys) and enable PostgreSQL query logging to detect injection attempts via malformed JSON in POST request bodies to /api/getUserDetails and /api/getLibrary endpoints. Review the vendor security advisory at https://github.com/CyferShepard/Jellystat/security/advisories/GHSA-fj7c-2p5q-g56m for additional technical context. Note that restricting database privileges trades off reduced blast radius for potential application functionality degradation if Jellystat legitimately requires elevated PostgreSQL operations.

Affected VersionsENISA

Jellystat < 1.1.10

Affected Packages

euvd jellystat fix: 1.1.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Jellystat is a statistics and monitoring dashboard for Jellyfin media servers. The vulnerability stems from unsafe SQL query construction where user-supplied JSON body fields are directly concatenated into SQL strings without parameterization (CWE-89: SQL Injection). The root cause is using node-postgres (pg library) in simple query mode rather than parameterized query mode - when a query is executed without passing a separate parameter array, PostgreSQL accepts multiple semicolon-separated statements (stacked queries). This transforms a typical data-disclosure SQLi into a remote code execution primitive via PostgreSQL's COPY ... TO PROGRAM syntax, which invokes arbitrary shell commands on the database host. The docker-compose.yml configuration documented in the Jellystat repository runs PostgreSQL with the default superuser role, bypassing privilege checks that would otherwise restrict COPY ... TO PROGRAM to administrative roles. CPE cpe:2.3:a:cyfershepard:jellystat identifies CyferShepard as the vendor, affecting all versions below 1.1.10.

Know when Jellystat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 20:46 nvd
Patch available
Patch available
Apr 22, 2026 - 22:02 EUVD
CVE Published
Apr 22, 2026 - 20:39 nvd
CRITICAL 9.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Jellystat versions before 1.1.10 contain a critical SQL injection vulnerability that allows authenticated attackers to execute arbitrary commands on PostgreSQL database servers, potentially compromising all credentials and media library data stored in the application. Organizations running Jellystat in default Docker configurations face immediate risk of full database and host compromise, affecting any dependent systems that rely on Jellystat's credentials or data.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Pending patching: (1) Implement network segmentation restricting API access to trusted internal networks only; (2) disable or heavily restrict authenticated user accounts in Jellystat until patching is complete; (3) monitor PostgreSQL logs for COPY TO PROGRAM commands and unexpected process execution; (4) isolate the PostgreSQL database host from critical infrastructure.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy