Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted input to perf-ninja Lua module
-
ExploitInject malicious code into ldo.C parser
-
ExecutionExecute arbitrary code with perf-ninja privileges
-
ImpactCompromise 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
EUVD-2026-14744
GHSA-p4qv-w9rr-5cfp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB