VSEC_V4_2026_10_0002: PHP remote code execution vulnerabilities (php2shell) in the VaelsysV4 web interface
Two critical vulnerabilities in PHP, publicly known as "php2shell", can allow an unauthenticated remote attacker to execute arbitrary code on servers that process web requests with PHP. The VaelsysV4 web interface runs on PHP-FPM and is therefore affected. Vaelsys has released updated web interface packages that require patched PHP builds and add additional protections against the known attack paths.
Summary
On 21 October 2026 the PHP project released emergency security updates for two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619. According to the PHP Security Team, both can allow unauthenticated remote code execution with the privileges of the web server worker on PHP installations serving web requests, including PHP-FPM.
The VaelsysV4 web interface is served by nginx and PHP-FPM. An attacker able to send HTTP requests to the web interface of an affected device could potentially exploit these vulnerabilities without valid credentials, which could lead to some compromise of the web interface and of the data it manages.
Public proof-of-concept code exists for other configurations. The risk is highest for devices whose web interface is reachable from untrusted networks such as the Internet.
Impacted products
- VaelsysV4 (VaelsysOS 8) – All versions
- VaelsysV4 (VaelsysOS 10) – Web interface version <= 5.1.1.20260130
- VaelsysV4 (VaelsysOS 12) – Web interface version <= 5.4.1.20260506
Vulnerability details
Identifier
This issue is tracked internally as VSEC_V4_2026_10_0002 and corresponds to the following
PHP vulnerabilities:
-
CVE-2026-109618(GHSA-w8hw-w9fx-j79w) – RCE via OOM corruption. When PHP aborts a request because an allocation fails, request memory that is not yet fully initialized can remain reachable and be used during shutdown. The attack strategies described by PHP rely on craftedmultipart/form-datarequests. -
CVE-2026-109619(GHSA-6wmf-4rv5-p3rp) – RCE via stale global state. State kept by a PHP worker can point to memory owned by a previous request, leading to a use-after-free in a later request handled by the same worker. One of the confirmed paths is the session upload progress feature, which is enabled by default in PHP.
The PHP project fixed both issues in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Older, end-of-life PHP branches do not receive official releases; according to CERT-EU, PHP versions from PHP 5 onwards may be affected. The PHP Security Team published minimal source backports of the fix for end-of-life branches.
Severity
This vulnerability is considered
Critical severity. The PHP project rates both issues
CVSS v4.0 9.2 (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N).
In VaelsysV4, exploitation requires network access to the web interface of the device, but does not require valid credentials. Exploitation complexity is high, but successful exploitation would allow code execution with the privileges of the web interface.
Vulnerability verification
The script below verifies that the Vaelsys fix and mitigation are in place on a device; it does not attempt to exploit the vulnerability and is not a proof of concept. It is deliberately not an exploit: a working exploit for CVE-2026-109618 / CVE-2026-109619 is an unauthenticated remote code execution attack against PHP core that would be reusable against any unpatched server on the Internet, and running it triggers memory corruption that can crash the PHP workers of the device being tested. The check therefore confirms, from outside and without authentication, that the device rejects the requests the vulnerability relies on, while leaving the service untouched.
Remote verification script
Vaelsys provides a remote, non-destructive script that can be used to verify whether a device is protected against VSEC_V4_2026_10_0002 / CVE-2026-109618 / CVE-2026-109619:
VSEC-V4-2026-10-0002.py
The script sends harmless multipart/form-data requests to the web interface, using several
methods and Content-Type spellings, and checks that every one of them is rejected before it
reaches PHP. No exploit payload is sent, no authentication is required, and nothing on the device is
modified. A normal request is also issued first, so that a device that is simply down is not reported as
protected.
Script usage
usage: VSEC-V4-2026-10-0002.py [-h] -H HOST -p PORT [-S] [-v]
required arguments:
-H, --host Target host or IP address
-p, --port Web interface port
optional arguments:
-S, --https Use HTTPS (the self-signed device certificate is not verified)
-v, --verbose Increase verbosity (-v, -vv, -vvv)
A protected device rejects every multipart request and the script reports NOT VULNERABLE
(exit code 1). A device where the mitigation is missing lets the requests reach the
application and the script reports VULNERABLE (exit code 0). If the device
cannot be reached, the script reports that the test could not be performed (exit code 2).
Manual check
The same behaviour can be confirmed with a single request. On a protected device the following command
must return 403:
curl -k -s -o /dev/null -w '%{http_code}\n' -F test=1 https://DEVICE/index.php
Resolution
Fix status
The updated VaelsysV4 web interface packages require patched PHP builds on VaelsysOS 10 and 12. The old PHP builds include the backport of the fix published by the PHP Security Team for end-of-life branches, and is distributed through the PHP package repository used by Vaelsys.
In addition, the following defense-in-depth measures have been applied to the web interface:
-
nginx rejects every request with a
multipartcontent type before it reaches PHP, closing the multipart-based attack paths described by the PHP project. -
File uploads in the web interface have been reimplemented so that they no longer use
multipart/form-data. -
session.upload_progress.enabledis disabled in all PHP configurations and locked in the PHP-FPM pools, so it cannot be enabled again by per-directory configuration.
Published updates
Updated software versions have been released for supported VaelsysV4 platforms in order to address this vulnerability. Customers are strongly advised to update affected systems to the latest available versions through the integrated update mechanism.
| Product | Version | Status | Fixed Version | Notes |
|---|---|---|---|---|
| VaelsysV4 - VaelsysOS 8 | All versions | Affected | Discontinued product | Product is end-of-life and no security update will be released. Do not expose the web interface to public networks and consider migration to a supported VaelsysOS platform. |
| VaelsysV4 - VaelsysOS 10 | <=5.1.1.20260130 | Fixed | 5.1.1.20261021 | Updated PHP version. Multipart requests blocked at nginx. |
| VaelsysV4 - VaelsysOS 12 | <=5.4.1.20260506 | Fixed | 5.4.1.20260506-1 | Updated PHP version. Multipart requests blocked at nginx. |
Workarounds and mitigations
- Ensure devices are updated to the latest fixed web interface version through the integrated update mechanism provided by Vaelsys.
- Do not expose the web interface to public networks. Restrict access to trusted management networks or VPN connections.
-
For systems that cannot be updated yet, block requests with a
multipart/form-datacontent type at the network perimeter (firewall or reverse proxy) before they reach the device. Note that file uploads of unpatched web interface versions will stop working while this block is in place. The PHP project considers this and other configuration measures partial mitigations that reduce, but do not remove, the risk.
Acknowledgments and source
Information about these vulnerabilities is based on the PHP security release announcement and on the official PHP security advisories GHSA-w8hw-w9fx-j79w and GHSA-6wmf-4rv5-p3rp.
Vaelsys acknowledges the PHP Security Team for the fixes and for the backports for end-of-life PHP branches, Ondřej Surý for the patched PHP packages, and CERT-EU and the NCSC-NL for their public guidance, which contributed to the analysis and remediation of this issue.
Contact and reporting
To report a suspected security issue in Vaelsys products, contact security@vaelsys.com following the guidance on the Vaelsys security advisory main page.
Change log
- 2026-10-22 – Initial advisory publication for VSEC_V4_2026_10_0002 / CVE-2026-109618, CVE-2026-109619.