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-2025-55156

CVE-2025-55156: pyLoad Download Manager SQLi Vulnerability

CVE-2025-55156 is a SQL injection flaw in pyLoad Download Manager affecting the add_links parameter in /json/add_package API. Attackers can modify or delete database data. This article covers technical details, affected versions, and patches.

Published: May 11, 2026

CVE-2025-55156 Overview

CVE-2025-55156 is a SQL Injection vulnerability [CWE-89] in pyLoad, the free and open-source download manager written in pure Python. The flaw affects the add_links parameter in the /json/add_package API endpoint. Attackers can inject arbitrary SQL through this parameter to modify or delete data in the underlying database. The issue exists in versions prior to 0.5.0b3.dev91 and has been patched in that release.

Critical Impact

Unauthenticated network-based attackers can manipulate or destroy data in the pyLoad database by injecting SQL through the add_links parameter, causing integrity loss and operational disruption.

Affected Products

  • pyLoad Download Manager versions prior to 0.5.0b3.dev91
  • The /json/add_package API endpoint accepting the add_links parameter
  • The file_database.py component handling link insertion

Discovery Timeline

  • 2025-08-11 - CVE CVE-2025-55156 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-55156

Vulnerability Analysis

The vulnerability resides in pyLoad's file database handler, specifically in code that constructs an SQL query using string interpolation with attacker-controllable URL values. The add_links parameter, submitted via the /json/add_package API, flows into a SELECT id FROM links WHERE url IN (...) query without parameterization. An attacker who controls the URL strings can break out of the quoted context and append arbitrary SQL clauses. Because the injection occurs in a write-adjacent query path, attackers can pivot to modify or delete rows in the pyLoad database.

Root Cause

The root cause is unsafe SQL query construction in src/pyload/core/database/file_database.py. The vulnerable code joins user-supplied URL values with ',' separators and embeds the joined string directly into an f-string SQL statement. This pattern bypasses the parameter binding facilities of the underlying SQLite driver and exposes the query to injection [CWE-89].

Attack Vector

Exploitation requires network access to the pyLoad web interface and the ability to invoke the /json/add_package API. The attacker submits crafted URL entries within the add_links parameter containing SQL metacharacters such as single quotes and statement terminators. The injected payload is concatenated into the dynamic SQL string and executed by the database engine, allowing data tampering or deletion.

python
# Patch from pyload commit 134edcdf6e2a10c393743c254da3d9d90b74258f
             "UPDATE links SET name=?, size=?, status=? WHERE url=? AND status IN (1,2,3,14)",
             data,
         )
-        ids = []
-        statuses = "','".join(x[3] for x in data)
-        self.c.execute(f"SELECT id FROM links WHERE url IN ('{statuses}')")
-        for r in self.c:
-            ids.append(int(r[0]))
+        urls = [x[3] for x in data]
+        placeholders = ','.join('?' * len(urls))  # Create a parameterized query with the correct number of placeholders
+        self.c.execute(f"SELECT id FROM links WHERE url IN ({placeholders})", urls)
+
+        ids = [int(row[0]) for row in self.c.fetchall()]
         return ids

Source: GitHub Commit 134edcdf. The patch replaces the f-string concatenation with parameterized placeholders, eliminating the injection sink.

Detection Methods for CVE-2025-55156

Indicators of Compromise

  • HTTP POST requests to /json/add_package containing SQL metacharacters such as single quotes, --, ;, UNION, UPDATE, or DELETE inside the add_links parameter.
  • Unexpected modifications or deletions in the pyLoad links table, or rows with anomalous status or name values not produced by normal download workflows.
  • pyLoad application logs showing SQLite errors, syntax errors, or unexpected query failures correlated with API access from external sources.

Detection Strategies

  • Inspect web server and reverse proxy logs for requests to /json/add_package with URL-encoded SQL syntax in the body.
  • Compare the installed pyLoad version against the patched release 0.5.0b3.dev91 to identify exposed installations.
  • Hash or review src/pyload/core/database/file_database.py to confirm the patched parameterized query is present.

Monitoring Recommendations

  • Place pyLoad behind a web application firewall with SQL injection signatures tuned for the add_links parameter.
  • Alert on outbound API authentication anomalies or repeated 500-class responses from pyLoad endpoints.
  • Track database file size and table row counts to detect mass deletion or tampering.

How to Mitigate CVE-2025-55156

Immediate Actions Required

  • Upgrade pyLoad to version 0.5.0b3.dev91 or later, which contains the parameterized query fix.
  • Restrict network exposure of the pyLoad web interface to trusted management networks or VPN access only.
  • Enforce authentication on the pyLoad API and rotate any credentials that may have been exposed.

Patch Information

The fix is delivered in pyLoad commit 134edcdf6e2a10c393743c254da3d9d90b74258f, included in version 0.5.0b3.dev91. Refer to the GitHub Security Advisory GHSA-pwh4-6r3m-j2rf for the upstream advisory and the patched file_database.py for code-level reference.

Workarounds

  • Block access to /json/add_package at a reverse proxy until the upgrade is applied.
  • Apply WAF rules that reject add_links payloads containing SQL syntax such as single quotes, --, or ;.
  • Back up the pyLoad database before upgrading so tampered data can be restored if compromise is suspected.
bash
# Upgrade pyLoad to the patched release
pip install --upgrade 'pyload-ng>=0.5.0b3.dev91'

# Verify installed version
python -c "import pyload; print(pyload.__version__)"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPyload

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/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
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub File Database Code

  • GitHub Commit 134edcdf

  • GitHub Security Advisory GHSA-pwh4-6r3m-j2rf
  • Related CVEs
  • CVE-2026-40594: pyLoad Race Condition Vulnerability

  • CVE-2026-41133: pyLoad Privilege Escalation Vulnerability

  • CVE-2025-54140: pyLoad Path Traversal Vulnerability

  • CVE-2025-57751: pyLoad Download Manager DoS 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