Skip to main content
Vulnerability Database/CVE-2026-113382

CVE-2026-113382: fast-tunnel Auth Bypass Vulnerability

CVE-2026-113382 is an authentication bypass flaw in arizu-id fast-tunnel 1.0.0 affecting the Plugin Installer component. This post explains the technical details, affected versions, security impact, and mitigation steps.

Published:

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-113382 Overview

CVE-2026-113382 is an unrestricted file upload vulnerability affecting arizu-id fast-tunnel version 1.0.0. The flaw resides in the ZipArchive::extractTo function within backend/api_plugins.php, part of the Plugin Installer component. An authenticated attacker can manipulate the plugin_file argument to upload arbitrary files remotely. The vendor released version 1.0.1 with patch commit 04573681420295f7b327c9da3b101aed2f3cf432 to address the issue. The weakness is classified under CWE-284: Improper Access Control. A public disclosure has been made, and exploitation details are available through VulDB.

Critical Impact

Authenticated attackers can upload arbitrary files through the Plugin Installer, potentially placing executable PHP content inside the application's web root.

Affected Products

  • arizu-id fast-tunnel 1.0.0
  • Component: Plugin Installer (backend/api_plugins.php)
  • Function: ZipArchive::extractTo

Discovery Timeline

  • 2026-10-20 - CVE CVE-2026-113382 published to NVD
  • 2026-10-20 - Last updated in NVD database
  • 1.0.1 - Vendor releases patched version with commit 04573681420295f7b327c9da3b101aed2f3cf432

Technical Details for CVE-2026-113382

Vulnerability Analysis

The vulnerability resides in the plugin installation workflow of fast-tunnel. The backend/api_plugins.php endpoint accepts a plugin_file parameter representing a ZIP archive. The handler calls ZipArchive::extractTo without validating the contents or file extensions of the archive entries. As a result, an attacker can craft a ZIP archive containing PHP scripts and extract them into the plugins/ directory served by the web server.

Because the extracted files land inside the application's web root, any PHP file placed there can be executed by issuing an HTTP request to its path. The access control weakness tracked under [CWE-284] stems from the absence of restrictions on both the archive content type and the resulting file paths after extraction.

Root Cause

The root cause is the direct extraction of a user-supplied ZIP archive into a web-accessible directory without filtering archive entries. The code trusts the plugin_file upload and performs no allowlist check on entry filenames, extensions, or MIME content before writing them to disk. The web server configuration also permitted PHP execution within the plugins/ directory prior to the fix.

Attack Vector

Exploitation requires network access and low-privileged authentication to the fast-tunnel backend. The attacker submits a crafted ZIP file to the plugin installer endpoint. After extraction, the attacker requests the uploaded PHP file over HTTP to achieve code execution in the context of the web server process.

text
// Patch excerpt from .htaccess (added rule blocks PHP execution under plugins/)
     RewriteRule ^temp_ssh/ - [F,L]
     RewriteRule ^vendor/ - [F,L]
     RewriteRule ^scratch/ - [F,L]
+    RewriteRule ^plugins/.*\.php$ - [F,L]
     RewriteRule \.json$ - [F,L]
     RewriteRule ^(\.git|\.env|\.htaccess) - [F,L]

Source: GitHub Commit 0457368. The patch adds an Apache rewrite rule that returns HTTP 403 for any .php request under the plugins/ directory, breaking the execution path for files written by ZipArchive::extractTo.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-113382

Indicators of Compromise

  • Unexpected .php files appearing under the plugins/ directory of a fast-tunnel installation.
  • POST requests to backend/api_plugins.php carrying ZIP uploads from unfamiliar source IPs.
  • Web server access log entries requesting newly created paths under /plugins/*.php shortly after a plugin install call.

Detection Strategies

  • Monitor file-integrity events for new or modified files under the application's plugins/ directory outside of change windows.
  • Inspect HTTP request bodies to the plugin installer endpoint for ZIP archives containing non-plugin file extensions such as .php, .phtml, or .phar.
  • Correlate authentication events with plugin installation activity to identify low-privileged accounts triggering installer calls.

Monitoring Recommendations

  • Alert on execution of PHP processes spawned from paths under plugins/ on the host running fast-tunnel.
  • Enable web application logging that captures the plugin_file parameter name and uploaded filename for the installer endpoint.
  • Track outbound connections from the web server process immediately following plugin installation events to catch reverse shells or callbacks.

How to Mitigate CVE-2026-113382

Immediate Actions Required

  • Upgrade fast-tunnel to version 1.0.1, which contains commit 04573681420295f7b327c9da3b101aed2f3cf432.
  • Audit the plugins/ directory for unauthorized .php files and remove any that were not installed by trusted administrators.
  • Rotate credentials for any accounts with access to the plugin installer, as the vulnerability requires authentication.

Patch Information

The upstream fix is published in the GitHub Release 1.0.1. The patch commit 04573681420295f7b327c9da3b101aed2f3cf432 adds .htaccess rewrite rules that block execution of PHP files inside the plugins/ directory and ships hardened plugin security configurations. See the GitHub Commit 0457368 for the full change set and the VulDB CVE-2026-113382 record for additional context.

Workarounds

  • Restrict access to the fast-tunnel administrative interface and the backend/api_plugins.php endpoint using network-level ACLs or an authenticating reverse proxy.
  • Add a web server rule denying execution of .php files under the plugins/ directory if upgrading is not immediately feasible.
  • Disable the Plugin Installer feature until the upgrade to 1.0.1 can be deployed.
bash
# Apache workaround: block PHP execution under plugins/ (mirrors the upstream fix)
<Directory "/var/www/fast-tunnel/plugins">
    RewriteEngine On
    RewriteRule ^.*\.php$ - [F,L]
    php_admin_flag engine off
</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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.