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
// 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) CrowdStrike Falcon LogScale (CQL) query over HTTP telemetry flagging DELETE/POST requests to Appium storage routes containing traversal sequences.
Data Sources
Required Tables
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.
- 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.
- 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).
- 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:\...).
References (6)
- https://github.com/appium/appium/security/advisories/GHSA-jwgx-mp9m-jwcr
- https://nvd.nist.gov/vuln/detail/CVE-2026-58192
- https://github.com/appium/appium/pull/22362
- https://github.com/appium/appium/commit/5fee01752f2782e96fbe64fd13520b433d4a7535
- https://github.com/appium/appium/releases/tag/%40appium/storage-plugin%401.1.6
- https://github.com/advisories/GHSA-jwgx-mp9m-jwcr
Response Playbook
Triage
- 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.
- 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.
- 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.
- Correlate the source IP against expected CI runners, device-lab controllers and known administrative hosts to assess whether the request is authorized.
Containment
- 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.
- Upgrade @appium/storage-plugin to 1.1.6 or later, or disable the storage plugin ('appium plugin uninstall storage') until it can be patched.
- If active exploitation is confirmed, isolate the host from the network to prevent further file deletion or lateral movement.
Evidence Collection
- Preserve web/reverse-proxy access logs and the Appium server stdout/stderr logs covering the request window, including full request URIs and response codes.
- 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.
- 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.
// 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) ``` 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
Sends an unauthenticated DELETE request with a simple ../ traversal to the storage plugin route in a lab Appium server.
Command
curl -s -X DELETE 'http://127.0.0.1:4723/storage/..%2f..%2f..%2ftmp%2fappium_canary.txt' Cleanup
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.
Sends a double-URL-encoded traversal payload to evade naive single-decode filters.
Command
curl -s -X POST 'http://127.0.0.1:4723/session/storage/delete?file=%252e%252e%252f%252e%252e%252fetc%252fcanary' Cleanup
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.
Attempts to delete an absolute path through the storage plugin, simulating arbitrary file targeting.
Command
curl.exe -s -X DELETE "http://127.0.0.1:4723/storage/c:%5cwindows%5ctemp%5cappium_canary.txt" Cleanup
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.