CVE-2026-56446

Authenticated Remote Code Execution via Arbitrary NDJSON Error Log Path in MISP

Published Jun 22, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

MISP allowed site administrators to set an arbitrary filesystem path for the NDJSON error log used by JsonLogTool. Because the log entries can contain attacker‑controlled data, an authenticated administrator could configure the log destination to point to a PHP file inside a web‑accessible directory and inject PHP code through the logged content. When the generated file is accessed via a web browser, the PHP code is executed with the privileges of the web server process, resulting in remote code execution.

Affected Systems

The vulnerability affects the MISP platform and its various deployments. No specific affected versions are listed in the advisory, so any installation that has not applied the patch restricting log destinations to APP/tmp/logs or /var/log with only .log or .ndjson filenames is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. The attack vector requires an attacker to possess site‑administrator authentication; once that privilege is available, the exploitation is straightforward because the path can be manipulated to create an executable PHP file. The fix requires changing the log configuration to accept only legitimate directories and file names, preventing the injection of executable code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update MISP to a version that restricts NDJSON error log paths to APP/tmp/logs or /var/log and limits file extensions to .log or .ndjson.
  • Delete or disable any PHP files that may have been created by the vulnerable logging mechanism in web‑accessible directories.
  • Reconfigure MISP logging settings to enforce only absolute paths under APP/tmp/logs or /var/log and reject stream wrappers, traversal sequences, and executable extension segments.

Generated by OpenCVE AI on June 22, 2026 at 14:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp
Type Values Removed Values Added
Description 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.
Title Authenticated Remote Code Execution via Arbitrary NDJSON Error Log Path in MISP
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Jun 23, 2026, 3:07 PM
Reserved
Jun 22, 2026, 12:31 PM
Status
Analyzed
Published
Jun 22, 2026, 2:17 PM
Modified
Jun 23, 2026, 4:17 PM