CVE-2025-15616: CWE-94: Improper Control of Generation of Code ('Code Injection') in Wazuh wazuh-agent
Wazuh wazuh-agent and wazuh-manager versions 2.1.0 before 4.8.0 contain multiple shell injection and untrusted search path vulnerabilities that allow attackers to execute arbitrary commands through various components including logcollector configuration, maild SMTP server tags, and Kaspersky AR script parameters. Attackers can exploit these vulnerabilities by injecting malicious commands through configuration files, SMTP server settings, and custom flags to achieve remote code execution on affected systems.
AI Analysis
Technical Summary
CVE-2025-15616 affects Wazuh wazuh-agent and wazuh-manager versions starting from 2.1.0 up to but not including 4.8.0. The vulnerabilities involve multiple shell injection and untrusted search path issues that permit attackers with high privileges to execute arbitrary commands remotely. Attack vectors include manipulation of the logcollector configuration, maild SMTP server tags, and Kaspersky AR script parameters. This improper control of code generation (CWE-94) can lead to remote code execution on affected systems. The CVSS 4.0 base score is 7.1, indicating a high severity vulnerability with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows attackers with high privileges to execute arbitrary commands remotely on affected systems, potentially leading to full system compromise. The vulnerability impacts confidentiality, integrity, and availability of the affected systems due to remote code execution capabilities.
Mitigation Recommendations
No official patch or remediation information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to configuration interfaces and limit privileges of users who can modify configurations related to logcollector, maild SMTP server, and Kaspersky AR scripts to reduce risk.
CVE-2025-15616: CWE-94: Improper Control of Generation of Code ('Code Injection') in Wazuh wazuh-agent
Description
Wazuh wazuh-agent and wazuh-manager versions 2.1.0 before 4.8.0 contain multiple shell injection and untrusted search path vulnerabilities that allow attackers to execute arbitrary commands through various components including logcollector configuration, maild SMTP server tags, and Kaspersky AR script parameters. Attackers can exploit these vulnerabilities by injecting malicious commands through configuration files, SMTP server settings, and custom flags to achieve remote code execution on affected systems.
CVSS v4.0
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-15616 affects Wazuh wazuh-agent and wazuh-manager versions starting from 2.1.0 up to but not including 4.8.0. The vulnerabilities involve multiple shell injection and untrusted search path issues that permit attackers with high privileges to execute arbitrary commands remotely. Attack vectors include manipulation of the logcollector configuration, maild SMTP server tags, and Kaspersky AR script parameters. This improper control of code generation (CWE-94) can lead to remote code execution on affected systems. The CVSS 4.0 base score is 7.1, indicating a high severity vulnerability with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows attackers with high privileges to execute arbitrary commands remotely on affected systems, potentially leading to full system compromise. The vulnerability impacts confidentiality, integrity, and availability of the affected systems due to remote code execution capabilities.
Mitigation Recommendations
No official patch or remediation information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to configuration interfaces and limit privileges of users who can modify configurations related to logcollector, maild SMTP server, and Kaspersky AR scripts to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-03-27T16:25:45.628Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69c6b7823c064ed76fc77d9a
Added to database: 03/27/2026, 16:59:46 UTC
Last enriched: 07/15/2026, 09:49:17 UTC
Last updated: 07/31/2026, 19:22:53 UTC
Views: 144
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.