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.
Published: 2026-06-19
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In gin-vue-admin version 2.9.1 an authenticated attacker who has access to both the code‑generation endpoint and the MCP management interface can submit malicious Go source through the POST /autoCode/addFunc route. By subsequently calling POST /autoCode/mcpStart the application rebuilds and restarts its standalone MCP service, which runs with the same privileges as the web server. This chain allows the attacker to execute arbitrary operating system commands, modify backend source code or runtime logic, deploy persistent backdoors, access or alter application data, and affect other local resources that share the same privilege context. The weakness is a classic command injection flaw (CWE‑78).

Affected Systems

The vulnerability applies to flipped‑aurora’s gin‑vue‑admin product, specifically version 2.9.1. Only deployments that keep the source directory writable, expose the online code‑generation feature, and enable the MCP build/start workflow are affected. Binary‑only releases or environments where source files are read‑only or where local build capabilities have been disabled mitigate the attack chain.

Risk and Exploitability

The CVSS score of 7.4 indicates a high‑severity flaw. The EPSS score is not available, so the current exploit probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. The attack requires legitimate authentication and use of the code‑generation feature, so it is an authenticated remote web‑interface attack vector. If the vulnerable workflow is enabled, the overall impact can reach critical severity, especially when the application runs with elevated privileges.

Generated by OpenCVE AI on June 19, 2026 at 21:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Disable or remove the online code‑generation capability and MCP‑hosted startup workflow if they are not required.
  • Restrict authentication for the /autoCode/addFunc and /autoCode/mcpStart endpoints so that only trusted administrators can access them.
  • Apply the suggested allowlist validation on all path‑and‑identifier fields such as humpPackageName, packageName, FuncName, and Router, permitting only safe identifier formats.

Generated by OpenCVE AI on June 19, 2026 at 21:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 19 Jun 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Flipped-aurora
Flipped-aurora gin-vue-admin
Vendors & Products Flipped-aurora
Flipped-aurora gin-vue-admin

Fri, 19 Jun 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title gin-vue-admin vulnerable to RCE
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 7.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Flipped-aurora Gin-vue-admin
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-19T19:46:41.748Z

Reserved: 2026-05-22T20:18:20.365Z

Link: CVE-2026-48787

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-19T22:45:16Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')