Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as admin to gin-vue-admin
-
DeliveryCraft POST to /autoCode/removePlugin with '../' in pluginName
-
ExploitServer passes path to os.RemoveAll
-
ExecutionRecursive deletion of arbitrary writable directory
-
ImpactData loss / denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated administrator session on gin-vue-admin and access to the automatic-code-generation plugin feature, specifically the /autoCode/removePlugin endpoint; the attacker supplies '../' traversal sequences in the pluginName parameter. The deletion is limited to directories that are writable by the server process's OS account, so impact scope depends on the server's filesystem permissions and privilege level. The principal limiting factors are the administrator-level authentication requirement (PR:H) and the fact that the destructive action is confined to the autoCode plugin-removal workflow; there is no confidentiality exposure and no unauthenticated path. Risk is highest where the admin panel is internet-exposed or where admin credentials are weakly protected. |
| Impact | This is a moderate-priority, authentication-gated vulnerability rather than a mass-exploitation threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) and the 7.0 score are driven by high integrity and availability impact (VC:N/VI:H/VA:H) - arbitrary recursive directory deletion - but gated behind PR:H, meaning the attacker must already hold administrator-level authentication in gin-vue-admin. No EPSS score was provided in the input, and the CVE is not listed in CISA KEV; no public exploit or POC is referenced. SSVC-style reasoning: exploitation status is 'none/no public exploit identified,' the flaw is likely automatable once an admin session exists, and technical impact is partial-to-total (destructive but not confidentiality-affecting). The signals are internally consistent - there is no conflict between the network attack vector and the described HTTP POST to /autoCode/removePlugin, and the PR:H requirement correctly matches the 'authenticated administrators' language in the description. The key caveat is that the real-world threat hinges entirely on how exposed and how trusted the admin panel is; for an attacker who already has admin rights, this is a straightforward destructive capability, but it does not enable initial access or privilege escalation on its own. |
| Exploit ScenarioDerived | An attacker who has obtained administrator credentials (via phishing, credential reuse, or a compromised internal admin account) sends a crafted POST request to /autoCode/removePlugin with a pluginName value containing '../' traversal sequences. Because the server passes the value into os.RemoveAll without sanitization, the request recursively deletes a directory outside the plugin folder - any path writable by the server process - causing data loss or denial of service. No public exploit code is referenced, so exploitation currently requires manually crafting the request against a known admin session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 21, 2026
Path traversal in gin-vue-admin through 2.9.2 allows an authenticated administrator to recursively delete arbitrary directories that are writable by the server process by supplying '../' sequences in the pluginName parameter of a POST request to /autoCode/removePlugin. The flaw is rated 7.0 (CVSS:4.0 AV:N/AC:L/PR:H, with high integrity and availability impact and no confidentiality impact); the independent assessment concurs with a 3.1 vector of AV:N/AC:L/PR:H/UI:N/I:H/A:H, so this is a moderate-priority, authentication-gated issue rather than a mass-exploitation threat. No public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis, and the practical blast radius is bounded by the admin-level login requirement and by the filesystem permissions of the account under which the Gin server runs.
RemediationAI
Patch status at time of analysis: the vendor has published security advisory GHSA-mqv7-9mvf-h9fh, but the provided data does not specify an exact fixed release version, so patch availability beyond that advisory is not independently confirmed; consult the advisory and the project's release notes for the first fixed version and upgrade as soon as it is confirmed. Where an upgrade cannot be applied immediately, the most direct mitigation is to harden the plugin-removal path itself: validate pluginName server-side against a strict allowlist pattern and reject any value containing '/', '\\' or '..', resolve the value with filepath.Clean and verify the result is still a child of the intended plugin directory before calling os.RemoveAll, and consider replacing os.RemoveAll with a check-then-remove against an explicit plugin registry. Operationally, run the gin-vue-admin process under a dedicated low-privilege OS account whose write access is limited to the plugin directory so a traversal payload cannot reach configuration, data or system paths, accepting that plugin installation may then require a targeted permission grant or a separate deployment step. Because the endpoint requires an administrator session, protect the admin panel: place it behind a VPN or zero-trust access proxy, enforce MFA and strong unique credentials, rotate any shared admin accounts, and disable the automatic code generation feature entirely if it is not in active use (side effect: loss of remote plugin management and code-generation workflows). Ensure off-host backups of the server filesystem exist so a successful deletion can be recovered, and alert on POST requests to /autoCode/removePlugin whose pluginName parameter contains traversal sequences or resolves outside the plugin directory; blocking the endpoint at the WAF or reverse proxy is a stopgap that also blocks legitimate plugin removals.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
gin-vue-admin is a Go backend built on the Gin web framework with a Vue front end; it ships an automatic code generation subsystem that can install and remove plugins at runtime. The vulnerable flow begins in the API handler at server/api/v1/system/auto_code_plugin.go (lines 209-219), which forwards the user-supplied pluginName value into the service layer, where server/service/system/auto_code_plugin.go (lines 371-390) builds a filesystem path and calls os.RemoveAll on it. Because the value is concatenated into a path without canonicalization or a check that the resolved path remains inside the intended plugin directory, '../' sequences escape the sandbox. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) is the root-cause class: the code trusts a request parameter as a path component. os.RemoveAll is especially dangerous here because it recurses through directory trees and silently succeeds on paths that do not exist, so a single crafted request can wipe an entire writable subtree with no confirmation step; there is no indication in the provided data of symlink-race protections or a post-clean containment check. The 2.9.2-stable tags in the referenced source links confirm the vulnerable code lines.
Know when Gin Vue Admin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Network endpoint with low complexity but requires admin authentication so PR:H; destructive deletion yields I:H/A:H with no confidentiality impact (C:N) and scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
gin-vue-admin through 2.9.2 contains a path traversal vulnerability that allows authenticated administrators to recursively delete arbitrary directories by supplying traversal sequences in the pluginName parameter. Attackers can send a crafted POST request to /autoCode/removePlugin with '../' sequences, causing os.RemoveAll to delete any directory writable by the server process.
Technical POC Analysis
CWE-22 (path traversal).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
gin-vue-admin deployments at or below version 2.9.2 carry a high-severity path-traversal flaw that allows an authenticated administrator to trigger recursive deletion of arbitrary server-writable directories, creating a credible data-loss and service-disruption risk. Because exploitation requires a high-privilege login and is bounded by the Gin process's filesystem permissions, leadership should treat this primarily as an insider-risk and admin-account-governance gap rather than a broad external threat. No public exploit identified at time of analysis.
No vendor-released patch identified at time of analysis. Restrict /autoCode/removePlugin to trusted administrators, enforce MFA and least privilege, reject '../' sequences in pluginName at the reverse proxy/WAF, run the Gin process with minimal filesystem write permissions, maintain offline backups, and monitor for destructive directory operations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Gin Vue Admin
View allGin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stac
In "Gin-Vue-Admin", versions v2.5.1 through v2.5.3b are vulnerable to Unrestricted File Upload that leads to execution o
In "Gin-Vue-Admin", versions v2.5.1 through v2.5.3beta are vulnerable to Unrestricted File Upload that leads to executio
Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stac
Arbitrary file deletion in Gin-vue-admin 2.8.6 and earlier lets an authenticated user with a valid session token delete
Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stac
Gin-vue-admin versions 2.8.7 and earlier contain a path traversal vulnerability in the breakpoint resume upload API that
Gin-Vue-Admin before 2.4.6 mishandles a SQL database. Rated critical severity (CVSS 9.8), this vulnerability is remotely
Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stac
Authenticated remote code execution in gin-vue-admin 2.9.1 lets attackers with access to the code-generation and MCP man
EUVD-2026-107420
GHSA-qgwp-mwx4-c64g
NVD
CVE.org
EPSS
Exploit-DB