Security Resilience

CVE-2026-30310

RCE

Published
31 March 2026
Modified
25 July 2026
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.010 63th percentile
Risk Priority 73 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-30310 is a critical-severity Command Injection (CWE-77) vulnerability in Trysixth (inferred from references). Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 37% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as AI Agent Protocols and Integrations; in the LLM/Generative AI Risks risk domain.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-30310, published on 2026-03-31, is a critical vulnerability (CVSS 9.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) affecting Sixth, a tool for automatic terminal command execution. Sixth provides two modes: "Execute safe commands," where an AI model classifies commands as safe for automatic execution or flags potentially destructive ones for user approval, and "Execute all commands." The flaw arises from the safe mode's design being highly susceptible to prompt injection attacks (CWE-77: Command Injection), allowing attackers to manipulate the model's judgment.

Any remote attacker can exploit this vulnerability without privileges or user interaction by using a generic template to wrap arbitrary malicious commands in input prompts. This misleads the model into misclassifying the payload as safe, bypassing the user approval requirement and enabling arbitrary command execution on the target system with full confidentiality, integrity, and availability impact.

Mitigation details are available in advisories referenced at https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/12 and https://trysixth.com/.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In its design for automatic terminal command execution, Sixth offers two options: Execute safe commands and Execute all commands. The description for the former states that commands determined by the model to be safe will be automatically executed, whereas if…

more

the model judges a command to be potentially destructive, it still requires user approval. However, this design is highly susceptible to prompt injection attacks. An attacker can employ a generic template to wrap any malicious command and mislead the model into misclassifying it as a 'safe' command, thereby bypassing the user approval requirement and resulting in arbitrary command execution.

CWE(s)

AI Security AnalysisAI

AI Category
AI Agent Protocols and Integrations
Risk Domain
LLM/Generative AI Risks
OWASP Top 10 for LLMs 2025
None mapped
AI-specific weaknesses CR
  • CWE-1427 — Prompt injection misleads model safety judgment, output drives command exec.
Mapped by Security Resilience · not in NVD. Poisoning and extraction cases are routed to MITRE ATLAS instead of a synthetic CWE.
Classification Reason
Matched keywords: prompt injection

Related Threats

CVEs Like This One

CVE-2025-61492Shared CWE-77
CVE-2025-68433Shared CWE-77
CVE-2025-54424Shared CWE-77
CVE-2025-53107Shared CWE-77
CVE-2025-63603Shared CWE-77
CVE-2025-66404Shared CWE-77
CVE-2026-30617Shared CWE-77
CVE-2025-69256Shared CWE-77
CVE-2024-8156Shared CWE-77
CVE-2025-54377Shared CWE-77

Affected Assets

Trysixth
—
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover command-construction flaws before deployment.

Input validation directly stops construction of commands from untrusted data containing special elements.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches command-injection vulnerabilities before release.

prevents

Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References