Skip to main content

Arcane Backend CVE-2026-45626

| EUVDEUVD-2026-33372 MEDIUM
OS Command Injection (CWE-78)
2026-05-18 https://github.com/getarcaneapp/arcane GHSA-9mvm-4gwg-v8mp
6.3
CVSS 3.1 · Vendor: https://github.com/getarcaneapp/arcane
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid Arcane bearer token or API key
  2. Delivery
    Send GET /environments/{id}/volumes/{volumeName}/browse?path=/$(%20COMMAND)
  3. Exploit
    Shell metacharacters survive sanitizeBrowsePathInternal and strconv.Quote wrapping
  4. Execution
    sh -c expands $() substitution inside helper container
  5. Persist
    find fails on substituted path; command output captured in error string
  6. Impact
    HTTP 500 response body reflects command output to attacker

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

The attacker must possess a valid Arcane bearer token or API key corresponding to any user account - admin privileges are not required, as the route at volumes.go:412-419 omits the checkAdmin(ctx) guard that protects other sensitive endpoints. Per the CVSS vector (PR:L), low-privilege authenticated access is the sole authentication prerequisite. The target Arcane environment must contain at least one Docker volume that is accessible via the browse API - standard in any active Arcane deployment managing Docker volumes. The injected command executes inside an ephemeral, network-disabled helper container with the target volume mounted read-only, which limits exfiltration to the error-message side channel and prevents direct network egress or Docker socket access. The secondary destructive path (rm -rf /volume) requires sending path=. to DELETE /environments/{id}/volumes/{volumeName}/browse with the same low-privilege authenticated access and no additional prerequisites.

Impact

The CVSS 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) broadly reflects the impact containment provided by the Docker helper container's security posture: NetworkDisabled: true, no privileged mode, no Docker socket mount, and the target volume bind-mounted read-only for browse. These controls are present and real, and they cap lateral movement and host compromise potential. However, several signals elevate operational priority above the base score. A working single-request proof-of-concept (/$( id)) is embedded verbatim in the GHSA advisory, reducing exploitation complexity to zero for any authenticated user. No patch exists - the advisory explicitly lists 'fixed in: None' for all versions ≤ 1.18.1 - meaning no remediation path is currently available beyond compensating controls. The attack requires only low-privilege authentication (PR:L), with no admin role check on the vulnerable routes, widening the realistic attacker population to any Arcane account holder. A secondary logic flaw in DeleteFile (path=. → rm -rf /volume) creates an availability impact (destruction of all volume contents) not fully captured by the CVSS A:L rating, since that secondary path causes irreversible data loss rather than merely degraded availability. EPSS data was not provided in the input and cannot be inferred. The combination of public PoC, zero patch availability, low privilege bar, and destructive secondary vector makes this a higher operational priority than the 6.3 base score suggests for any internet-accessible Arcane deployment.

Exploit ScenarioDerived

An attacker holding any valid Arcane bearer token or API key sends a single HTTP GET request: GET /environments/{target-env-id}/volumes/{volumeName}/browse?path=/$(%20id). The shell expands $(id) inside the find double-quoted argument; find fails because the substituted string (e.g., /volume/uid=0(root) gid=0(root) groups=0(root)) is not a valid directory, and the error message containing the full command output is returned in the HTTP 500 response body with no special tooling required. A working proof-of-concept using this exact payload is confirmed in the GHSA advisory (GHSA-9mvm-4gwg-v8mp).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 18, 2026

OS command injection in the Arcane backend volume browser endpoint (all versions ≤ 1.18.1) allows any authenticated user - including non-admin roles - to execute arbitrary shell commands inside the per-volume helper container by supplying Bourne shell metacharacters such as $() in the path query parameter of GET /environments/{id}/volumes/{volumeName}/browse. The path sanitizer at volume_service.go:1448-1467 blocks only ../ traversal and passes shell substitution sequences through unchanged; strconv.Quote wraps the path in Go-style double quotes, which POSIX sh still interprets as a command-substitutable string, causing the injected command to execute and its output to be reflected in the HTTP 500 error body. No vendor-released patch exists at time of analysis; publicly available exploit code is embedded in the GHSA advisory (GHSA-9mvm-4gwg-v8mp) and no confirmed active exploitation (CISA KEV) has been reported.

RemediationAI

No vendor-released patch has been identified at time of analysis - the advisory at https://github.com/getarcaneapp/arcane/security/advisories/GHSA-9mvm-4gwg-v8mp records 'fixed in: None' for all versions ≤ 1.18.1. Monitor the advisory and the upstream repository at https://github.com/getarcaneapp/arcane for a patched release. Until a patch is available, the highest-value compensating control is to restrict GET and DELETE requests to /environments/{id}/volumes/{volumeName}/browse at the reverse proxy or API gateway layer so that only admin-role users can reach these routes, mirroring the checkAdmin(ctx) pattern already enforced on other sensitive Arcane routes - this eliminates non-admin exploitation but does not fully remediate the injection for admin users. If the volume browse feature is not operationally required, block these routes entirely at the network perimeter or load balancer. As a detection measure, monitor HTTP 500 responses from the Arcane backend for anomalous content patterns such as shell output strings (e.g., uid/gid strings, directory listings) in response bodies, which would indicate active exploitation via the error-reflection channel. Note that the container-level isolation (NetworkDisabled: true, read-only volume bind mount) already limits exfiltration to the error-message side channel and prevents direct host compromise, but does not prevent the injection itself or the secondary rm -rf /volume destructive path accessible via DELETE /environments/{id}/volumes/{volumeName}/browse?path=..

Affected VersionsENISA

Arcane ≤ 1.18.1

Affected Packages

go github.com/getarcaneapp/arcane/backend no fix
euvd arcane 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

The affected package is pkg:go/github.com/getarcaneapp/arcane/backend (CPE: pkg:go/github.com_getarcaneapp_arcane_backend), all versions ≤ 1.18.1. The root cause maps to CWE-78 (Improper Neutralization of Special Elements Used in an OS Command) arising from two compounding mistakes in the Go backend. First, sanitizeBrowsePathInternal (volume_service.go:1448-1467) performs path-traversal filtering only - it removes ../ sequences but permits all Bourne shell metacharacters including $(), backticks, ;, &, |, and >. Second, strconv.Quote is misapplied: it escapes Go string metacharacters and wraps the result in double quotes, but does not sanitize shell substitution syntax - POSIX sh performs $(...) expansion inside double-quoted strings. The resulting path is interpolated directly into a sh -c format string via fmt.Sprintf at volume_service.go:286-300, and the child process is spawned inside an ephemeral Docker helper container via execInContainerInternal. When the injected command causes find to fail because the expanded path does not exist as a directory, the error output - containing command results - is propagated through volumes.go:863-864 as a huma.Error500InternalServerError and returned to the caller in plaintext. The route at volumes.go:412-419 enforces only BearerAuth/ApiKeyAuth and deliberately omits the checkAdmin(ctx) guard present on other sensitive routes such as customize.go, system.go, and swarm.go, expanding the potential attacker population to all authenticated users.

Know when Docker 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 (https://github.com/getarcaneapp/arcane) PRIMARY 6.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
SUSE MEDIUM

Primary rating from Vendor (https://github.com/getarcaneapp/arcane).

CVSS VectorVendor: https://github.com/getarcaneapp/arcane

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Summary

GET /environments/{id}/volumes/{volumeName}/browse accepts a path query parameter that is passed to a shell command (sh -c "find … | while …") inside an Arcane helper container. The path sanitiser blocks ../ traversal but does not strip Bourne-shell metacharacters such as $() or backticks, and strconv.Quote only escapes Go string metacharacters, not shell substitution sequences. Any authenticated user with access to a browseable volume can execute arbitrary commands inside the helper container; command output is reflected back in the 500 error body.

Details

The execution flow is:

  1. BrowseDirectoryInput.Path (query: path) - backend/internal/huma/handlers/volumes.go:148
  2. VolumeHandler.BrowseDirectory calls volumeService.ListDirectory(ctx, volumeName, input.Path) - backend/internal/huma/handlers/volumes.go:858-865. Note the route registration at line 412-419 only declares BearerAuth/ApiKeyAuth; there is no checkAdmin(ctx) call (compare with customize.go, system.go, swarm.go, etc., which do enforce admin).
  3. VolumeService.ListDirectory runs the user-supplied path through sanitizeBrowsePathInternal, then joins it under /volume, quotes it with strconv.Quote, and embeds it into a sh -c command:
go
// backend/internal/services/volume_service.go:286-300
sanitizedPath, err := s.sanitizeBrowsePathInternal(dirPath)
...
targetPath := path.Join("/volume", sanitizedPath)
quotedPath := strconv.Quote(targetPath)
cmd := []string{"sh", "-c", fmt.Sprintf(
    "find %s -mindepth 1 -maxdepth 1 | while IFS= read -r f; do out=$(stat -c \"%%s %%Y %%f %%A\" -- \"$f\" 2>/dev/null) || continue; printf \"%%s\\0%%s\\0\" \"$f\" \"$out\"; done",
    quotedPath)}
stdout, _, err := s.execInContainerInternal(ctx, containerID, cmd)

The sanitiser is insufficient (backend/internal/services/volume_service.go:1448-1467):

go
func (s *VolumeService) sanitizeBrowsePathInternal(input string) (string, error) {
    trimmed := strings.TrimSpace(input)
    if trimmed == "" || trimmed == "/" { return "/", nil }
    cleaned := path.Clean(trimmed)
    if !path.IsAbs(cleaned) { cleaned = "/" + cleaned }
    if strings.Contains(cleaned, "/../") || strings.HasSuffix(cleaned, "/..") || cleaned == "/.." {
        return "", fmt.Errorf("invalid path: path traversal not allowed")
    }
    if !strings.HasPrefix(cleaned, "/") { return "", fmt.Errorf("invalid path: must be absolute") }
    return cleaned, nil
}

Only ../ patterns are filtered. $(...), backticks, ;, &, |, >, etc. all pass through unchanged. strconv.Quote then wraps the path in Go-style double quotes, which sh -c interprets as a regular double-quoted string - and bash performs $(...) command substitution inside double quotes.

For the input /$( id):

  • sanitizeBrowsePathInternal returns /$( id) (no ../ present).
  • path.Join("/volume", "/$( id)") → /volume/$( id).
  • strconv.Quote(...) → "/volume/$( id)".
  • The shell runs find "/volume/$( id)" …, which expands to find "/volume/uid=0(root) gid=0(root) groups=0(root)" …. find fails because that path does not exist; the stderr containing the substituted command output is propagated by execInContainerInternal (volume_service.go:910-918) into a command exited with code N: … error, then re-wrapped by ListDirectory and returned to the client as a 500 response body.

Errors from the handler at volumes.go:863-864 are returned via huma.Error500InternalServerError(err.Error()), so the substituted output is reflected in plaintext.

Blast radius / mitigations actually present:

  • The helper container is created by createTempContainerInternal with NetworkDisabled: true, no privileged mode, no Docker socket mount, only the target Docker volume bind-mounted (:ro for browse). It is auto-removed.
  • Therefore the injection executes inside an isolated, network-disabled container that already has read access to the same files the browse API exposes.
  • However: the injection grants arbitrary command execution within that container (well beyond the find/stat/readlink/head primitives the API exposes), enables data exfiltration via error-message side channel, and lets an attacker probe the helper image / volume in ways the legitimate API forbids (e.g. read symlink targets the API explicitly censors at volume_service.go:336-356, read past size limits, etc.).
  • A non-admin authenticated Arcane user is sufficient (no role check on the volumes browser routes), which makes this a privilege/capability extension for users who otherwise cannot run arbitrary docker exec.

Secondary issue (same sanitiser): DeleteFile (volume_service.go:924-963) defends against deleting volume root with if sanitizedPath "/". Input path=. yields path.Clean(".") "." → prefixed to /., which fails the "/" check, then path.Join("/volume", "/.") "/volume", so the executed command is rm -rf /volume, recursively deleting all volume contents. This is a separate logic flaw worth fixing alongside the sanitiser hardening but is reported here only for completeness.

Impact

  • Authenticated user (any role, including non-admin) can execute arbitrary shell commands inside the per-volume helper container.
  • Output of those commands is reflected in HTTP 500 error bodies - usable as an exfiltration channel.
  • Attacker gains capabilities the legitimate API withholds: bypass the symlink-target censoring at volume_service.go:336-356, bypass per-file byte limits, enumerate the helper image, mount-time inspection, etc.
  • No host compromise: the container has NetworkDisabled: true, no privileged flag, no Docker socket; the volume is bind-mounted read-only for browse. Confidentiality/integrity/availability impact is therefore limited (CVSS C:L / I:L / A:L) but real.
  • The same insufficient sanitiser additionally permits a destructive rm -rf /volume by sending path=. to DELETE /environments/{id}/volumes/{volumeName}/browse, which any authenticated user can also reach.

Threat Intelligence Overview

EPSS Score
0.1%
Top 72% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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 No
EPSS 0.1%
Patch available No
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
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.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: Moderate
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