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
    • 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-2023-0297

CVE-2023-0297: Pyload RCE Vulnerability

CVE-2023-0297 is a code injection remote code execution vulnerability in Pyload that allows attackers to execute arbitrary code. This post covers the technical details, affected versions, security impact, and mitigation.

Published: February 11, 2026

CVE-2023-0297 Overview

CVE-2023-0297 is a critical code injection vulnerability in pyLoad, an open-source download manager written in Python. The vulnerability exists in versions prior to 0.5.0b3.dev31 and allows unauthenticated remote attackers to execute arbitrary Python code on the target system by abusing the js2py functionality integrated within the application.

Critical Impact

This vulnerability enables unauthenticated remote code execution, allowing attackers to fully compromise systems running vulnerable pyLoad instances without any user interaction.

Affected Products

  • pyLoad versions prior to 0.5.0b3.dev31
  • pyLoad 0.5.0 and earlier beta releases
  • All pyLoad installations using the vulnerable js2py integration

Discovery Timeline

  • 2023-01-14 - CVE-2023-0297 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-0297

Vulnerability Analysis

The vulnerability stems from the unsafe integration of the js2py library within pyLoad's utility functions. js2py is a JavaScript-to-Python translator and interpreter that, when improperly configured, can allow the execution of arbitrary Python code through JavaScript evaluation contexts.

The core issue lies in the failure to disable Python imports within the js2py execution environment. This oversight allows attackers to craft malicious JavaScript payloads that leverage js2py's Python interoperability features to import and execute arbitrary Python modules, ultimately achieving remote code execution on the underlying system.

The attack can be executed remotely over the network without requiring any form of authentication or user interaction, making it particularly dangerous for internet-facing pyLoad instances.

Root Cause

The root cause of CVE-2023-0297 is the missing call to js2py.disable_pyimport() in pyLoad's utility module (src/pyload/core/utils/misc.py). Without this security control, the js2py interpreter permits Python imports from within JavaScript evaluation contexts, effectively creating a code injection pathway.

The js2py library provides the disable_pyimport() function specifically to prevent this class of attack, but pyLoad failed to implement this security measure in affected versions.

Attack Vector

The vulnerability is exploitable via network-accessible pyLoad interfaces. Attackers can submit crafted JavaScript payloads that are processed by the js2py interpreter. Due to the missing import restrictions, these payloads can escape the JavaScript sandbox and execute arbitrary Python code with the privileges of the pyLoad process.

The following patch demonstrates the security fix applied to address this vulnerability:

python
# -*- coding: utf-8 -*-

import random
-import socket
import string

import js2py

-from .check import is_mapping
+js2py.disable_pyimport()


def random_string(length):

Source: GitHub PyLoad Commit

The fix adds the critical js2py.disable_pyimport() call immediately after importing the js2py library, preventing Python imports from being executed within the JavaScript evaluation context.

Detection Methods for CVE-2023-0297

Indicators of Compromise

  • Unusual outbound network connections from pyLoad processes
  • Unexpected child processes spawned by pyLoad
  • Anomalous Python module imports in application logs
  • Modified or newly created files in pyLoad installation directories
  • Suspicious JavaScript payloads in web server access logs containing Python import statements

Detection Strategies

  • Monitor pyLoad web interface logs for requests containing suspicious JavaScript or Python code patterns
  • Implement network intrusion detection rules to identify exploitation attempts targeting the js2py code injection vector
  • Deploy endpoint detection solutions to identify unauthorized code execution from pyLoad processes
  • Scan systems for vulnerable pyLoad versions using vulnerability management tools

Monitoring Recommendations

  • Enable verbose logging for pyLoad and analyze logs for exploitation indicators
  • Configure SIEM rules to alert on pyLoad process spawning unexpected child processes
  • Monitor file system integrity for pyLoad installation directories
  • Implement network segmentation to limit the impact of potential compromise

How to Mitigate CVE-2023-0297

Immediate Actions Required

  • Upgrade pyLoad to version 0.5.0b3.dev31 or later immediately
  • If immediate patching is not possible, restrict network access to pyLoad interfaces
  • Review pyLoad systems for signs of compromise before and after patching
  • Consider temporarily disabling pyLoad services until patches can be applied

Patch Information

The vulnerability has been addressed in pyLoad version 0.5.0b3.dev31 and later. The fix implements the js2py.disable_pyimport() security control to prevent arbitrary Python code execution through the JavaScript interpreter. The security patch is available in the official commit.

Additional technical details and exploit information are documented on Packet Storm Security and the Huntr bug bounty platform.

Workarounds

  • Implement network-level access controls to restrict access to pyLoad interfaces to trusted networks only
  • Deploy a web application firewall (WAF) with rules to filter suspicious JavaScript payloads
  • Run pyLoad in a containerized or sandboxed environment to limit the impact of potential exploitation
  • Disable pyLoad's web interface entirely if not required for operations
bash
# Example: Restrict pyLoad access using iptables
iptables -A INPUT -p tcp --dport 8000 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8000 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPyload

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Packet Storm Security Exploit

  • Packet Storm Security RCE

  • Huntr Vulnerability Bounty
  • Vendor Resources
  • GitHub PyLoad Commit
  • Related CVEs
  • CVE-2026-35464: pyLoad Download Manager RCE Vulnerability

  • CVE-2026-35463: pyLoad Download Manager RCE Vulnerability

  • CVE-2026-33509: Pyload Download Manager RCE Vulnerability

  • CVE-2025-53890: pyLoad Download Manager RCE 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