Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-70356 Overview
CVE-2026-70356 is an unrestricted file upload vulnerability affecting the TopTech Management System (TMS). The file upload endpoint fails to enforce server-side file type restrictions. Attackers with valid authenticated access can upload arbitrary PHP files and execute them on the web server. The flaw is tracked under CWE-434: Unrestricted Upload of File with Dangerous Type. CISA published the issue in ICS Advisory ICSA-26-272-02, placing it within operational technology environments.
Critical Impact
Successful exploitation yields arbitrary code execution on the underlying web server, enabling full compromise of TMS deployments and lateral movement into connected OT networks.
Affected Products
- TopTech TMS versions prior to 7.8
- TMS7 web management interface
- Deployments exposing the TMS file upload endpoint to authenticated users
Discovery Timeline
- 2026-09-29 - CVE-2026-70356 published to NVD
- 2026-09-29 - Last updated in NVD database
- 2026-09-29 - CISA published ICS Advisory ICSA-26-272-02
Technical Details for CVE-2026-70356
Vulnerability Analysis
The TMS web application exposes a file upload endpoint that accepts user-supplied files without validating their MIME type, extension, or content on the server side. An authenticated attacker submits a crafted request containing a PHP payload with an executable extension. The server writes the file to a web-accessible directory. Subsequent HTTP requests to the uploaded resource cause the PHP interpreter to execute the attacker's code under the privileges of the web server process.
TMS deployments frequently run inside industrial control system environments. Code execution on the TMS host provides a foothold that can be pivoted into fuel management, tank monitoring, and connected control networks. TopTech addressed the issue in TMS7 version 7.8, documented in the TopTech security update notice.
Root Cause
The upload handler relies exclusively on client-side controls or does not validate file extensions and content signatures. It writes files directly into a directory served by the PHP interpreter. This combination allows any uploaded .php file to be interpreted rather than served as static content.
Attack Vector
Exploitation requires network access to the TMS web interface and valid high-privilege credentials. The attacker submits a POST request to the upload endpoint containing a PHP webshell. The server persists the file and returns a predictable path. The attacker then issues a GET request to the uploaded file, triggering PHP execution. See the CISA CSAF advisory document for full technical details.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-70356
Indicators of Compromise
- Unexpected .php, .phtml, or .phar files in TMS upload directories with recent timestamps
- Web server access logs showing POST requests to the TMS upload endpoint followed by GET requests to newly created files
- New outbound connections from the TMS host to unfamiliar external IP addresses
- Web server process spawning shell interpreters such as sh, bash, or cmd.exe
Detection Strategies
- Monitor file creation events within TMS web root directories and alert on any PHP file written by the web server user
- Inspect HTTP traffic for multipart uploads containing PHP tags (<?php) or PHP function names in file content
- Correlate authentication events with upload activity to identify anomalous privileged sessions
Monitoring Recommendations
- Enable file integrity monitoring on TMS installation directories and web-accessible paths
- Forward web server access logs and application logs to a centralized SIEM for retention and correlation
- Baseline the TMS process tree and alert on the web server spawning unexpected child processes
How to Mitigate CVE-2026-70356
Immediate Actions Required
- Upgrade TMS7 to version 7.8 or later per the TopTech security advisory
- Restrict network access to the TMS web interface to trusted management networks only
- Rotate credentials for all TMS administrator and privileged accounts
- Review upload directories for unauthorized PHP files and remove any that are not expected
Patch Information
TopTech released TMS7 version 7.8 with strengthened security controls addressing the unrestricted upload flaw. Refer to the CISA ICS Advisory ICSA-26-272-02 for the vendor-coordinated remediation guidance and the CSAF machine-readable advisory for automated ingestion.
Workarounds
- Place TMS behind a web application firewall configured to block uploads containing PHP payloads
- Disable PHP execution in upload directories via web server configuration until the patch is applied
- Enforce network segmentation between TMS hosts and OT control networks to limit blast radius
- Require multi-factor authentication for all accounts with access to the TMS management interface
# Example Apache configuration to disable PHP execution in an uploads directory
<Directory "/var/www/tms/uploads">
php_admin_flag engine off
RemoveHandler .php .phtml .phar
AddType text/plain .php .phtml .phar
</Directory>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

