CVE-2026-48050
JSON

8.8high

Arc: Unauthenticated access to Go debug pprof endpoints leaks runtime state and enables CPU-burn DoS

Severity
8.8high CVSS:4.0 by GitHub_M
Exploit likelihood
0.89% (higher than 57% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-j93g-rp6m-j32mGO-2026-5457

Description

Arc is an open, SQL-native time-series database for telemetry. Versions prior to 26.06.1 register Go's `net/http/pprof` handlers at `/debug/pprof/*` via `app.Use(pprof.New())` in `internal/api/server.go`, and `/debug/pprof` is added to `PublicPrefixes` in `cmd/arc/main.go`. The auth middleware short-circuits before the token check on prefix match, so the endpoints are reachable without any authentication. Version 26.06.1 contains a patch. Some workarounds are available. Block `/debug/pprof*` at a reverse proxy / load balancer in front of Arc, restrict Arc's API port to known-trusted networks via firewall rules, and/or patch the running build: comment out `app.Use(pprof.New())` in `internal/api/server.go` and rebuild.

Affected

Product or packageVersionsReported by
Basekick-Labs arc< 26.06.1CVE List
github.com/basekick-labs/arc (Go)before 0.0.0-20260520170331-32a4091fb949GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Classification

CWE-200CWE-306CWE-400

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Arc is an open, SQL-native time-series database for telemetry. Versions prior to 26.06.1 register Go's `net/http/pprof` handlers at `/debug/pprof/*` via `app.Use(pprof.New())` in `internal/api/server.go`, and `/debug/pprof` is added to `PublicPrefixes` in `cmd/arc/main.go`. The auth middleware short-circuits before the token check on prefix match, so the endpoints are reachable without any authentication. Version 26.06.1 contains a patch. Some workarounds are available. Block `/debug/pprof*` at a reverse proxy / load balancer in front of Arc, restrict Arc's API port to known-trusted networks via firewall rules, and/or patch the running build: comment out `app.Use(pprof.New())` in `internal/api/server.go` and rebuild.

GitHub Advisory Database
Summary

Arc registers Go's net/http/pprof handlers at /debug/pprof/* via app.Use(pprof.New()) in internal/api/server.go, and /debug/pprof is added to PublicPrefixes in cmd/arc/main.go. The auth middleware short-circuits before the token check on prefix match, so the endpoints are reachable without any authentication.

Impact

Any network-reachable caller (no token required) can:

  • Fetch /debug/pprof/heap — leaks in-memory state: live SQL strings, decoded msgpack records, decompressed request bodies, cached *TokenInfo (the auth cache keys on SHA-256 of the plaintext token at auth.go:543).
  • Fetch /debug/pprof/goroutine?debug=2 — leaks call stacks, identifying internal code paths.
  • Fetch /debug/pprof/profile?seconds=N — pins a CPU core for arbitrary duration. Trivial DoS amplification (one short HTTP request → minutes of server CPU).
  • Fetch /debug/pprof/trace — long-duration execution trace, similar DoS profile.

No authentication, no rate limiting, no resource bound on the seconds parameter.

Patches

https://github.com/Basekick-Labs/arc/releases/tag/v26.06.1

Planned mitigation:

  1. Gate pprof registration behind an env var (ARC_DEBUG_PPROF=1) that defaults to off.
  2. When enabled, bind pprof to a separate localhost-only listener (127.0.0.1:6060 via dedicated net/http server) so it's never reachable from the public API port.
  3. Remove /debug/pprof from PublicPrefixes.
  4. Fix the HasPrefix bug where "/debug/pprofX" matches "/debug/pprof".
Workarounds
  • Block /debug/pprof* at a reverse proxy / load balancer in front of Arc.
  • Restrict Arc's API port to known-trusted networks via firewall rules.
  • Patch the running build: comment out app.Use(pprof.New()) in internal/api/server.go and rebuild.
Credits

Reported by Alex Manson (@NeuroWinter, https://neurowinter.com/) on 2026-05-19.

Go Vulnerability Database

Arc: Unauthenticated access to Go debug pprof endpoints leaks runtime state and enables CPU-burn DoS in github.com/basekick-labs/arc

NVD (es)

Arc es una base de datos de series temporales abierta, nativa de SQL, para telemetría. Las versiones anteriores a la 26.06.1 registran los manejadores 'net/http/pprof' de Go en '/debug/pprof/*' a través de 'app.Use(pprof.New())' en 'internal/api/server.go', y '/debug/pprof' se añade a 'PublicPrefixes' en 'cmd/arc/main.go'. El middleware de autenticación hace un cortocircuito antes de la verificación del token en la coincidencia de prefijo, por lo que los puntos finales son accesibles sin ninguna autenticación. La versión 26.06.1 contiene un parche. Algunas soluciones provisionales están disponibles. Bloquee '/debug/pprof' en un proxy inverso / balanceador de carga delante de Arc, restrinja el puerto API de Arc a redes conocidas y de confianza a través de reglas de cortafuegos, y/o aplique un parche a la compilación en ejecución: comente 'app.Use(pprof.New())' en 'internal/api/server.go' y recompile.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-48050 changed 2026-08-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-j93g-rp6m-j32m changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5457 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-48050 changed 2026-10-12Public domain