high CVSS 7.2

CVE-2026-56446·PHP vulnerability

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.

Severity
high
Software
PHP
Fixed in
2.5.42
Published
2026-06-22

Affected versions

Until: 2.5.42

Fixed in: 2.5.42

How to fix this CVE

Update PHP to version 2.5.42 or later to remediate CVE-2026-56446, which allows authenticated administrators to write PHP code to log files in web-accessible directories. The patch restricts log destinations to safe directories, enforces absolute paths, blocks stream wrappers and directory traversal, and limits file extensions to .log and .ndjson. Restart your web server after applying the update to ensure the fix is active.

sudo dnf update php

Defensia detects this vulnerability

How to check if you are affected

  1. Step 1: Run `php -v` to check the installed PHP version and confirm it is below 2.5.42
  2. Step 2: Check if MISP is installed and running on this server with `dpkg -l | grep -i misp` or `rpm -qa | grep -i misp`
  3. Step 3: Review web server logs (e.g., `/var/log/apache2/access.log` or `/var/log/nginx/access.log`) and MISP application logs for suspicious log file path manipulation or references to PHP files being written to web roots
  4. Step 4: After updating, verify the fix with `php -v` and confirm the version matches 2.5.42 or later, then restart Apache/Nginx with `sudo systemctl restart apache2` or `sudo systemctl restart nginx`

FAQ

What is CVE-2026-56446?

CVE-2026-56446 is a privilege escalation and code execution vulnerability in MISP where site administrators can configure arbitrary filesystem paths for NDJSON error logs, then inject PHP code through logged data to achieve remote code execution when the resulting file is accessed.

Is CVE-2026-56446 being actively exploited?

No, CVE-2026-56446 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploit code is available.

What versions of PHP are affected by CVE-2026-56446?

All versions of PHP used by MISP up to and including version 2.5.41 are affected; version 2.5.42 and later contain the fix.

How do I check if my server is vulnerable to CVE-2026-56446?

Run `php -v` to check your version; if it reports 2.5.41 or earlier, your server is vulnerable. Additionally, check `/opt/misp/app/tmp/logs/` or `/var/log/` for unexpectedly placed PHP files or suspicious .ndjson log destinations.

Does Defensia detect CVE-2026-56446?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP is installed on a monitored server, CVE-2026-56446 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2026-28289CVSS 10FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. A patch bypass vulnerability for CVE-2026-27636 in FreeScout 1.8.206 and earlier allows any authenticated user with file upload permissions to achieve Remote Code Execution (RCE) on the server by uploading a malicious .htaccess file using a zero-width space character prefix to bypass the security check. The vulnerability exists in the sanitizeUploadedFileName() function in app/Http/Helper.php. The function contains a Time-of-Check to Time-of-Use (TOCTOU) flaw where the dot-prefix check occurs before sanitization removes invisible characters. This vulnerability is fixed in 1.8.207.
CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.
CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-56446. Free for 1 server.

Get started free