CVE-2026-114496
codebase-memory-mcp file write in git diff via base_branch
A low-privileged local user can create or overwrite any file of their choosing with git diff output.
Texto original en inglés · Ver en español
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-114496 divulgada · CVSS 5.5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The codebase-memory-mcp tool from DeusData mishandles a branch name in its detect_changes tool, so git reads a dash-prefixed value as a command option instead of a branch name. A local user with low privileges, and no user action needed, can use this to create or overwrite a file of their choice with git diff output, with the server process's permissions.
Descripción original del registro (GitHub_M)
codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.9.0, the detect_changes tool validated the base_branch argument for shell metacharacters but omitted the leading-dash check before placing the value in the revision position of a git diff command. Git therefore interpreted an option-shaped base_branch value, including --output, as a command option instead of a revision, allowing a caller to create or overwrite a caller-chosen file with Git diff output under the server process's permissions. Arbitrary code execution was not demonstrated. This issue is fixed in version 0.9.0.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
codebase-memory-mcp |
Corregida | 0.9.0 | — | — |
0.9.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-2vj2-hwgx-6f23https://github.com/DeusData/codebase-memory-mcp/pull/941https://github.com/DeusData/codebase-memory-mcp/commit/72e6a14adb50a37a245eb6ec79c9eb31eee48951https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
