CVE-2026-58192: Unauthenticated Arbitrary File/Directory Deletion in @appium/storage-plugin
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.
Vulnerability Intelligence
Public PoCAffected Software
- Vendor
- npm
- Product
- @appium/storage-plugin
- Versions
- < 1.1.6
Timeline
- Disclosed
- November 20, 2026
References & Proof of Concept
- 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
What is CVE-2026-58192 CVE-2026-58192: Unauthenticated Arbitrary File/Directory Deletion in @appium/storage-plugin?
CVE-2026-58192: Unauthenticated Arbitrary File/Directory Deletion in @appium/storage-plugin (CVE-2026-58192) maps to the Impact and Initial Access tactics — the adversary is trying to manipulate, interrupt, or destroy your systems and data in MITRE ATT&CK.
This page provides production-ready detection logic for CVE-2026-58192: Unauthenticated Arbitrary File/Directory Deletion in @appium/storage-plugin, covering the data sources and telemetry it touches: IIS/Reverse Proxy Logs, Web Server Logs. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Impact Initial Access
// df00tech DF00-0116e6427d · https://df00tech.com/detections/CVE-2026-58192 · licence: https://df00tech.com/detections/licence
let traversalPatterns = dynamic(["../", "..%2f", "%2e%2e%2f", "..\\", "%2e%2e/", "....//", "/etc/", "c:\\", "%252e%252e"]);
W3CIISLog
| where csUriStem has_any ("/storage", "/session/storage", "appium/storage")
| where csMethod in ("DELETE", "POST")
| extend decodedUri = url_decode(strcat(csUriStem, "?", coalesce(csUriQuery, "")))
| where decodedUri has_any (traversalPatterns) or cUriQuery has_any (traversalPatterns)
| project TimeGenerated, cIp, csMethod, csUriStem, csUriQuery, decodedUri, scStatus, sSiteName, Computer
| sort by TimeGenerated desc Microsoft Sentinel KQL over IIS/reverse-proxy logs fronting an Appium server, flagging DELETE/POST requests to storage-plugin routes that contain raw or encoded path-traversal sequences.
Data Sources
Required Tables
False Positives
- Legitimate storage cleanup operations that reference relative paths within the configured storage root but happen to contain '..' in a filename component
- Security scanners or vulnerability assessment tools probing the Appium endpoint during authorized testing
- Automated CI pipelines that delete test artifacts using path strings that resemble traversal after URL decoding
Query fingerprint DF00-0116e6427d · licence
Sigma logsource & community rules
The detection logic for CVE-2026-58192: Unauthenticated Arbitrary File/Directory Deletion in @appium/storage-plugin (CVE-2026-58192) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
category: network_connection
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-58192
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
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:\...).
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.
Related Detections
Tactic Hubs
Related Techniques
Same Tactic: Impact
Blog posts about this detection
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040