CVE-2026-48787
Last modified
CVE-2026-48787 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
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.
Metrics
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-48787?
How severe is CVE-2026-48787?
How do I fix CVE-2026-48787?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4878A flaw was found in libcap. A local unprivileged user can ex…7
- CVE-2026-48780Forem is open source software for building communities. Prio…8.2
- CVE-2026-48781Postiz is an AI social media scheduling tool. In versions pr…9.9
- CVE-2026-48782Pydantic AI is a Python agent framework for building applica…6.8
- CVE-2026-48783Postiz is an AI social media scheduling tool. Versions prior…4.8
- CVE-2026-48784Symfony is a PHP framework for web and console applications …6.1
- CVE-2026-48788Remark42 is a self-hosted comment engine for blogs, articles…8.2
- CVE-2026-48789AnythingLLM is an application that turns pieces of content i…4.3
- CVE-2026-48790Turso CLI is the command line interface (CLI) to the open-so…5.5
- CVE-2026-48792pam_usb provides hardware authentication for Linux using ord…4.4
- CVE-2026-48793Jellyfin is an open source self hosted media server. Prior t…8.8
- CVE-2026-48794Authelia is an open-source authentication and authorization …1.3
Are you affected by CVE-2026-48787?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
