CVE-2026-56446: Authenticated Remote Code Execution via Arbitrary NDJSON Error Log Path in MISP

Published Jun 22, 2026
·
Updated

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.

Affected Software

2 affected components
Misp Project Misp
Misp-project Misp<2.5.42

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Restrict NDJSON log destinations to existing directories beneath APP/tmp/logs or /var/log.

    MISP JsonLogTool NDJSON error log destination allowed_directories = existing directories beneath APP/tmp/logs or /var/log
  2. Configuration

    Require absolute paths for NDJSON error log destinations (do not accept relative paths).

    MISP JsonLogTool NDJSON error log destination path_format = absolute path required
  3. Configuration

    Limit NDJSON error log filenames to .log or .ndjson extensions and disallow executable extension segments.

    MISP JsonLogTool NDJSON error log filename filename_extensions = .log or .ndjson; disallow executable extension segments
  4. Configuration

    Reject stream wrappers and any traversal-related input when accepting NDJSON error log paths.

    MISP JsonLogTool NDJSON error log input validation reject_stream_wrappers_and_traversal = reject stream wrappers and traversal-related input

Event History

Jun 22, 2026
CVE Published
via MITRE·12:31 PM
Data Sourced
via MITRE·12:31 PM
DescriptionWeakness
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56446?

The severity of CVE-2026-56446 is rated high with a score of 8.7 on the CVSS scale.

2

How does CVE-2026-56446 allow an attacker to execute code?

CVE-2026-56446 allows an authenticated attacker with site administrator privileges to direct NDJSON error log output to a PHP file, enabling remote code execution.

3

Who is affected by CVE-2026-56446?

CVE-2026-56446 affects installations of MISP where site administrators have the capability to configure arbitrary paths for the NDJSON error log.

4

What is the recommended fix for CVE-2026-56446?

The recommended fix for CVE-2026-56446 is to update MISP to the latest version that patches this vulnerability.

5

What type of injection does CVE-2026-56446 involve?

CVE-2026-56446 involves code injection due to the ability to manipulate log entries with attacker-controlled content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203