A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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.

Updated: May 19, 2026

CVE-2025-55156 Overview

pyLoad is a free, open-source download manager written in Python. CVE-2025-55156 is a SQL injection vulnerability [CWE-89] in the add_links parameter of the /json/add_package API endpoint. Attackers can submit crafted input that breaks out of the intended SQL context and manipulates database queries. Successful exploitation lets attackers modify or delete records, leading to data corruption or loss. The flaw affects all releases prior to version 0.5.0b3.dev91 and has been fixed in that release.

Critical Impact

Unauthenticated network attackers can inject SQL statements through the add_links parameter, allowing unauthorized modification and deletion of database content in pyLoad instances.

Affected Products

  • pyLoad Download Manager versions prior to 0.5.0b3.dev91
  • Component: src/pyload/core/database/file_database.py
  • API endpoint: /json/add_package

Discovery Timeline

  • 2025-08-11 - 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 the file database layer of pyLoad. The add_links parameter passed through the /json/add_package API is concatenated directly into a SQL statement using Python string formatting. Because the user-controlled URL values are interpolated without parameter binding, attackers can inject arbitrary SQL syntax. The affected code path executes a SELECT id FROM links WHERE url IN (...) query against the pyLoad SQLite database. The result is unauthorized read, modification, or destruction of stored package and link records.

Root Cause

The root cause is improper neutralization of special elements used in a SQL command [CWE-89]. The original implementation built the IN clause by joining user-supplied URL strings with ',' and substituting them via an f-string. Single quotes or SQL metacharacters inside the URL values close the literal and append attacker-controlled SQL.

Attack Vector

An unauthenticated remote attacker sends a crafted POST request to the /json/add_package endpoint with a malicious add_links payload. The injected fragment is processed by the file_database.py query builder and executed against the backing database. No user interaction is required.

python
# Patch diff from src/pyload/core/database/file_database.py
            "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 134edcd. The fix replaces string interpolation with parameterized placeholders, ensuring user-supplied URLs are bound as values rather than parsed as SQL.

Detection Methods for CVE-2025-55156

Indicators of Compromise

  • POST requests to /json/add_package containing single quotes, SQL keywords such as UNION, SELECT, DROP, or comment sequences (--, /*) within the add_links parameter.
  • Unexpected modifications or deletions in the pyLoad links and packages database tables.
  • Application errors from the SQLite engine logged by pyLoad when malformed injection attempts fail to parse.

Detection Strategies

  • Inspect web access logs for /json/add_package requests carrying URL-encoded SQL metacharacters in add_links.
  • Compare current pyLoad binaries and Python source against version 0.5.0b3.dev91 to confirm the patched query builder is present.
  • Enable SQL statement logging in the pyLoad database backend and alert on queries to the links table that contain anomalous syntax.

Monitoring Recommendations

  • Forward pyLoad application and HTTP logs to a centralized logging or SIEM platform for retention and correlation.
  • Track outbound database write volume and row deletions to detect bulk tampering caused by injected statements.
  • Alert on repeated 4xx or 5xx responses from /json/add_package, which can indicate injection probing.

How to Mitigate CVE-2025-55156

Immediate Actions Required

  • Upgrade pyLoad to version 0.5.0b3.dev91 or later on every host running the download manager.
  • Restrict network exposure of the pyLoad web interface to trusted management networks or place it behind an authenticated reverse proxy.
  • Audit the pyLoad database for unexpected changes to the links and packages tables and restore from backup if tampering is found.

Patch Information

The fix is committed in pyload commit 134edcd and shipped in version 0.5.0b3.dev91. Details are published in the GitHub Security Advisory GHSA-pwh4-6r3m-j2rf. The patch converts the dynamic IN (...) clause into a parameterized query.

Workarounds

  • Block external access to the /json/add_package endpoint at the network or reverse-proxy layer until the upgrade is applied.
  • Run pyLoad under a low-privilege user account with restricted file system access to limit the impact of any database corruption.
  • Take regular backups of the pyLoad database to enable recovery from malicious modifications.
bash
# Upgrade pyLoad to the patched release
pip install --upgrade "pyload-ng>=0.5.0b3.dev91"

# Verify the installed version
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 Script

  • GitHub Commit Details

  • GitHub Security Advisory GHSA-pwh4-6r3m-j2rf
  • Related CVEs
  • CVE-2026-44226: pyLoad Information Disclosure Vulnerability

  • CVE-2026-40594: pyLoad Race Condition Vulnerability

  • CVE-2026-41133: pyLoad Privilege Escalation Vulnerability

  • CVE-2025-54140: pyLoad Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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