Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject malicious path via agent input
-
DeliveryAgent invokes write_file tool
-
ExploitFsBridge builds sh -c "cat > <path>"
-
ExecutionShell evaluates $(...) substitution
-
PersistArbitrary commands run in sandbox container
-
ImpactPivot to mounted secrets or network
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 | Exploitation requires that the attacker can influence the |
| Impact | Signals are mixed and warrant prioritization above the raw CVSS number. The CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N scores network-reachable, unauthenticated, low-complexity exploitation, but in practice GoClaw's write_file tool is exposed through an LLM-driven agent interface - so the realistic attack vector is an attacker who can influence the agent's tool inputs (e.g., via a prompt-injectable document, repository content, or chat input) rather than a raw internet listener; the scope is therefore unchanged (S:U) and impacts are bounded to the sandbox container (C:L/I:L/A:L). The temporal vector flags Exploit=Proof-of-concept and Report=Reasonable, matching the public exploit reference at GitHub issue #1121. This CVE is not on CISA KEV and no EPSS score was provided, so there is no signal of mass exploitation; however, publicly available exploit code exists, the patch PR is still unmerged, and the only mitigation barrier is a sandbox boundary the bug itself is designed to abuse. Net: treat as a real priority for any GoClaw deployment processing untrusted input, while recognizing exploitation is mediated by the agent rather than a direct network listener. |
| Exploit ScenarioDerived | An attacker seeds untrusted content the GoClaw agent will process - for example, a README, issue body, or chat message that instructs the agent to write a file at a path like |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
OS command injection in nextlevelbuilder GoClaw through version 3.11.3 allows remote attackers to execute arbitrary shell commands inside the sandbox container by supplying a crafted file path to the write_file tool. The flaw exists in FsBridge.WriteFile (internal/sandbox/fsbridge.go), which interpolated the destination path into a shell command (sh -c "cat > <path>") executed via docker exec, letting shell metacharacters such as $(...) break out of the intended write operation. Publicly available exploit code exists and the upstream patch is still pending merge at the time of analysis, raising real-world risk despite a moderate 7.3 CVSS.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the fix is in https://github.com/nextlevelbuilder/goclaw/pull/1155, which replaces the sh -c "cat > <path>" invocation with a direct tee [-a] -- <resolved> argv call so paths are never reparsed by a shell, but the PR description notes it awaits acceptance and no tagged release beyond 3.11.3 is referenced in the input data. Until the PR is merged and a release ships, operators should pin to an internal build that applies the PR diff, or disable the write_file tool in the agent's tool registry if the workload can tolerate read-only operation (trade-off: the agent loses the ability to create or modify files in the sandbox). Additional compensating controls: refuse or sanitize any tool input where the path argument contains shell metacharacters ($, backtick, ;, &, |, newline) before it reaches FsBridge, and ensure the Docker sandbox runs with a non-root user, read-only host mounts, and no outbound network so that successful in-container command execution has the smallest possible blast radius. Monitor the upstream issue at https://github.com/nextlevelbuilder/goclaw/issues/1121 and PR https://github.com/nextlevelbuilder/goclaw/pull/1155 for release news.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GoClaw is an agentic coding tool from nextlevelbuilder that brokers filesystem operations into a Docker sandbox through an FsBridge abstraction. The vulnerable WriteFile path used b.dockerExec(ctx, []byte(content), "sh", "-c", fmt.Sprintf("cat %s %q", redir, resolved)), invoking a shell inside the container with the resolved file path embedded as a %q-quoted token. While %q adds Go-style quoting, it does not neutralize POSIX shell command substitution constructs like $(...) and backticks, so any caller able to influence the target path could inject commands - the classic CWE-78 (Improper Neutralization of Special Elements used in an OS Command) failure. The fix in PR #1155 removes the shell entirely, switching to tee [-a] -- <path> invoked directly via argv so the path is a discrete argument and metacharacters are no longer interpreted by a shell. The single affected CPE is cpe:2.3:a:nextlevelbuilder:goclaw:*.
Know when Goclaw 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in nextlevelbuilder GoClaw up to 3.11.3. This impacts the function FsBridge.WriteFile of the file internal/sandbox/fsbridge.go of the component write_file Tool. Performing a manipulation results in os command injection. The attack is possible to be carried out remotely. The exploit has been made public and could be used. The pull request to fix this issue awaits acceptance.
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.
Related Vulnerabilities in GoClaw Privilege and Command Injection Flaws
View all 3Missing authentication in GoClaw's Webhook Verification Handler allows unauthenticated remote attackers to interact with
Improper authorization in the GoClaw and GoClaw Lite RPC gateway allows unauthenticated remote attackers to invoke privi
Server-side request forgery in GoClaw through 3.15.0-beta.32 allows authenticated remote attackers to bypass the SSRF bl
Path traversal in GoClaw 3.13.3-beta.3 allows authenticated remote attackers to read or write files outside the intended
Incorrect authorization in GoClaw's WebSocket Approval Endpoint allows low-privileged remote attackers to bypass access
GoClaw 3.11.3 by nextlevelbuilder exposes an incomplete blacklist bypass in the ExecApprovalManager.CheckCommand functio
Information disclosure in nextlevelbuilder GoClaw up to version 3.13.3-beta.3 allows remote low-privileged attackers to
Name resolution bypass in GoClaw's exec approval subsystem allows remote low-privileged attackers to circumvent the bina
Incorrect authorization in nextlevelbuilder GoClaw's WebSocket RPC Handler allows authenticated low-privilege remote att
Improper authorization in nextlevelbuilder GoClaw up to version 3.13.3-beta.3 allows low-privileged remote attackers to
Missing authorization on the Invoke Endpoint in nextlevelbuilder GoClaw up to version 3.13.2 allows low-privileged remot
Improper authorization in nextlevelbuilder GoClaw up to version 3.13.2 allows remote low-privilege authenticated attacke
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-33540
GHSA-6jm8-4fhr-5w64
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB