Skip to main content

Perf Ninja EUVDEUVD-2026-14744

| CVE-2026-4745 CRITICAL
Code Injection (CWE-94)
2026-03-24 GovTech CSG GHSA-p4qv-w9rr-5cfp
10.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted input to perf-ninja Lua module
  2. Exploit
    Inject malicious code into ldo.C parser
  3. Execution
    Execute arbitrary code with perf-ninja privileges
  4. Impact
    Compromise system integrity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated attacker can inject code through perf-ninja's Lua modules (labs/misc/pgo) affecting ldo.C file. No special configuration or victim interaction required. Exploitable against default perf-ninja installations accepting external Lua input.

Impact

While CVSS and EPSS scores are not provided in this disclosure, the risk assessment must consider multiple factors: the vulnerability class (CWE-94 code injection) typically carries high severity due to its remote code execution potential; the attack vector likely involves local or network interaction with perf-ninja's Lua processing capabilities; a vendor patch has been released (mitigating the 'unpatched' risk signal); there is no indication of active exploitation in the wild or KEV status; and no public proof-of-concept is documented in the available intelligence. The fact that a patch is available from the vendor via GitHub PR #129 suggests the issue was responsibly disclosed and has been addressed, reducing the urgency compared to unpatched code injection flaws. For organizations using perf-ninja, this should be treated as a medium-to-high priority based on code injection severity, but the availability of a patch shifts the risk profile toward manageable remediation rather than emergency response.

Exploit ScenarioDerived

An attacker with access to perf-ninja's Lua module processing could craft malicious input that, when processed by ldo.C, injects arbitrary Lua code into the execution pipeline. For example, if perf-ninja accepts user-supplied profiling parameters that are concatenated into Lua code without sanitization, an attacker could inject code that executes system commands or modifies the profiling output. This would require either local access or the ability to interact with perf-ninja over a network interface, depending on the deployment model.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 24, 2026

A code injection vulnerability exists in dendibakh perf-ninja's Lua modules (specifically in ldo.C within labs/misc/pgo), allowing improper control of code generation that can lead to remote code execution. The vulnerability affects all versions of perf-ninja as indicated by the CPE specification. An attacker can exploit this flaw to inject and execute arbitrary code, with a vendor patch now available to remediate the issue.

RemediationAI

Apply the vendor patch released via GitHub pull request #129 (https://github.com/dendibakh/perf-ninja/pull/129) to remediate the code injection vulnerability. Users should update their perf-ninja installation to incorporate the patched ldo.C module from the main repository. Until patching is feasible, restrict network access to perf-ninja instances to trusted users and systems, disable or isolate Lua scripting features if not actively needed for profiling workflows, and monitor perf-ninja processes for unexpected code execution patterns.

Affected VersionsENISA

perf-ninja 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Lua module handling code within perf-ninja's performance profiling and optimization toolkit, specifically in the ldo.C source file which manages Lua function calls and code execution. This is classified as CWE-94 (Improper Control of Generation of Code), a weakness where user-controlled input is insufficiently validated before being used to generate executable code. Lua, being a scripting language embedded in perf-ninja, creates a pathway for code injection when user input is concatenated or interpolated into Lua code without proper sanitization. The affected product identifier per CPE is cpe:2.3:a:dendibakh:perf-ninja:*:*:*:*:*:*:*:*, indicating all versions are potentially vulnerable.

Know when Perf Ninja gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 10.0 CRITICAL
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/S:N/AU:Y/R:U/V:D/RE:L/U:Amber

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch released
Mar 24, 2026 - 04:30 nvd
Patch available
CVE Published
Mar 24, 2026 - 03:27 nvd
CRITICAL 10.0

DescriptionCVE.org

Improper Control of Generation of Code ('Code Injection') vulnerability in dendibakh perf-ninja (labs/misc/pgo/lua modules). This vulnerability is associated with program files ldo.C.

This issue affects perf-ninja.

Executive ViewAI

Why It Matters

CVE-2026-4745 presents critical security risk, a code injection vulnerability rated CVSS 10.0. Successful exploitation could allow attackers to execute arbitrary code or commands on affected systems, potentially leading to full system compromise. A patch is available and should be applied immediately given the critical severity.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Deploy WAF rules to block injection patterns; (2) Restrict network access to affected components; (3) Enable enhanced logging for suspicious activity.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy