GitHub Advisoryadvisory · Go

GHSA-ff24-4prj-gpmj Arcane has Unauthenticated SSRF with Conditional Response Reflection in Template Fetch Endpoint

HIGH Published 2026-04-10 Modified 2026-07-21 Official page ↗
Aliases
CVE-2026-40242
Ecosystem
Go
Packages
github.com/getarcaneapp/arcane/backend
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weaknesses
CWE-918
Reviewed
2026-04-10

Affected packages

• Go github.com/getarcaneapp/arcane/backend: < 1.17.3 → fixed in 1.17.3

Description

Summary The /api/templates/fetch endpoint accepts a caller-supplied url parameter and performs a server-side HTTP GET request to that URL without authentication and without URL scheme or host validation. The server's response is returned directly to the caller. type. This constitutes an unauthenticated SSRF vulnerability affecting any publicly reachable Arcane instance. Details • No allowlist or denylist of destination hosts/CIDRs • No requirement for the caller to be authenticated Response handling produces four distinct outcomes observable by the caller: • Valid JSON targets return a fully reflected response body if the returned fields fit the expected internal struct • Non-JSON HTTP 200 responses produce an error leaking the first byte of the response (`"Invalid JSON response: invalid character ' Impact • Unauthenticated port scanning of internal networks • Access to internal HTTP services not exposed to the public internet (service discovery endpoints, internal dashboards, Kubernetes API)

Related

Alias · CVE (1)

  • CVE-2026-40242 Arcane is an interface for managing Docker containers, images, networks, and volumes. vulnerability

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References