CVE-2026-48787 Details
Description
gin-vue-admin is an AI-assisted basic development platform. In version 2.9.1, an authenticated attacker with access to the code-generation feature and MCP management interface can exploit this vulnerability by injecting attacker-controlled Go source code through POST /autoCode/addFunc, and then invoking POST /autoCode/mcpStart to trigger a rebuild and restart of the standalone MCP service. This allows arbitrary operating system commands to be executed on the server with the privileges of the application process. Successful exploitation may lead to remote code execution (RCE), modification of backend source code or runtime logic, deployment of persistent backdoors, access to or manipulation of application data and configuration, and further impact on local resources running under the same service account or privilege context. The risk is highest in deployments that retain the source tree, allow writes to source files, and support local build or startup of standalone MCP components. In environments using binary-only releases, read-only filesystems, or with local build capabilities removed, the exploitability of the full attack chain is significantly reduced. However, once the online code-generation capability and MCP-hosted startup workflow are enabled, the overall security impact may reach high to critical severity. As of time of publication, it is unknown if a patched version is available. As a workaround, enforce strict allowlist validation on path- and identifier-related fields such as `humpPackageName`, `packageName`, `FuncName`, and `Router`, and only permit safe identifier formats.
A remote code execution vulnerability exists in gin-vue-admin version 2.9.1. An authenticated attacker with access to the code-generation feature and MCP management interface can inject malicious Go source code through the POST /autoCode/addFunc endpoint. After the code is injected, the attacker can invoke the POST /autoCode/mcpStart endpoint to rebuild and restart the standalone MCP service. This process executes arbitrary operating system commands on the server with the application's process privileges. Exploitation could lead to remote code execution, unauthorized modification of backend source code or runtime logic, deployment of persistent backdoors, and unauthorized access to application data and configuration. The vulnerability's impact is heightened in environments that retain the source tree, allow writes to source files, and support local builds or startups of standalone MCP components. In contrast, deployments using binary-only releases, read-only filesystems, or without local build capabilities face a significantly reduced risk.
As of now, there is no patched version available. However, it is recommended to enforce strict allowlist validation on path- and identifier-related fields, such as humpPackageName, packageName, FuncName, and Router, to only permit safe identifier formats.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 19, 2026CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-22cv-9jv2-6m62 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-22cv-9jv2-6m62 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gin-vue-admin | 2.9.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 19, 2026 | New CVE Received | [email protected] |
Volerion