Advisory

GHSA-ff24-4prj-gpmj

Also known as: CVE-2026-40242, GO-2026-5356

Summary

Arcane has Unauthenticated SSRF with Conditional Response Reflection in Template Fetch Endpoint

Details

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.

<img width="1041" height="375" alt="image" src="https://github.com/user-attachments/assets/f9fd475e-90b0-4dec-95e1-0af6263f5bb5" />

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)

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-10 20:59 UTC
Modified
2026-07-21 14:02 UTC

Affected packages and fixes

github.com/getarcaneapp/arcane/backend

Go · All systems

Affected

  • introduced 0, fixed 1.17.3 (semver)

Fixed versions

1.17.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences