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-4745

CVE-2026-4745: perf-ninja Code Injection Vulnerability

CVE-2026-4745 is a code injection flaw in perf-ninja's lua modules that enables remote code execution through improper code generation control. This article covers technical details, affected components, and mitigation.

Published: March 27, 2026

CVE-2026-4745 Overview

CVE-2026-4745 is a critical code injection vulnerability discovered in the dendibakh perf-ninja project, specifically affecting the labs/misc/pgo/lua modules. This vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and is associated with the program file ldo.C. The flaw allows attackers to inject and execute arbitrary code through improper handling of code generation within the Lua modules used by the perf-ninja performance training framework.

Critical Impact

This vulnerability enables remote attackers to execute arbitrary code without authentication, potentially leading to complete system compromise including unauthorized data access, system manipulation, and further lateral movement within affected environments.

Affected Products

  • dendibakh perf-ninja (labs/misc/pgo/lua modules)
  • perf-ninja ldo.C component

Discovery Timeline

  • 2026-03-24 - CVE-2026-4745 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2026-4745

Vulnerability Analysis

This code injection vulnerability exists within the Lua modules of the perf-ninja project, a repository designed for teaching performance optimization techniques. The vulnerability stems from improper control of code generation within the ldo.C file, which handles Lua script execution and dynamic code operations.

The flaw allows an attacker to inject malicious code that gets executed within the context of the application. Since this vulnerability is network-accessible and requires no authentication or user interaction, it presents a significant attack surface. The vulnerability can potentially affect not only the immediate system but also connected systems, as indicated by the scope change potential in the vulnerability assessment.

Root Cause

The root cause of CVE-2026-4745 lies in the ldo.C file within the Lua modules of perf-ninja. The code fails to properly sanitize or validate input before incorporating it into dynamically generated code. This lack of input validation allows specially crafted input to be interpreted as executable code rather than data, enabling code injection attacks.

The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), which occurs when software constructs code segments using externally-influenced input without properly neutralizing or validating that input.

Attack Vector

The attack vector for CVE-2026-4745 is network-based, meaning attackers can exploit this vulnerability remotely without requiring local access to the target system. The exploitation does not require authentication or any user interaction, making it particularly dangerous.

An attacker can craft malicious input that, when processed by the vulnerable ldo.C component, results in the execution of arbitrary code. This could be achieved by sending specially crafted requests or data to the application that processes Lua scripts using the vulnerable perf-ninja modules.

The vulnerability mechanism involves the improper handling of code generation in the Lua modules. When the ldo.C component processes external input, it fails to properly sanitize this input before incorporating it into code execution paths. For detailed technical information, refer to the GitHub Pull Request 129 which addresses this vulnerability.

Detection Methods for CVE-2026-4745

Indicators of Compromise

  • Unexpected or anomalous Lua script execution patterns within perf-ninja environments
  • Suspicious network connections originating from systems running perf-ninja with Lua modules
  • Unusual process spawning or file system modifications associated with Lua interpreter processes
  • Log entries indicating malformed or suspicious input to the ldo.C component

Detection Strategies

  • Implement network intrusion detection rules to monitor for exploitation attempts targeting Lua code injection patterns
  • Deploy application-level logging to capture and analyze input processed by the vulnerable ldo.C component
  • Use runtime application self-protection (RASP) solutions to detect and block code injection attempts
  • Configure SentinelOne agents to monitor for suspicious Lua interpreter behavior and anomalous code execution

Monitoring Recommendations

  • Enable verbose logging for all perf-ninja Lua module operations to capture potential exploitation attempts
  • Set up alerts for any unexpected outbound network connections from systems running the vulnerable software
  • Monitor for unusual CPU or memory usage patterns that may indicate malicious code execution
  • Implement file integrity monitoring on the ldo.C component and related Lua module files

How to Mitigate CVE-2026-4745

Immediate Actions Required

  • Identify all deployments of dendibakh perf-ninja that include the vulnerable labs/misc/pgo/lua modules
  • Restrict network access to systems running the vulnerable perf-ninja components until patches are applied
  • Apply the fix referenced in GitHub Pull Request 129
  • Monitor affected systems for any signs of compromise using the detection methods outlined above

Patch Information

The vulnerability is addressed in the changes proposed in GitHub Pull Request 129. Organizations using the affected perf-ninja Lua modules should review and apply these changes as soon as possible. The patch addresses the improper code generation control in the ldo.C file by implementing proper input validation and sanitization mechanisms.

Workarounds

  • Disable or remove the vulnerable labs/misc/pgo/lua modules if they are not essential to your workflow
  • Implement network segmentation to isolate systems running perf-ninja from untrusted networks
  • Deploy a web application firewall (WAF) or similar filtering solution to inspect and block malicious input patterns
  • Run perf-ninja components in containerized or sandboxed environments to limit the impact of potential exploitation
bash
# Configuration example: Restricting network access to perf-ninja components
# Add firewall rules to limit access to trusted sources only
iptables -A INPUT -p tcp --dport <perf-ninja-port> -s <trusted-ip-range> -j ACCEPT
iptables -A INPUT -p tcp --dport <perf-ninja-port> -j DROP

# Alternative: Disable the vulnerable Lua modules if not required
# Navigate to the perf-ninja installation directory
# mv labs/misc/pgo/lua labs/misc/pgo/lua.disabled

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPerf Ninja

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:A/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:N/AU:Y/R:U/V:D/RE:L/U:Amber
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Pull Request 129
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox 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