OpenOps CVE-2025-68922
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged OpenOps user
-
DeliveryCraft Terraform block with malicious file path/identifiers
-
ExploitInjected shell metacharacters reach hcledit command
-
ExecutionServer executes attacker OS commands
-
ImpactRemote code execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid, authenticated low-privileged OpenOps account able to create or edit a workflow that uses the Terraform block, then supply attacker-controlled HCL content, file paths, or resource/property identifiers that are passed server-side to the hcledit CLI; the injection occurs because filePath and resource type/name/property values were interpolated into shell commands without escaping (fixed in 0.6.11). Limiting factors: authentication is required (PR:L), the Terraform block feature must actually be invoked, and per the CVSS vector exploitation involves user interaction (UI:R) and high attack complexity (AC:H) because malicious identifiers must survive hcledit parsing/re-emission. Only versions before 0.6.11 are affected. |
| Impact | CVSS 7.4 (High) reflects a server-side OS command injection (CWE-78) in the OpenOps Terraform block, confirmed by the vendor patch (PR #1767) which adds shell-argument escaping (escapeShellArgument) and strict identifier validation around hcledit CLI invocations - so the root cause is well established. However, exploitation signals are modest: the NVD vector is AV:L/AC:H/PR:L/UI:R, meaning it requires an authenticated low-privileged account, a non-trivial crafting effort, and user interaction, which tempers the raw score. No EPSS probability, no CISA KEV listing, and no public proof-of-concept were provided, so this is 'no public exploit identified at time of analysis' rather than active exploitation. A notable conflict: the vector lists AV:L (local) even though OpenOps is a network-accessible workflow-automation platform where a Terraform block is configured and run server-side - AV:L likely reflects the attacker supplying local-style template/file content, but the practical reach may be network-adjacent; verify the intended vector with the vendor. Net: a legitimate patch-worthy RCE for OpenOps operators, but a prioritized-but-not-emergency issue absent any exploitation evidence, bounded by authentication and the AC:H/UI:R constraints. |
| Exploit ScenarioDerived | An authenticated OpenOps user with permission to build workflows creates a Terraform block containing a crafted HCL template or file path whose resource/property identifiers embed shell metacharacters. When OpenOps processes the block through the hcledit CLI, the unescaped values are interpolated into a shell command and the injected OS commands execute on the server host. No public exploit exists, but the fix diff clearly reveals the unescaped filePath and resource-identifier injection points. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Server-side OS command injection in OpenOps versions before 0.6.11 allows an authenticated low-privileged user who can create or edit a workflow using the Terraform block to execute arbitrary commands on the server by supplying malicious HCL content, file paths, or resource/property identifiers that are passed without escaping to the hcledit CLI. The vendor fixed the issue in 0.6.11 (PR #1767) by adding shell-argument escaping and strict identifier validation, and exploitation requires user interaction (UI:R) and high attack complexity (AC:H). No public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
Upgrade OpenOps to version 0.6.11 or later, which contains the vendor-released patch (PR #1767) that adds shell-argument escaping and identifier validation. The release is available at https://github.com/openops-cloud/openops/releases/tag/0.6.11. If immediate upgrade is not possible, restrict the ability to create or edit workflows that use the Terraform block to only highly trusted users, as the vulnerability requires an authenticated account able to supply attacker-controlled HCL content; however, this does not eliminate the risk and should be considered a temporary measure. No other specific workarounds are documented in the available references.
Affected ProductsAI
OpenOps versions before 0.6.11 are affected. The vulnerability is in the Terraform block component (packages/blocks/terraform/src/lib/hcledit-cli.ts). No CPE data was provided. The vendor advisory is available via the GitHub release tag 0.6.11 (https://github.com/openops-cloud/openops/releases/tag/0.6.11), the comparison between 0.6.10 and 0.6.11 (https://github.com/openops-cloud/openops/compare/0.6.10...0.6.11), and the fix pull request #1767 (https://github.com/openops-cloud/openops/pull/1767).
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the Terraform block of OpenOps, a workflow automation platform. The block uses hcledit, a command-line tool for editing HashiCorp Configuration Language (HCL) files, and invokes it via shell commands constructed with string interpolation. Specifically, the filePath argument and resource type/name/property values were inserted directly into shell command strings without escaping, enabling an attacker who controls these inputs to inject additional shell commands (CWE-78). The fix in commit for PR #1767 introduces an escapeShellArgument function that wraps values in single quotes and escapes embedded single quotes using the POSIX pattern, and a validateIdentifier function that restricts identifiers to alphanumeric, underscore, and hyphen characters. The affected code is in packages/blocks/terraform/src/lib/hcledit-cli.ts.
Know when Hashicorp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
Authenticated user (PR:L) supplies crafted Terraform content over the network to a web platform (AV:N); constrained injection through hcledit parsing yields AC:H/UI:R, and server command execution gives full C:H/I:H/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
OpenOps before 0.6.11 allows remote code execution in the Terraform block.
Executive ViewAI
CVE-2025-68922 is a high-severity (CVSS 7.4) flaw in OpenOps, the cloud automation platform used to orchestrate infrastructure and FinOps workflows, that lets a user with workflow-authoring rights run arbitrary commands on the OpenOps server via the Terraform block. Because that server typically holds credentials, tokens, and network reach into connected cloud accounts, a single low-privileged or compromised internal account could turn this into a broader cloud-estate compromise rather than a contained platform issue. Leadership should care because the exposure is not to anonymous outsiders but to insiders and to any account an attacker has already obtained, making it a privilege-escalation and credential-exposure risk.
No vendor-released patch identified at time of analysis in the tracked patch feed (the vendor advisory references 0.6.11 as the remediated release - validate with the vendor). Interim mitigations: restrict workflow create/edit rights to a minimal set of trusted administrators and remove them from all other roles; disable or limit the Terraform block if not essential to operations; enforce least-privilege service accounts and rotate all credentials, tokens, and cloud integration secrets accessible from the OpenOps server; segment the OpenOps host and restrict outbound network access to required endpoints only; audit existing workflows for malicious HCL content, file paths, or resource identifiers; and monitor and alert on hcledit process execution and unexpected workflow changes. Note: exploitation per the vendor description requires high attack complexity and user interaction, and no public exploit code was identified at time of analysis.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
HashiCorp Terraform’s Vault Provider (terraform-provider-vault) did not correctly configure GCE-type bound labels for Va
An XML external entity (XXE) vulnerability in the Password Vault Web Access (PVWA) of CyberArk Enterprise Password Vault
PhotoRange Photo Vault 1.2 appends the password to the URI for authorization, which makes it easier for remote attackers
The REST API in CyberArk Password Vault Web Access before 9.9.5 and 10.x before 10.1 allows remote attackers to execute
Server-side request forgery in bank-vaults vault-secrets-webhook (<= 1.22.2) lets a low-privileged tenant with ConfigMap
Account takeover in self-hosted Bitwarden Server before 2026.6.0 lets a low-privileged organization member steal any oth
vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault. Rated cri
The SRP-6a implementation in Kee Vault KeePassRPC before 1.12.0 is missing validation for a client-provided parameter, w
The SRP-6a implementation in Kee Vault KeePassRPC before 1.12.0 generates insufficiently random numbers, which allows re
Server-side request forgery in the Ruby css_parser gem (< 3.0.0) lets a remote unauthenticated attacker force the parsin
NVD
CVE.org
EPSS
GitHub
Exploit-DB