CVE-2026-40242: Arcane has Unauthenticated SSRF with Conditional Response Reflection in Template Fetch Endpoint
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.
Published Apr 10, 2026
Affected packages
github.com/getarcaneapp/arcane/backend
- Ecosystem
- Go
- Affected
- <= 1.17.2
- Fixed in
- 1.17.3
- Check
go list -m github.com/getarcaneapp/arcane/backend
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 '<'...") - Non-200 responses leak the HTTP status code
- TCP-level failures distinguish between closed ports (
"connection refused") and filtered ones ("i/o timeout")
PoC
Send an unauthenticated GET request to /api/templates/fetch, passing the target URL as the url query parameter.
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)
Credited to msoneri.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-47179
Arcane Has an Authenticated Arbitrary Host File Read via Docker Compose Include Directives
high7.7May 28, 2026CVE-2026-47125
Arcane: Missing admin authorization on global variables endpoint
high8.8May 23, 2026CVE-2026-45625
Arcane Backend: Missing admin authorization on git repository endpoints allows non-admin users to exfiltrate stored Git credentials and tamper with GitOps configs
critical9.9May 18, 2026CVE-2026-45626
Arcane Backend: OS Command Injection in Volume Browser ListDirectory via path query parameter
medium6.3No fixMay 18, 2026CVE-2026-45627
Arcane Backend: Unauthenticated reflected XSS via SVG color parameter enables admin account takeover
high8.2May 18, 2026CVE-2026-42461
Arcane Vulnerable to Unauthenticated Disclosure of Custom Compose Template Content (incl. `.env` secrets)
high8.7Apr 30, 2026
