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-114492 Overview
CVE-2026-114492 is a path traversal vulnerability [CWE-22] in gin-vue-admin through version 2.9.2. The flaw resides in the /autoCode/removePlugin endpoint, which fails to sanitize the pluginName parameter before passing it to os.RemoveAll. Authenticated administrators can inject ../ traversal sequences to recursively delete arbitrary directories writable by the server process. The vulnerability affects the auto-code plugin management functionality maintained by flipped-aurora.
Critical Impact
Authenticated attackers with administrator privileges can recursively delete arbitrary directories on the host filesystem, leading to data destruction, application corruption, and denial of service.
Affected Products
- gin-vue-admin versions up to and including 2.9.2
- flipped-aurora gin-vue-admin server component (server/api/v1/system/auto_code_plugin.go)
- Deployments exposing the /autoCode/removePlugin administrative endpoint
Discovery Timeline
- 2026-10-21 - CVE-2026-114492 published to the National Vulnerability Database (NVD)
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-114492
Vulnerability Analysis
The vulnerability exists in gin-vue-admin's auto-code plugin removal workflow. When an administrator submits a POST request to /autoCode/removePlugin, the handler reads the pluginName field from the JSON body and forwards it to the service layer. The service constructs a filesystem path by concatenating the attacker-controlled pluginName with the plugin base directory, then calls os.RemoveAll on the result.
Because no normalization or allow-listing is performed, traversal sequences such as ../../etc resolve outside the intended plugin root. os.RemoveAll deletes the target path recursively and silently succeeds against any directory the server process owns or can write to. On production deployments running under elevated service accounts, this expands the blast radius to configuration directories, upload stores, and other application data.
Root Cause
The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. The handler trusts the pluginName input and does not validate that the resolved absolute path remains within the plugin directory. Standard mitigations such as filepath.Clean followed by a prefix check, or rejection of inputs containing .., are absent.
Attack Vector
Exploitation requires an authenticated session with administrator privileges and network reachability to the gin-vue-admin API. An attacker sends a crafted POST request to /autoCode/removePlugin with a JSON body setting pluginName to a traversal string such as ../../../var/www/data. The server joins this to its plugin root and invokes os.RemoveAll, deleting the resolved directory tree. Refer to the GitHub Security Advisory GHSA-mqv7-9mvf-h9fh and the VulnCheck advisory for the vulnerable code paths in auto_code_plugin.go lines 209-219 and the service layer lines 371-390.
// No verified exploit code is published. The vulnerable flow
// takes an attacker-controlled pluginName and passes it to
// os.RemoveAll without sanitization. See the GitHub advisory
// for technical details.
Detection Methods for CVE-2026-114492
Indicators of Compromise
- POST requests to /autoCode/removePlugin containing ../, ..\, URL-encoded %2e%2e, or absolute paths in the pluginName field
- Unexpected deletion of directories outside the gin-vue-admin plugin root, especially under /etc, /var, or application data paths
- Application errors or missing files following administrative plugin operations
- Audit log entries showing removePlugin activity from unusual source IPs or outside maintenance windows
Detection Strategies
- Inspect HTTP request bodies to the /autoCode/removePlugin endpoint and alert on any pluginName value containing path separators or .. sequences
- Correlate administrative API calls with filesystem change events to identify deletions outside the plugin directory
- Baseline normal plugin lifecycle operations and flag deviations in frequency or targets
Monitoring Recommendations
- Enable verbose request logging on the gin-vue-admin API gateway, capturing full JSON bodies for /autoCode/* routes
- Forward filesystem audit events (auditd, Windows Object Access) for the application root to a central SIEM
- Monitor administrator session activity for anomalous privileged operations against auto-code endpoints
How to Mitigate CVE-2026-114492
Immediate Actions Required
- Restrict network access to the gin-vue-admin administrative interface to trusted management networks only
- Rotate administrator credentials and enforce multi-factor authentication on admin accounts
- Review web server and application logs for prior invocations of /autoCode/removePlugin with suspicious pluginName values
- Run the gin-vue-admin service under a least-privilege account that cannot write to system or sibling application directories
Patch Information
At the time of publication, consult the upstream project for a fixed release beyond 2.9.2. Review the GitHub Security Advisory GHSA-mqv7-9mvf-h9fh for the maintainer's remediation guidance and apply any released patch that validates pluginName against an allow-list and enforces a resolved-path prefix check before calling os.RemoveAll.
Workarounds
- Deploy a reverse proxy or Web Application Firewall rule to reject requests to /autoCode/removePlugin whose body contains .., /, \, or encoded equivalents in the pluginName field
- Disable or firewall off the auto-code plugin management endpoints in production deployments where they are not required
- Apply filesystem-level ACLs that prevent the gin-vue-admin service account from modifying directories outside its application root
# Example NGINX rule to block traversal payloads targeting removePlugin
location = /autoCode/removePlugin {
if ($request_body ~* "\.\.(/|\\|%2f|%5c)") {
return 403;
}
proxy_pass http://gin_vue_admin_upstream;
}
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

