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
    • 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-30924

CVE-2026-30924: qui (qBittorrent Web Interface) CSRF Vulnerability

CVE-2026-30924 is a CSRF flaw in qui, a web interface for managing qBittorrent instances, allowing attackers to make authenticated requests using victim sessions. This article covers technical details, affected versions, and impact.

Published: March 20, 2026

CVE-2026-30924 Overview

CVE-2026-30924 is a critical CORS (Cross-Origin Resource Sharing) misconfiguration vulnerability affecting qui, a web interface for managing qBittorrent instances. Versions 1.14.1 and below implement a permissive CORS policy that reflects arbitrary origins while returning Access-Control-Allow-Credentials: true, allowing any external webpage to make authenticated requests on behalf of logged-in users.

This vulnerability enables attackers to trick victims into loading malicious webpages that silently interact with the qui application using the victim's authenticated session. The potential impact includes exfiltration of sensitive data such as API keys and account credentials, and even full system compromise through the built-in External Programs manager.

Critical Impact

Attackers can achieve full system compromise by exploiting the External Programs manager feature, steal API keys and credentials, and execute arbitrary authenticated actions on behalf of logged-in users through a simple social engineering attack.

Affected Products

  • qui (qBittorrent web interface) versions 1.14.1 and below
  • autobrr/qui project installations accessible via non-localhost hostnames

Discovery Timeline

  • 2026-03-19 - CVE-2026-30924 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-30924

Vulnerability Analysis

This vulnerability stems from an insecure CORS configuration in the qui web application (CWE-942: Permissive Cross-domain Policy with Untrusted Domains). The application's API server was configured to reflect any origin in CORS responses while simultaneously allowing credentials to be included in cross-origin requests.

When a web application sets Access-Control-Allow-Credentials: true alongside a permissive AllowOriginFunc that returns true for any origin, browsers permit cross-origin requests from attacker-controlled websites to include cookies and authentication headers. This effectively bypasses the same-origin policy, allowing malicious sites to perform authenticated actions on behalf of users.

The attack requires the victim to access the qui application via a non-localhost hostname and then visit an attacker-controlled webpage. This makes highly targeted social-engineering attacks the most likely real-world exploitation scenario.

Root Cause

The root cause lies in the CORS middleware configuration within internal/api/server.go. The original implementation used a permissive AllowOriginFunc that unconditionally returned true for all origins:

go
AllowOriginFunc: func(origin string) bool { return true },

Combined with AllowCredentials: true, this configuration allowed any website to make authenticated cross-origin requests to the qui API, completely undermining the browser's same-origin security model.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker would:

  1. Craft a malicious webpage containing JavaScript that makes authenticated requests to the victim's qui instance
  2. Lure the victim (who is logged into qui via a non-localhost hostname) to visit the malicious page
  3. The malicious JavaScript executes API calls using the victim's authenticated session
  4. The attacker can exfiltrate API keys, credentials, or abuse the External Programs manager for remote code execution

The security patch restricts CORS to an explicit allowlist rather than accepting all origins:

go
// VULNERABLE CODE (removed):
// CORS - mirror autobrr's permissive credentials setup
corsMiddleware := cors.New(cors.Options{
    AllowCredentials: true,
    AllowedMethods:   []string{"HEAD", "OPTIONS", "GET", "POST", "PUT", "PATCH", "DELETE"},
    AllowedHeaders:   []string{"Accept", "Authorization", "Content-Type", "X-API-Key", "X-Requested-With"},
    AllowOriginFunc:  func(origin string) bool { return true },
    MaxAge:           300,
    Debug:            false,
})
r.Use(corsMiddleware.Handler)

// PATCHED CODE:
// CORS is disabled by default. Enable only for explicit trusted origins.
if len(s.config.Config.CORSAllowedOrigins) > 0 {
    corsMiddleware := cors.New(cors.Options{
        AllowCredentials: true,
        AllowedOrigins:   s.config.Config.CORSAllowedOrigins,
        AllowedMethods:   []string{"HEAD", "OPTIONS", "GET", "POST", "PUT", "PATCH", "DELETE"},
        AllowedHeaders:   []string{"Accept", "Authorization", "Content-Type", "X-API-Key", "X-Requested-With"},
        MaxAge:           300,
        Debug:            false,
    })
    r.Use(corsMiddleware.Handler)
}

Source: GitHub Commit 424f7a0

Detection Methods for CVE-2026-30924

Indicators of Compromise

  • Unexpected cross-origin requests in web server access logs from unfamiliar referrer domains
  • API calls to sensitive endpoints (External Programs manager, credential retrieval) from external origins
  • Session activity from IP addresses or user agents inconsistent with legitimate user patterns
  • Unauthorized modifications to External Programs configurations

Detection Strategies

  • Monitor HTTP request logs for Origin headers that don't match expected legitimate origins
  • Implement alerting on API calls to sensitive endpoints that include cross-origin request indicators
  • Review server configuration for permissive CORS settings that allow credential-based cross-origin requests
  • Audit access logs for patterns indicating automated or scripted API abuse

Monitoring Recommendations

  • Enable detailed access logging on qui instances and monitor for anomalous cross-origin requests
  • Implement network monitoring to detect potential data exfiltration to external domains
  • Set up alerts for any modifications to the External Programs manager configuration
  • Regularly audit session activity for signs of unauthorized access or account takeover

How to Mitigate CVE-2026-30924

Immediate Actions Required

  • Update qui to a version containing the security fix (commit 424f7a0de089dce881e8bbecd220163a78e0295f or later)
  • Restrict qui access to localhost or trusted network segments only
  • Review and rotate any API keys or credentials that may have been exposed
  • Audit External Programs manager configurations for unauthorized changes
  • Implement network-level access controls to limit exposure

Patch Information

The vulnerability has been addressed in commit 424f7a0de089dce881e8bbecd220163a78e0295f. The fix disables CORS by default and requires explicit configuration of trusted origins via the CORSAllowedOrigins setting. Users should upgrade to a version containing this commit and configure only necessary trusted origins.

For detailed patch information, see the GitHub Security Advisory.

Workarounds

  • Access qui exclusively via localhost or 127.0.0.1 to prevent cross-origin exploitation
  • Place qui behind a reverse proxy that strips or validates CORS headers
  • Implement network segmentation to prevent external access to qui instances
  • Use a web application firewall (WAF) to block suspicious cross-origin requests
bash
# Configuration example - restrict qui access to localhost only
# In your reverse proxy (nginx example):
server {
    listen 127.0.0.1:8080;
    server_name localhost;
    
    location / {
        proxy_pass http://localhost:qui_port;
        # Remove permissive CORS headers if present
        proxy_hide_header Access-Control-Allow-Origin;
        proxy_hide_header Access-Control-Allow-Credentials;
    }
}

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechQbittorrent

  • SeverityCRITICAL

  • CVSS Score9.0

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityLow
  • CWE References
  • CWE-942
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-51774: qBittorrent Information Disclosure Flaw
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