{"id":"CVE-2026-48050","aliases":["CVE-2026-48050","GHSA-j93g-rp6m-j32m","GO-2026-5457"],"related":[],"kind":"vulnerability","state":"published","title":"Arc: Unauthenticated access to Go debug pprof endpoints leaks runtime state and enables CPU-burn DoS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nArc 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.\n\n### Impact\n\nAny network-reachable caller (no token required) can:\n\n- 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`).\n- Fetch `/debug/pprof/goroutine?debug=2` — leaks call stacks, identifying internal code paths.\n- Fetch `/debug/pprof/profile?seconds=N` — pins a CPU core for arbitrary duration. Trivial DoS amplification (one short HTTP request → minutes of server CPU).\n- Fetch `/debug/pprof/trace` — long-duration execution trace, similar DoS profile.\n\nNo authentication, no rate limiting, no resource bound on the `seconds` parameter.\n\n### Patches\n\nhttps://github.com/Basekick-Labs/arc/releases/tag/v26.06.1\n\nPlanned mitigation:\n\n1. Gate pprof registration behind an env var (`ARC_DEBUG_PPROF=1`) that defaults to off.\n2. 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.\n3. Remove `/debug/pprof` from `PublicPrefixes`.\n4. Fix the `HasPrefix` bug where `\"/debug/pprofX\"` matches `\"/debug/pprof\"`.\n\n### Workarounds\n\n- Block `/debug/pprof*` at a reverse proxy / load balancer in front of Arc.\n- Restrict Arc's API port to known-trusted networks via firewall rules.\n- Patch the running build: comment out `app.Use(pprof.New())` in `internal/api/server.go` and rebuild.\n\n### Credits\n\nReported by Alex Manson ([@NeuroWinter](https://github.com/NeuroWinter), https://neurowinter.com/) on 2026-05-19.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Arc: Unauthenticated access to Go debug pprof endpoints leaks runtime state and enables CPU-burn DoS in github.com/basekick-labs/arc","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-11T17:10:21.000Z","modified":"2026-10-12T16:10:00.220Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-200","CWE-306","CWE-400"],"affected":[{"ranges":[{"version":"< 26.06.1","status":"affected"}],"vendor":"Basekick-Labs","product":"arc","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260520170331-32a4091fb949"}],"ecosystem":"Go","package":"github.com/basekick-labs/arc","purl":"pkg:golang/github.com/basekick-labs/arc","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260520170331-32a4091fb949"}],"ecosystem":"Go","package":"github.com/basekick-labs/arc","purl":"pkg:golang/github.com/basekick-labs/arc","source":"go"}],"references":[{"url":"https://github.com/Basekick-Labs/arc/security/advisories/GHSA-j93g-rp6m-j32m","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Basekick-Labs/arc/commit/32a4091fb949f9cf060cdd804a07f6450dc426a8","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Basekick-Labs/arc/releases/tag/v26.06.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Basekick-Labs/arc","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-25T16:44:13.830Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48050","url":"https://www.cve.org/CVERecord?id=CVE-2026-48050","licence":"CVE Terms of Use","modified":"2026-08-25T16:44:36.584Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j93g-rp6m-j32m","url":"https://github.com/advisories/GHSA-j93g-rp6m-j32m","licence":"CC-BY-4.0","modified":"2026-06-25T23:11:46.654Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5457","url":"https://pkg.go.dev/vuln/GO-2026-5457","licence":"CC-BY-4.0","modified":"2026-06-25T23:01:18.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48050","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48050","licence":"Public domain","modified":"2026-10-12T16:10:00.220Z"}],"updatedAt":"2026-11-25T22:59:34.851Z","epss":{"score":0.00887,"percentile":0.57173,"date":"2026-11-30T12:00:22.000Z"}}