The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-31852

CVE-2026-31852: Jellyfin iOS GitHub Actions RCE Vulnerability

CVE-2026-31852 is a remote code execution flaw in Jellyfin iOS GitHub Actions workflow that enables repository takeover and supply chain attacks. This article covers the technical details, security impact, and remediation steps.

Published: March 13, 2026

CVE-2026-31852 Overview

CVE-2026-31852 is a critical arbitrary code execution vulnerability in the GitHub Actions workflow configuration of the Jellyfin iOS application repository. The code-quality.yml workflow in jellyfin/jellyfin-ios is vulnerable to arbitrary code execution via pull requests from forked repositories. This vulnerability exists in the CI/CD configuration rather than the application code itself.

Due to the workflow's elevated permissions (nearly all write permissions), successful exploitation enables devastating consequences including full repository takeover of jellyfin/jellyfin-ios, exfiltration of highly privileged secrets, Apple App Store supply chain attacks, GitHub Container Registry (ghcr.io) package poisoning, and complete Jellyfin organization compromise via cross-repository token usage.

Critical Impact

This vulnerability enables full supply chain compromise of the Jellyfin iOS application, potentially affecting all users who install or update the app through the Apple App Store. Attackers can inject malicious code into release builds without authentication.

Affected Products

  • Jellyfin iOS (jellyfin/jellyfin-ios GitHub repository)
  • GitHub Actions workflow code-quality.yml
  • Jellyfin organization infrastructure via cross-repository token access

Discovery Timeline

  • 2026-03-11 - CVE-2026-31852 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-31852

Vulnerability Analysis

This vulnerability represents a CI/CD pipeline security flaw classified under CWE-269 (Improper Privilege Management). The code-quality.yml GitHub Actions workflow was configured to execute on pull request events from any source, including forked repositories, while retaining elevated write permissions across the repository.

When a workflow runs in the context of pull_request_target or similar triggers with improper checkout configurations, code from an untrusted fork can execute with the permissions of the base repository. In this case, the workflow possessed nearly all write permissions, creating a scenario where an attacker could submit a malicious pull request that would execute arbitrary code with full repository access.

The exploitation path is particularly severe because it enables:

  1. Repository Takeover: Full write access to the jellyfin/jellyfin-ios repository
  2. Secret Exfiltration: Access to GitHub secrets including deployment credentials and API keys
  3. Supply Chain Attack: Ability to modify release workflows and inject malicious code into App Store builds
  4. Container Registry Poisoning: Modification of images published to ghcr.io
  5. Organization Compromise: Cross-repository token usage could pivot to other Jellyfin repositories

Root Cause

The root cause is improper privilege management in the GitHub Actions workflow configuration. The code-quality.yml workflow was configured with excessive write permissions while accepting pull request triggers from untrusted sources (forked repositories). This combination violates the principle of least privilege and creates a path for arbitrary code execution in a privileged context.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Forking the jellyfin/jellyfin-ios repository
  2. Modifying the workflow or adding malicious scripts that execute during the workflow run
  3. Creating a pull request against the main repository
  4. The vulnerable workflow automatically executes the attacker's code with elevated privileges
  5. The attacker's code can then access repository secrets, modify repository contents, or perform any action permitted by the workflow's permissions

The vulnerability is exploited through GitHub's pull request mechanism. When the code-quality.yml workflow triggers on a pull request from a fork, it executes code controlled by the attacker while retaining the permissions configured in the workflow. This allows extraction of secrets via environment variables or API calls, and enables persistent access through repository modifications.

Detection Methods for CVE-2026-31852

Indicators of Compromise

  • Unexpected pull requests from unknown forked repositories that trigger workflow runs
  • Workflow execution logs showing unusual commands or network connections
  • Unauthorized modifications to repository files, especially workflow configurations
  • Secret usage patterns indicating exfiltration (API calls to external endpoints)
  • Unexpected container image pushes to ghcr.io/jellyfin/*

Detection Strategies

  • Audit GitHub Actions workflow runs for pull requests from forked repositories with elevated permissions
  • Monitor for workflow configuration changes in the .github/workflows/ directory
  • Review GitHub audit logs for repository admin actions and secret access patterns
  • Implement branch protection rules requiring approval before workflow execution
  • Deploy SIEM rules to alert on GitHub webhook events indicating suspicious workflow activity

Monitoring Recommendations

  • Enable GitHub Advanced Security features for workflow analysis
  • Configure alerts for workflow runs triggered by external contributors
  • Monitor container registry push events for unauthorized image modifications
  • Review deployment logs for the Apple App Store submission pipeline
  • Implement runtime security monitoring on workflow runners to detect malicious activity

How to Mitigate CVE-2026-31852

Immediate Actions Required

  • Review and audit all GitHub Actions workflows in the jellyfin/jellyfin-ios repository
  • Rotate all secrets and tokens that may have been accessible to compromised workflows
  • Verify integrity of recent releases and container images
  • Enable branch protection requiring approval for workflow runs from forks
  • Audit organization-level access tokens for potential cross-repository abuse

Patch Information

The Jellyfin maintainers have addressed this vulnerability through a workflow configuration update. This fix modifies the code-quality.yml workflow to remove dangerous permission configurations and properly restrict execution contexts for pull requests from forked repositories.

This is a configuration vulnerability, not a code vulnerability. End users do not need to take any action—the fix has been applied to the repository's CI/CD configuration. Repository administrators should verify the patch has been applied by confirming commit 109217e75f38394b2f6e46e25dfe5a721203d3c8 is present.

For additional details, refer to the GitHub Security Advisory GHSA-7qhm-2m45-7fmh.

Workarounds

  • Disable pull_request_target triggers or switch to pull_request which runs in the context of the fork
  • Remove write permissions from workflows that process untrusted input
  • Require manual approval for all workflow runs triggered by external contributors
  • Use GitHub's permissions key to explicitly restrict workflow permissions to read-only where possible
  • Implement separate workflows for trusted and untrusted contribution contexts
bash
# Example: Restricting workflow permissions in GitHub Actions
# Add this to the workflow file to minimize permissions
permissions:
  contents: read
  pull-requests: read
  # Avoid write permissions for workflows triggered by forks

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJellyfin

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-269
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-7qhm-2m45-7fmh
  • Related CVEs
  • CVE-2021-29490: Jellyfin SSRF Vulnerability

  • CVE-2021-21402: Jellyfin Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English