CVE-2026-56446: MISP JsonLogTool Arbitrary Path Log Injection Leading to RCE
MISP contains a critical configuration flaw in its error logging system that allows site administrators to write log files to arbitrary locations on the server. Because log data can contain attacker-controlled input, a malicious administrator could place a PHP file in a web-accessible directory and inject executable code through the logging mechanism. When that file is accessed, it runs as the web server, potentially giving the attacker full control of the MISP instance and connected systems.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.2 HIGH · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-94
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-22 / 2026-06-23
NVD description (verbatim)
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.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-56446 is a code injection vulnerability in MISP's JsonLogTool component. The vulnerability stems from insufficient validation of the NDJSON error log path parameter, which allows an authenticated administrator to specify arbitrary filesystem destinations without restriction. An attacker with site administrator credentials can leverage this to: 1. Direct log output to a PHP file in a web-accessible directory (e.g., under /var/www/html or equivalent) 2. Inject PHP code through attacker-controlled log entry content 3. Access the resulting file via HTTP to trigger code execution The fix implements a whitelist-based approach: restricting log paths to pre-approved base directories (APP/tmp/logs or /var/log), requiring absolute paths, blocking stream wrappers, rejecting path traversal sequences, and limiting filenames to .log or .ndjson extensions while explicitly preventing executable extension segments such as .php.
Business impact
Organizations running MISP face significant operational risk if a site administrator is compromised or acts maliciously. Successful exploitation provides direct remote code execution on the MISP server, enabling attackers to: - Exfiltrate threat intelligence data, indicators, and internal reports - Modify or corrupt indicator data to degrade the organization's detection capabilities - Pivot to connected networks and systems (especially where MISP feeds other security tools) - Establish persistent backdoors for long-term access For security teams relying on MISP as a central intelligence platform, this translates to loss of data integrity, potential regulatory compliance failures, and operational disruption during incident response.
Affected systems
The vulnerability affects MISP (Malware Information Sharing Platform & Threat Sharing) across all installations where the JsonLogTool component is active. The fix restricts log paths to existing directories, so only instances with custom log directory configurations outside the default protected locations would remain vulnerable until patched. Verify your installed MISP version against the vendor advisory for exact patch versions containing the remediation.
Exploitability
Exploitation requires site administrator privileges, which significantly limits the attack surface. However, the vulnerability is practically exploitable if: - An attacker gains legitimate administrative access (credential theft, account compromise, insider threat) - A compromised third-party administrator account is leveraged - Social engineering convinces a site admin to enable a malicious log path configuration The attack does not require user interaction once administrative access is obtained, and no network-layer exploit is needed—a simple HTTP request to the injected PHP file triggers code execution. The CVSS 3.1 score of 7.2 (HIGH) reflects the high-impact nature of code execution despite the privileged access requirement.
Remediation
Update MISP to a version containing the fix for CVE-2026-56446. The patch implements strict validation of the JsonLogTool log path parameter by: 1. Restricting valid log destinations to directories within APP/tmp/logs or /var/log 2. Requiring absolute filesystem paths 3. Blocking stream wrappers (php://, file://, etc.) 4. Rejecting path traversal sequences (../, ..\ etc.) 5. Limiting filenames to .log or .ndjson extensions and blocking executable segments After patching, audit existing log path configurations to ensure they comply with the new restrictions. If any custom log paths were in use, migrate them to one of the approved base directories.
Patch guidance
Consult the official MISP project security advisory for specific patched versions and deployment steps. Given the HIGH severity and administrator-only attack vector, prioritize patching production instances within 2–4 weeks depending on your risk profile and the sensitivity of data in your MISP instance. Test patches in a non-production environment first to ensure compatibility with your logging pipeline and any downstream tools consuming MISP logs. For air-gapped or offline MISP instances, the risk is lower but not eliminated if administrator accounts could be compromised through external means (e.g., credential leaks).
Detection guidance
Detection is most effective at configuration and log levels: 1. **Configuration audit**: Periodically review MISP admin settings to confirm log paths point only to approved directories (APP/tmp/logs or /var/log) and use .log or .ndjson extensions. 2. **File integrity monitoring**: Monitor web-accessible directories (e.g., /var/www/html) for unexpected .php or executable files created around the same time as suspicious MISP logs. 3. **Log analysis**: Search MISP logs for attempts to set log paths containing "../", stream wrappers ("php://", "file://"), or non-.log/.ndjson extensions—these would be blocked by the fix but may appear in unpatched instances. 4. **Web access logs**: Look for HTTP requests to unusual .php files in web-accessible areas that correlate with MISP admin activity or log timestamps. Note: This vulnerability requires administrative action to create the malicious log path, so detection depends on finding either the misconfiguration or the resulting injected files.
Why prioritize this
Although CVE-2026-56446 requires site administrator privileges to exploit, the impact is severe: unauthenticated remote code execution on the MISP server itself. MISP often serves as a central intelligence hub for security teams, making a compromise particularly damaging. Organizations should prioritize patching based on: - **Tier 1**: MISP instances handling sensitive or classified threat intelligence, those directly connected to production security tools, or instances accessible by non-trusted administrators. - **Tier 2**: Internal MISP instances in lower-risk environments or with strong access controls. - **Tier 3**: Isolated lab or test instances. The fact that it is not yet on the CISA Known Exploited Vulnerabilities list does not reduce urgency—the fix has been available and the attack path is straightforward.
Risk score, explained
The CVSS 3.1 score of 7.2 (HIGH) reflects a high-impact vulnerability with a significant but restricted attack surface: - **Attack Vector (N)**: Network—the injected PHP file is accessed via HTTP. - **Attack Complexity (L)**: Low—once the malicious log path is set, code execution is automatic on file access. - **Privileges Required (H)**: High—only site administrators can configure the log path. - **User Interaction (N)**: None required after the configuration is changed. - **Scope (U)**: Unchanged—impact is confined to the MISP server. - **Confidentiality, Integrity, Availability (H/H/H)**: Complete compromise of the server is possible (code execution). The score appropriately weighs the privileged requirement against the severity of unauthenticated RCE, making this a clear priority for administrative security controls and timely patching.
Frequently asked questions
Can an attacker without administrator privileges exploit this?
No. This vulnerability requires valid site administrator credentials to reconfigure the JsonLogTool log path. Exploitation is not possible for unprivileged users, authenticated or otherwise. However, if an administrator account is compromised—through phishing, credential stuffing, or insider threats—the attacker gains the ability to exploit the flaw.
What if our MISP instance is not directly exposed to the internet?
Air-gapped or internal-only MISP instances have lower exposure, but the risk is not eliminated. Compromise of an administrator account through external means (e.g., leaked credentials, endpoint malware, supply chain attack) could still be leveraged. Additionally, if MISP is accessed remotely by admins via VPN or another network service, the instance is effectively exposed to the internet as far as this vulnerability is concerned.
Does this vulnerability affect MISP integrations or downstream tools?
No direct impact on integrations. However, if an attacker gains RCE on the MISP server, they can modify threat intelligence data before it is exported to connected tools, potentially poisoning the entire detection pipeline across your organization. This makes MISP a high-value target.
Are there any workarounds if we cannot patch immediately?
The core mitigation is strong access control: strictly limit who has site administrator privileges, use multi-factor authentication for admin accounts, and monitor admin activity. Additionally, restrict filesystem permissions on web-accessible directories to prevent PHP execution outside intended locations. These are not substitutes for patching but provide defense-in-depth while you prepare a patch deployment.
This analysis is provided for informational and educational purposes and reflects publicly available information as of the publication date. SEC.co makes no warranty regarding the accuracy or completeness of this information. Patch version numbers and affected product details should be verified directly against the official MISP project security advisory and vendor documentation. Organizations are responsible for assessing their own exposure and implementing appropriate remediation based on their risk tolerance and operational context. Unauthorized access to computer systems is illegal; this information is not intended to facilitate malicious activity. Source: NVD (public-domain), retrieved 2026-07-29. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10904HIGHChrome V8 Sandbox Escape Remote Code Execution
- CVE-2026-10928HIGHScript Injection in Google Chrome Headless – CVSS 8.8 High Severity
- CVE-2026-11231HIGHChrome Safe Browsing Code Execution on macOS – Patch Now
- CVE-2026-11688HIGHChrome SVG Sandbox Escape RCE Vulnerability – Patch Urgently
- CVE-2026-1829HIGHContent Visibility for Divi Builder Plugin RCE (v4.02 and below)
- CVE-2026-24155HIGHNVIDIA NeMo Framework Code Injection Vulnerability (CVSS 7.8)
- CVE-2026-25856HIGHOpenBullet2 Authenticated Remote Code Execution Vulnerability
- CVE-2026-34916HIGHRevive Adserver PHP Code Injection via Delivery Limitations