Description
The ai-sdlc plugin MCP server through 0.31.2 contains an OS command injection vulnerability that allows attackers to execute commands by supplying shell metacharacters in the repo argument. The unvalidated repo value is interpolated into gh issue view or gh pr view commands run via execSync(), letting prompt-injected agents execute commands as the MCP server user.
References6
- github.com/ai-sdlc-framework/ai-sdlc
- github.com/ai-sdlc-framework/ai-sdlc/blob/ai-sdlc-plugin-v0.31.…
- github.com/ai-sdlc-framework/ai-sdlc/commit/717d7ecf068b714f659…
- github.com/ai-sdlc-framework/ai-sdlc/issues/1970
- www.vulncheck.com/advisories/ai-sdlc-mcp-server-through-0.31.2-…
- github.com/ai-sdlc-framework/ai-sdlc/issues/1970
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
8.5
HIGH
Score source: CNA
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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 - EPSS — exploit probability
- 1% percentile: 53 · as of 8 November 2026
- CWE
- CWE-78
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.