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.
Published: 2026-10-27
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: Remote Command Execution via shell injection
Action: Immediate Patch
AI Analysis

Impact

The ai-sdlc plugin MCP server up to version 0.31.2 allows a malicious actor to supply arbitrary shell metacharacters through the unvalidated repo parameter. This value is directly interpolated into the shell commands invoked by execSync(), thereby enabling the execution of arbitrary OS commands as the MCP server user. The weakness is an OS command injection flaw, classified as CWE‑78.

Affected Systems

Affected systems include installations of the ai‑sdlc plugin MCP server with version 0.31.2 or earlier. The vulnerability is present in the ai‑sdlc framework’s MCP server component and is tied to the handling of the repo argument in the check‑issue and check‑pr‑status utilities.

Risk and Exploitability

The CVSS score of 8.5 reflects a high severity for remote command execution. EPSS information is not available, so the likelihood of exploitation is unclear, and the vulnerability is not listed in the CISA KEV catalog. The attack likely requires the ability to influence the repo argument—such as an authenticated developer or a compromised CI/CD agent—allowing the attacker to inject shell symbols and trigger arbitrary command execution on the server. Once exploited, the attacker gains the privileges of the MCP server process, potentially compromising the entire host and any services running with the same credentials.

Generated by OpenCVE AI on October 27, 2026 at 14:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the ai‑sdlc plugin MCP server to a version newer than 0.31.2 where the issue has been fixed.
  • If an upgrade is not immediately available, implement input validation on the repo parameter to reject shell metacharacters or enforce a whitelist of allowed repository names.
  • As a temporary measure, remove or disable the use of gh issue view and gh pr view commands executed via execSync() until validation can be applied.

Generated by OpenCVE AI on October 27, 2026 at 14:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title ai-sdlc MCP Server through 0.31.2 Command Injection via check_issue and check_pr_status
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T13:07:53.099Z

Reserved: 2026-10-27T11:25:21.756Z

Link: CVE-2026-117558

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T14:16:37.840

Modified: 2026-10-27T14:16:37.840

Link: CVE-2026-117558

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T15:00:05Z

Weaknesses
  • CWE-78

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