CVE-2026-48787
Beschrijving NL
gin-vue-admin is een AI-ondersteund basisontwikkelingsplatform. In versie 2.9.1 kan een geverifieerde aanvaller met toegang tot de codegeneratiefunctie en MCP-beheerinterface dit beveiligingslek uitbuiten door de door de aanvaller gecontroleerde Go-broncode via POST /autoCode/addFunc te injecteren en vervolgens POST /autoCode/mcpStart aan te roepen om een heropbouw en herstart van de zelfstandige MCP-service te activeren. Hierdoor kunnen willekeurige besturingssysteemcommando's op de server worden uitgevoerd met de privileges van het applicatieproces. Succesvolle exploitatie kan leiden tot uitvoering van externe code (RCE), wijziging van de backend-broncode of runtimelogica, implementatie van aanhoudende backdoors, toegang tot of manipulatie van applicatiegegevens en -configuratie, en verdere impact op lokale bronnen die onder dezelfde serviceaccount of privilegecontext worden uitgevoerd. Het risico is het hoogst bij implementaties die de bronstructuur behouden, het schrijven naar bronbestanden toestaan en lokale build of opstarten van zelfstandige MCP-componenten ondersteunen. In omgevingen die alleen binaire releases, alleen-lezen bestandssystemen of lokale build-mogelijkheden gebruiken, is de exploiteerbaarheid van de volledige aanvalsketen aanzienlijk verminderd. Zodra de online codegeneratie en de door MCP gehoste opstartworkflow zijn ingeschakeld, kan de algehele beveiligingsimpact echter hoog tot kritiek zijn. Op het moment van publicatie is het onbekend of er een gepatchte versie beschikbaar is. Dwing als tijdelijke oplossing strikte validatie van de toestemmingslijst af op pad- en identificatiegerelateerde velden zoals `humpPackageName`, `packageName`, `FuncName` en `Router`, en sta alleen veilige identificatieformaten toe.
Origineel (Engels) tonen
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.