Skip to main content

Arcane EUVDEUVD-2026-33370

| CVE-2026-47125 HIGH
Missing Authorization (CWE-862)
2026-05-23 https://github.com/getarcaneapp/arcane GHSA-jpjh-jm2p-39hh
8.8
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. Recon
    Obtain non-admin token or API key
  2. Delivery
    Send PUT /api/environments/0/templates/variables with malicious REGISTRY/IMAGE
  3. Exploit
    Writes attacker keys into .env.global
  4. Install
    Victim project redeploy substitutes hostile values
  5. C2
    Docker pulls attacker-controlled image
  6. Execute
    Container executes on host with project privileges
  7. Impact
    Cross-tenant RCE and credential exfiltration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated session against the Arcane backend (Bearer JWT, API key, or environment access token) at any privilege level - admin role is NOT required, which is the bug. The attacker must be able to reach the management API over the network, and the targeted Arcane instance must be running a vulnerable backend version (<= 1.19.1) with at least one project whose compose file references global variables via ${VAR} substitution (e.g., ${REGISTRY}, ${IMAGE}, ${DATABASE_URL}) for the supply-chain RCE path to land; instances with no such references are still exposed to credential redirection and availability impact but not to direct image-swap RCE. Realistic exploitation also requires that a deploy of an affected project occur after the .env.global write - either by waiting for normal user activity or by triggering a redeploy via other API surfaces. Limiting factors: PR:L means the attacker needs some valid credential, so instances that do not expose self-registration and do not issue API keys to untrusted parties materially reduce risk.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (8.8 High) is consistent with the described primitive: network-reachable API, low complexity, low-privilege authenticated caller (any user with a valid token), no user interaction, and full CIA impact via supply-chain RCE on the Docker host. Scope is rated Unchanged, but in practice the bug enables cross-tenant impact because every project on the instance consumes .env.global - defenders should treat the effective blast radius as larger than S:U implies. There is no CISA KEV listing, no EPSS score in the provided data, and no public exploit identified at time of analysis, so this is not yet evidence of opportunistic mass exploitation; however, the GHSA write-up contains a near-complete exploitation recipe (endpoint, payload semantics, and downstream sinks), so weaponization effort is low. Priority should be high for any Arcane deployment with more than one user account or with API keys issued to less-trusted automation.

Exploit ScenarioDerived

An attacker creates or compromises any low-privilege Arcane user account (or obtains a non-admin API key issued for automation), then sends a single PUT /api/environments/0/templates/variables request setting REGISTRY to attacker.example.com (and/or rewriting IMAGE, DATABASE_URL, SMTP_HOST). On the next redeploy of any project whose compose file references ${REGISTRY}/${IMAGE}, Arcane pulls and runs the attacker's image on the Docker host with whatever privileges that project grants - typically Docker socket access or host bind mounts - yielding host takeover. No public PoC is identified, but the GHSA advisory documents the endpoint and payload shape in sufficient detail to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 23, 2026

Privilege escalation in Arcane Docker management platform (backend <= 1.19.1) allows any authenticated non-admin user to overwrite the system-wide .env.global file via the PUT /api/environments/{id}/templates/variables endpoint, which lacks the checkAdmin() guard applied to every other admin-sensitive handler. Because global variables are merged into every project's compose file at deploy time, an attacker can redirect image pulls to a malicious registry to achieve cross-tenant supply-chain code execution on the Docker host, steal credentials from other users' deployments, or break every project on the instance. No public exploit identified at time of analysis, but the GHSA advisory documents the exact vulnerable code path.

RemediationAI

Upgrade the Arcane backend to vendor-released patch 1.19.2 or later, as published in GHSA-jpjh-jm2p-39hh (https://github.com/getarcaneapp/arcane/security/advisories/GHSA-jpjh-jm2p-39hh). If immediate upgrade is not possible, restrict reachability of the PUT /api/environments/{id}/templates/variables endpoint at a reverse proxy (e.g., block or admin-IP-allowlist that path) - note this also blocks legitimate admin updates via the API and the UI's variables panel, so changes must be made out-of-band until patched. As an interim hardening measure, revoke or rotate API keys held by non-admin users and audit existing .env.global contents against a known-good baseline plus inspect compose files for unexpected ${REGISTRY}/${IMAGE} substitution and any deploys that pulled from unexpected registries. Permissions on the projects directory cannot fully mitigate this because the writes are performed by the Arcane process itself.

Affected VersionsENISA

Arcane < 1.19.2

Affected Packages

go github.com/getarcaneapp/arcane/backend fix: 1.19.2
euvd arcane fix: 1.19.2

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

Arcane is a Go-based Docker/compose management application built on the Huma API framework. The vulnerability is a textbook CWE-862 (Missing Authorization): the Huma auth middleware at backend/internal/huma/middleware/auth.go only verifies that the caller presents a valid Bearer JWT, API key, or environment access token, leaving role enforcement to each individual handler via the helpers.go:12 checkAdmin() helper. The updateGlobalVariables handler at templates.go:889 omits this call, so the request reaches TemplateService.UpdateGlobalVariables (template_service.go:1107) which writes caller-supplied key=value pairs to <projectsDirectory>/.env.global. That file is then consumed by pkg/projects/env.go's EnvLoader.loadAndMergeGlobalEnv, populating both the compose-go ${VAR} substitution map and the auto-injected container env map for every project on the host. A secondary defect - keys are only TrimSpace'd, not newline-sanitized - additionally enables embedded-newline key injection. Affected package per CPE is pkg:go/github.com/getarcaneapp/arcane/backend.

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 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

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
High
Integrity
High
Availability
High

DescriptionCVE.org

Summary

The PUT /api/environments/{id}/templates/variables endpoint, which writes the system-wide .env.global file used for variable substitution in every project's compose file, is missing an admin authorization check. Any authenticated non-admin user can call this endpoint with their bearer token or API key and overwrite the global environment variables that are merged into every project deployment. By overriding values like REGISTRY, IMAGE, DATABASE_URL, or SECRET_KEY that other users reference via ${VAR} in compose files, an attacker can redirect image pulls to attacker-controlled registries (supply-chain RCE on the Docker host), exfiltrate database credentials, or disrupt all projects.

Details

The endpoint is registered at backend/internal/huma/handlers/templates.go:374:

go
huma.Register(api, huma.Operation{
    OperationID: "updateGlobalVariables",
    Method:      "PUT",
    Path:        "/environments/{id}/templates/variables",
    ...
    Security: []map[string][]string{
        {"BearerAuth": {}},
        {"ApiKeyAuth": {}},
    },
}, h.UpdateGlobalVariables)

The handler at backend/internal/huma/handlers/templates.go:889 performs no role check:

go
func (h *TemplateHandler) UpdateGlobalVariables(ctx context.Context, input *UpdateGlobalVariablesInput) (*UpdateGlobalVariablesOutput, error) {
    if h.templateService == nil {
        return nil, huma.Error500InternalServerError("service not available")
    }

    if input.EnvironmentID != "0" {
        return h.updateGlobalVariablesForRemoteEnvironmentInternal(ctx, input)
    }

    if err := h.templateService.UpdateGlobalVariables(ctx, input.Body.Variables); err != nil {
        return nil, huma.Error500InternalServerError((&common.GlobalVariablesUpdateError{Err: err}).Error())
    }
    ...
}

This is anomalous compared to every other admin-sensitive handler in the codebase, all of which begin with if err := checkAdmin(ctx); err != nil { return nil, err } (see users.go, events.go, swarm.go, settings.go, apikeys.go, environments.go, notifications.go, container_registries.go, git_repositories.go, system.go). The helper exists at backend/internal/huma/handlers/helpers.go:12 but is never invoked from templates.go.

The auth middleware at backend/internal/huma/middleware/auth.go:192-254 only validates that *some* authenticated user is present (Bearer JWT, API key, or environment access token); it does not enforce roles. Role enforcement is the responsibility of each handler.

That this endpoint is intended to be admin-only is evidenced by the UI customization search at backend/internal/huma/handlers/customize.go:82-91 and :106-114, which explicitly hides the variables and registries categories from non-admin users:

go
if !humamw.IsAdminFromContext(ctx) {
    filtered := []category.Category{}
    for _, cat := range results.Results {
        if cat.ID != "registries" && cat.ID != "variables" {
            filtered = append(filtered, cat)
        }
    }
    results.Results = filtered
    ...
}

The corresponding container_registries.go handlers all enforce admin via checkAdmin() (e.g. container_registries.go:273,329,360,387,442); the equivalent enforcement for the global-variables write was forgotten.

The service layer at backend/internal/services/template_service.go:1107 writes attacker-supplied keys/values to <projectsDirectory>/.env.global:

go
func (s *TemplateService) UpdateGlobalVariables(ctx context.Context, vars []env.Variable) error {
    envPath, err := s.getGlobalVariablesPath(ctx)
    ...
    for _, v := range vars {
        if strings.TrimSpace(v.Key) == "" { continue }
        key := strings.TrimSpace(v.Key)
        value := strings.TrimSpace(v.Value)
        if strings.ContainsAny(value, " \t\n\r#") {
            value = fmt.Sprintf(`"%s"`, strings.ReplaceAll(value, `"`, `\"`))
        }
        _, _ = fmt.Fprintf(&builder, "%s=%s\n", key, value)
    }
    if err := projects.WriteFileWithPerm(envPath, builder.String(), common.FilePerm); err != nil { ... }
}

That file is then loaded for every project at deploy time via backend/pkg/projects/env.go:65-82 (EnvLoader.LoadEnvironment → loadAndMergeGlobalEnv):

go
if strings.TrimSpace(l.projectsDir) != "" {
    globalEnvPath := filepath.Join(l.projectsDir, GlobalEnvFileName)
    if err := l.loadAndMergeGlobalEnv(ctx, globalEnvPath, envMap, injectionVars); err != nil ...
}

loadAndMergeGlobalEnv (env.go:94-125) populates both envMap (used by compose-go for ${VAR} substitution in compose files) and injectionVars (auto-injected into containers). The result: a single non-admin write to the global variables endpoint changes the resolved compose state of every project on the host.

Additionally, the key field is only strings.TrimSpace'd (template_service.go:1128); embedded newlines inside the key are not removed, so a key like "FOO\nINJECTED" will write two lines into .env.global, allowing arbitrary key injection and overwrite of variables an attacker did not include in their request body.

Impact

  • Cross-project supply-chain RCE on the Docker host. Compose files commonly reference ${REGISTRY}/${IMAGE}:${TAG}. By pointing REGISTRY (or IMAGE) at an attacker-controlled registry, the next deploy of any affected project pulls and runs attacker code with whatever privileges Arcane gives that container (commonly Docker socket access, host volume mounts, etc.).
  • Credential theft from other users' projects. Variables like DATABASE_URL, SMTP_HOST, WEBHOOK_URL, S3_ENDPOINT can be redirected to attacker-controlled servers; the next deploy will hand the new connection strings to applications that then submit credentials/data to the attacker.
  • Cross-tenant integrity and availability. A single non-admin user can corrupt .env.global to break every project on the instance.
  • Bypass of intended privilege boundary. The UI explicitly hides the variables and registries surfaces from non-admins, indicating these are admin-only controls; this finding closes the gap between the documented privilege model and the API enforcement.

The privilege delta is significant: the project clearly distinguishes admin from non-admin users (separate roles, admin-only UI categories, checkAdmin() enforced on dozens of other endpoints), yet this endpoint grants a non-admin the ability to execute attacker-controlled images on the host on behalf of every other tenant.

Executive ViewAI

Why It Matters

Arcane Docker management platform versions 1.19.1 and earlier contain a privilege escalation vulnerability in the global environment variable management function that allows any authenticated platform user to modify system-wide configurations. Since global variables control container image sources across all deployments, attackers can inject malicious registries to achieve code execution on Docker hosts, exfiltrate credentials from other projects, or disable the entire platform-affecting all tenant workloads simultaneously.

Business Impact: Severe
Compensating Controls

Until patch availability: (1) Deploy API gateway or reverse proxy rules blocking non-admin users from PUT access to /api/environments/{id}/templates/variables; (2) Implement mandatory container image pull policies at runtime requiring image registry whitelist validation; (3) Enable comprehensive audit logging with real-time alerts on all global environment variable modifications; (4) Restrict non-admin user roles to read-only platform access if operational requirements permit; (5) Conduct incident response preparation assuming non-admin accounts may be compromised.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Very High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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