Skip to main content
Vulnerability Database/CVE-2026-96626

CVE-2026-96626: Arcane Docker Manager Token Leak Vulnerability

CVE-2026-96626 is an information disclosure flaw in Arcane Docker management interface that exposes stored registry tokens to attacker-controlled hosts. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-96626 Overview

CVE-2026-96626 is an information disclosure vulnerability in Arcane, an interface for managing Docker containers, images, networks, and volumes. The flaw affects UpdateRegistry and TestRegistry functions in backend/api/services/container_registry_service.go prior to version 2.5.0. A user with registries:update and registries:test permissions can repoint a generic registry URL without supplying a replacement token. The server then decrypts the preserved token and transmits it to the attacker-controlled host because normalizeRegistryServerAddressInternal does not restrict the destination. This exposes stored container-registry personal access tokens (PATs) or passwords and enables image access or tampering [CWE-200].

Critical Impact

Authenticated users can exfiltrate stored container registry credentials by repointing the registry URL to an attacker-controlled host, enabling downstream image tampering and supply chain attacks.

Affected Products

  • Arcane (getarcaneapp/arcane) backend versions prior to 2.5.0
  • container_registry_service.go in the backend API services module
  • Deployments exposing registry management endpoints to privileged users

Discovery Timeline

  • 2026-10-16 - CVE-2026-96626 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-96626

Vulnerability Analysis

The vulnerability resides in Arcane's container registry management workflow. When an authenticated user updates or tests a registry configuration, the backend retains the previously stored encrypted credential if the request omits a replacement token. The TestRegistry handler decrypts the preserved token and the RegistryLogin routine sends it to whatever host the registry URL points to. Because normalizeRegistryServerAddressInternal performs no destination validation, an attacker holding registries:update and registries:test scopes can swap the hostname and receive the credential as part of a standard Docker registry login request.

The exposed credential is the full PAT or password used by Arcane to authenticate to the legitimate registry. Once captured, the attacker can pull private images, push tampered artifacts, or pivot into connected CI/CD pipelines.

Root Cause

The root cause is missing invariant enforcement between the stored credential and the registry destination. The service treats the encrypted token as portable across URL changes, violating the principle that credentials must be bound to their original target. The absence of a destination allowlist or re-authentication requirement in normalizeRegistryServerAddressInternal lets the credential travel with any attacker-supplied URL.

Attack Vector

An authenticated attacker with registry update and test permissions performs the following steps:

  1. Identifies an existing generic registry entry with stored credentials.
  2. Issues an update request that changes only the registry URL to an attacker-controlled endpoint.
  3. Triggers the TestRegistry endpoint, which decrypts the preserved token and performs a registry login against the attacker host.
  4. Captures the credential from the inbound HTTP authentication header.
go
// Patch excerpt: backend/internal/services/container_registry_service.go
// fix: prevent credential reuse after target URL changes (#3317)
	"github.com/getarcaneapp/arcane/backend/v2/pkg/pagination"
	"github.com/getarcaneapp/arcane/backend/v2/pkg/utils"
	"github.com/getarcaneapp/arcane/backend/v2/pkg/utils/cache"
+	"github.com/getarcaneapp/arcane/backend/v2/pkg/utils/validation"
	"github.com/getarcaneapp/arcane/types/v2/containerregistry"
	dockerregistry "github.com/moby/moby/api/types/registry"
	"github.com/moby/moby/client"

Source: GitHub Commit fe31693. The patch introduces a new validation package that enforces credential-to-URL binding, blocking reuse when the destination changes. A parallel fix is applied to git_repository_service.go for the Git credential flow.

Detection Methods for CVE-2026-96626

Indicators of Compromise

  • Audit log entries showing UpdateRegistry calls that modify only the URL field without rotating the associated token.
  • TestRegistry requests immediately following URL changes on existing registry entries.
  • Outbound HTTPS connections from the Arcane backend to registry hostnames not previously observed in network telemetry.

Detection Strategies

  • Correlate registry configuration changes with egress traffic to flag connections to unknown registry endpoints.
  • Monitor Arcane application logs for sequences of registries:update followed closely by registries:test from the same principal.
  • Review access control assignments to identify accounts holding both registries:update and registries:test scopes and reduce where possible.

Monitoring Recommendations

  • Enable verbose audit logging on the Arcane backend and ship logs to a centralized SIEM for retention and query.
  • Alert on registry URL changes that occur without a corresponding credential update event.
  • Baseline the set of registry hostnames the Arcane instance communicates with and alert on new destinations.

How to Mitigate CVE-2026-96626

Immediate Actions Required

  • Upgrade Arcane backend to version 2.5.0 or later, which contains the fix merged in pull request #3317.
  • Rotate all container registry PATs and passwords stored in Arcane, assuming prior exposure until logs confirm otherwise.
  • Audit role assignments and revoke registries:update or registries:test scopes from accounts that do not require them.

Patch Information

The fix is available in GitHub Release v2.5.0 and tracked in GitHub Pull Request #3317. Full technical details are documented in GitHub Security Advisory GHSA-9pxc-cxp5-qp54. The commit fe31693 introduces validation logic that invalidates stored credentials when the registry URL changes.

Workarounds

  • Restrict access to registry management endpoints behind network segmentation or a reverse proxy that enforces additional authentication.
  • Require manual credential re-entry during any registry configuration change through operational procedure until the patch is applied.
  • Temporarily remove stored credentials from generic registry entries and rely on short-lived tokens issued at pipeline runtime.
bash
# Verify the installed Arcane backend version meets the fixed release
docker exec arcane-backend /app/arcane --version
# Expected output: v2.5.0 or later

# Pull and deploy the patched image
docker pull ghcr.io/getarcaneapp/arcane:2.5.0
docker compose up -d arcane

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.