/

CVE-2026-103056

Severity:

CRITICAL RISK

(9.0)

Command Injection (CWE-78) in AiSOC Actions Service

CVE-2026-103056

Deferred

Vulnerability type

Category:

Command Injection

CWE:

CWE-78

Impact:

Arbitrary Command Execution

Severity:

CRITICAL RISK

(9.0)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

AiSOC contains a command injection vulnerability in its actions service when CrowdStrike Real Time Response commands are constructed from insufficiently escaped action parameters. An authenticated user who can submit affected parameters may execute arbitrary commands on managed endpoints, potentially with SYSTEM or root privileges.

Affected context

The vulnerability occurs in AiSOC deployments using the actions service to construct CrowdStrike Real Time Response commands. It is relevant when parameters such as file paths, script names, or script arguments are incorporated into command strings without adequate escaping or structured argument handling. Exploitation depends on an authenticated user being able to invoke the affected action and influence one or more of these parameters.

Exploit preconditions

  • Attack surface: AiSOC actions service and its CrowdStrike Real Time Response integration
  • Required access: Authenticated access with permission to invoke affected actions or provide their parameters
  • Trigger point: Processing of action parameters in the command-building logic
  • Why exploitation is possible: Unescaped parameter data is interpolated into quoted command strings, allowing command syntax to alter the intended command structure
  • Execution context: The resulting commands may run on managed endpoints with SYSTEM or root privileges

Why this happens

The underlying flaw is command construction through direct interpolation of user-influenced values into a shell-like command string. Parameters such as file paths, script names, and script arguments are not sufficiently separated from command syntax before execution, allowing data to be interpreted as additional commands rather than only as argument values. This behavior maps to CWE-78: Improper Neutralization of Special Elements used in an OS Command, commonly known as OS command injection.

Potential impact

  • An attacker may execute arbitrary commands on managed endpoints
  • Endpoint confidentiality, integrity, and availability could be compromised
  • SYSTEM- or root-level execution can enable local privilege abuse
  • Credentials, files, or operational data may be accessed or modified
  • Compromised endpoints can be used for lateral movement or persistence

General mitigation guidance

Mitigation generally focuses on preventing user-controlled data from becoming executable command syntax.

Common defensive patterns include:

  • Prefer structured process-execution APIs that pass arguments separately instead of constructing shell command strings
  • Apply strict allowlists and type-appropriate validation to action parameters
  • Treat file paths, script names, and script arguments as untrusted input even for authenticated users
  • Avoid shell interpretation unless it is explicitly required and independently controlled
  • Run endpoint actions with the minimum privileges and narrowly scoped permissions necessary
  • Apply authorization policies that restrict which users can invoke high-impact endpoint actions
  • Use isolated execution contexts and reduce access to sensitive endpoint resources where practical

How teams detect issues like this

High-level detection approaches include:

  • Static analysis rules identifying string interpolation, concatenation, or formatting used to build shell commands
  • Code review checks for untrusted action parameters reaching process, shell, or remote-command execution APIs
  • Runtime monitoring for unusual command activity initiated by the AiSOC service account
  • Audit policies that record action invocations, parameter sources, target endpoints, and execution results
  • Allowlist enforcement for permitted actions, scripts, paths, and argument formats
  • Automated security review tools that flag potential OS command injection data flows

Sources

SourceLink
github.comgithub.com/beenuar/AiSOC/blob/v11.2.0/services/actions/app/clients/crowdstrike_rtr.py#L273
github.comgithub.com/beenuar/AiSOC/blob/v11.2.0/services/actions/app/executors/endpoint.py#L442
github.comgithub.com/beenuar/AiSOC/commit/dac39723404130312daba15d42d19114f09f75b2
github.comgithub.com/beenuar/AiSOC/releases/tag/v12.0.0
github.comgithub.com/beenuar/AiSOC/security/advisories/GHSA-7q37-2wfw-xrx7
vulncheck.comvulncheck.com/advisories/aisoc-7.2.0-before-12.0.0-command-injection-via-crowdstrike-rtr

Frequently asked

questions

It may be exploitable through the AiSOC actions interface when an authenticated user can invoke an affected action and control its parameters. The exact scope depends on network exposure, authorization policies, and endpoint connectivity.

Yes, the described attack requires authenticated access with sufficient permission to submit or influence the affected action parameters. Authentication alone may not provide the required authorization.

Avoid building executable command strings from user-controlled values. Use structured execution APIs with separated arguments, strict validation, and narrowly scoped authorization.

Treat all action parameters as untrusted, enforce allowlists and centralized policy checks, monitor command execution, and apply least privilege to both the actions service and managed endpoints.

Find out what's already
exploitable in your codebase.