Skip to content
CVE-2026-58192 CrowdStrike LogScale · LogScale

Detect CVE-2026-58192: Unauthenticated Arbitrary File/Directory Deletion in @appium/storage-plugin in CrowdStrike LogScale

Detects exploitation of CVE-2026-58192, a path traversal (CWE-22 / CWE-73) vulnerability in the Appium storage plugin (@appium/storage-plugin < 1.1.6). The plugin exposes an unauthenticated HTTP endpoint that fails to sanitize user-supplied file identifiers, allowing a remote attacker to delete arbitrary files and directories on the host running the Appium server by supplying traversal sequences (e.g. ../../) in a delete request. Because Appium servers are frequently exposed on CI/CD mobile test farms and device labs, successful exploitation can destroy test artifacts, configuration, or system files. Detection focuses on HTTP DELETE/POST requests to the storage plugin routes containing path-traversal patterns, encoded traversal, and absolute paths, correlated with the Appium server process performing unexpected unlink/rmdir operations outside its working directory.

MITRE ATT&CK

Tactic
Impact Initial Access

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
// df00tech DF00-0116e6427d · https://df00tech.com/detections/CVE-2026-58192 · licence: https://df00tech.com/detections/licence
#event_simpleName=/^(DnsRequest|NetworkConnectIP4|HttpRequest)$/
| HttpMethod=/DELETE|POST/
| HttpPath=/(?i)(storage|appium\/storage)/
| HttpPath=/(?i)(\.\.\/|\.\.%2f|%2e%2e|\/etc\/)/ OR HttpQuery=/(?i)(\.\.\/|%2e%2e)/
| table([@timestamp, aid, ComputerName, RemoteAddressIP4, HttpMethod, HttpPath, HttpQuery])
| sort(@timestamp, order=desc)
high severity medium confidence

CrowdStrike Falcon LogScale (CQL) query over HTTP telemetry flagging DELETE/POST requests to Appium storage routes containing traversal sequences.

Data Sources

Falcon Endpoint HTTP TelemetryNetwork Events

Required Tables

HttpRequest

False Positives & Tuning

  • Legitimate in-scope storage deletions containing double-dot components
  • Authorized vulnerability scans
  • CI/CD artifact cleanup matching the traversal pattern

Other platforms for CVE-2026-58192


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Basic path traversal delete request to Appium storage endpoint

    Expected signal: Web/proxy access log entry: DELETE /storage/..%2f..%2f..%2ftmp%2fappium_canary.txt with a 2xx/4xx status from 127.0.0.1.

  2. Test 2 Double-encoded traversal delete attempt

    Expected signal: Access log entry with POST to storage route and query string containing %252e%252e (double-encoded dot-dot).

  3. Test 3 Absolute-path deletion attempt via storage endpoint

    Expected signal: IIS/proxy log entry: DELETE to storage route containing an absolute drive path (c:\...).


Response Playbook

Triage

  1. Confirm whether the targeted host runs @appium/storage-plugin and identify its installed version with 'npm ls @appium/storage-plugin' or by inspecting the Appium plugin list ('appium plugin list --installed'); versions below 1.1.6 are vulnerable.
  2. Decode the suspicious request URI and query string fully (handle single and double URL-encoding) and determine the resolved filesystem path the traversal would reach relative to the plugin's storage root.
  3. Determine whether the request succeeded: a 2xx response to a DELETE/POST on a traversal path strongly indicates a successful deletion, whereas 4xx/5xx may indicate a blocked or failed attempt.
  4. Correlate the source IP against expected CI runners, device-lab controllers and known administrative hosts to assess whether the request is authorized.

Containment

  1. Immediately restrict network access to the Appium server's HTTP port (default 4723) to trusted management networks only, or take the server offline if it is internet-exposed.
  2. Upgrade @appium/storage-plugin to 1.1.6 or later, or disable the storage plugin ('appium plugin uninstall storage') until it can be patched.
  3. If active exploitation is confirmed, isolate the host from the network to prevent further file deletion or lateral movement.

Evidence Collection

  1. Preserve web/reverse-proxy access logs and the Appium server stdout/stderr logs covering the request window, including full request URIs and response codes.
  2. Capture filesystem metadata and audit logs (auditd/EDR file-deletion events) for the Appium process to enumerate which files and directories were removed and when.
  3. Snapshot or image affected volumes before remediation if deleted data may need forensic recovery.

Escalation Criteria

  • !Escalate to incident response if a 2xx response confirms deletion of files outside the storage root, especially system, configuration or credential files.
  • !Escalate if the Appium server is internet-facing or if traversal requests originate from untrusted/external IP addresses.
  • !Escalate if evidence shows deletion of CI/CD pipeline artifacts, signing material, or files that could enable follow-on compromise.

Investigation Guide

Forensic Artifacts

  • >Appium server access/application logs showing DELETE/POST requests with traversal sequences
  • >OS audit (auditd/EDR) file-deletion events attributed to the node/appium process outside the storage root
  • >Reverse-proxy or load-balancer logs recording source IP and response codes for the exploit requests

Tuning Guidance

Baseline the legitimate storage-plugin request paths used by your CI/test automation and allowlist those exact relative paths. Tighten the traversal regex to require a resolved path escaping the configured storage root rather than merely containing '..'. If the Appium server sits behind a reverse proxy, prefer proxy logs that record the raw request line so double-encoding is visible, and raise severity to critical when the matching request returns a 2xx status.


Hunting Queries

Surface source IPs issuing repeated traversal-laden delete requests to the Appium storage endpoint over time.

Hunting — KQL
kql
// df00tech DF00-0116e6427d · https://df00tech.com/detections/CVE-2026-58192 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has "storage" and csMethod in ("DELETE","POST") | extend d=url_decode(strcat(csUriStem,csUriQuery)) | where d has ".." | summarize count() by cIp, bin(TimeGenerated, 1h)
Hunting — SPL
spl
``` df00tech DF00-0116e6427d · https://df00tech.com/detections/CVE-2026-58192 · licence: https://df00tech.com/detections/licence ```
index=web (uri="*storage*") (method="DELETE" OR method="POST") | eval d=urldecode(uri) | where match(d,"\.\.") | stats count by src_ip

Atomic Red Team Tests

Test 1 Basic path traversal delete request to Appium storage endpoint
linux

Sends an unauthenticated DELETE request with a simple ../ traversal to the storage plugin route in a lab Appium server.

Command

bash
curl -s -X DELETE 'http://127.0.0.1:4723/storage/..%2f..%2f..%2ftmp%2fappium_canary.txt'

Cleanup

bash
rm -f /tmp/appium_canary.txt 2>/dev/null; true

Expected Telemetry

Web/proxy access log entry: DELETE /storage/..%2f..%2f..%2ftmp%2fappium_canary.txt with a 2xx/4xx status from 127.0.0.1.

Expected Detection

KQL/SPL/EQL rules fire on the DELETE to a storage route containing encoded traversal sequences.

Test 2 Double-encoded traversal delete attempt
linux

Sends a double-URL-encoded traversal payload to evade naive single-decode filters.

Command

bash
curl -s -X POST 'http://127.0.0.1:4723/session/storage/delete?file=%252e%252e%252f%252e%252e%252fetc%252fcanary'

Cleanup

bash
echo 'no local artifact to remove'

Expected Telemetry

Access log entry with POST to storage route and query string containing %252e%252e (double-encoded dot-dot).

Expected Detection

Rules decode and match the %252e%252e / %2e%2e traversal pattern on a storage POST request.

Test 3 Absolute-path deletion attempt via storage endpoint
windows

Attempts to delete an absolute path through the storage plugin, simulating arbitrary file targeting.

Command

powershell
curl.exe -s -X DELETE "http://127.0.0.1:4723/storage/c:%5cwindows%5ctemp%5cappium_canary.txt"

Cleanup

powershell
del /q C:\windows\temp\appium_canary.txt 2>nul & exit /b 0

Expected Telemetry

IIS/proxy log entry: DELETE to storage route containing an absolute drive path (c:\...).

Expected Detection

KQL/CQL/AQL rules match the absolute-path pattern (c:\) on a storage DELETE request.

Related Detections