Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/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:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable admin UI but PR:H because only site_admin can change the setting, AC:H because the attacker must also force valid PHP into a log line, and S:C as code executes as a different OS principal (web server) than the application.
Primary rating from Vendor (CIRCL).
CVSS VectorVendor: CIRCL
Lifecycle Timeline
2DescriptionCVE.org
MISP allowed a site administrator to configure an arbitrary filesystem path for the NDJSON error log used by JsonLogTool. Because log entries can include attacker-controlled content, an authenticated attacker with site administrator privileges could direct log output to a PHP file in a web-accessible directory and inject PHP code through logged data. Accessing the resulting file could lead to remote code execution with the privileges of the web server process.
The fix restricts log destinations to existing directories beneath APP/tmp/logs or /var/log, requires absolute paths, rejects stream wrappers and traversal-related input, and limits filenames to .log or .ndjson extensions while disallowing executable extension segments.
AnalysisAI
Remote code execution in MISP allows authenticated site administrators to abuse the JsonLogTool NDJSON error log configuration to write attacker-controlled content to a PHP file under the webroot, yielding code execution as the web server user. No public exploit identified at time of analysis, but a vendor patch is available via the MISP GitHub repository.
Technical ContextAI
MISP (Malware Information Sharing Platform) is a PHP/CakePHP threat-intelligence platform. The flaw lives in Server.php where the configuration setting that points JsonLogTool at its NDJSON error log accepted any filesystem path with no validation. Because JsonLogTool appends untrusted, attacker-influenced strings into the log, the path itself becomes a write primitive. The root cause aligns with CWE-94 Improper Control of Generation of Code: the program treats a controllable file name (including its extension and location) as data, when in fact PHP's mod_php / FPM handlers will treat any *.php file under the document root as executable code. The fix introduces a new testLogPath validator that forces absolute paths, resolves symlinks/'..' via realpath, restricts the parent directory to APP/tmp/logs or /var/log, rejects stream wrappers (phar://, php://) and CR/LF/NUL, and restricts file names to .log or .ndjson while blocking dotted segments matching php/phar/phtml/cgi/pl/py/sh/asp/aspx/jsp/exe.
RemediationAI
Upstream fix available (commit 9600d486ccfc98388e13897fd954350cebac5fb0); a released patched version is not independently confirmed in the supplied data, so upgrade to the first MISP release that includes that commit, available from https://github.com/MISP/MISP. Until that upgrade is in place, the practical compensating controls are to leave the JsonLogTool error-log path setting at its default (the built-in path under APP/tmp/logs) and audit Server.settings for any custom value that resolves outside APP/tmp/logs or /var/log, treating any path pointing to a webroot-served directory as an active compromise indicator; additionally, restrict who holds the site_admin role and review the audit log for recent changes to log-path settings. As a deeper defence, configure the web server (Apache/Nginx) to refuse to execute PHP from APP/tmp/logs and /var/log so that even a future log-path bug cannot pivot to RCE - the trade-off is purely operational hardening with no functional side effect on MISP itself.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38229
GHSA-7v9f-64q7-x2jg