All vulnerabilities

Go

GHSA-m3qr-fvp4-78xj

Arc has unauthenticated application log disclosure via `/api/v1/logs`

Severity
Low
Published
3 Nov 2026
Last changed
5 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.0.0-20260615165136-bb7d9761ad98
Weakness
Information exposure (CWE-200)Missing authentication (CWE-306)
Also known as
GO-2026-6907
Sources
OSV.dev and GitHub

Description

Arc exposes GET /api/v1/logs without authentication even when authentication is enabled by default. The route is registered before the global Fiber authentication middleware, and the handler returns recent buffered application logs without performing its own authorization check.

Arc applies the global auth middleware after calling server.RegisterRoutes():

  • cmd/arc/main.go:1598-1599 registers base routes via server.RegisterRoutes().
  • cmd/arc/main.go:1601-1618 configures and installs auth.NewMiddleware(...) later.

server.RegisterRoutes() registers GET /api/v1/logs as a base route:

  • internal/api/server.go:164-183 registers base health, metrics, and logs routes, including s.app.Get("/api/v1/logs", s.logsHandler).

The logs handler returns buffered logs without checking authentication or authorization:

  • internal/api/server.go:537-567 parses limit, level, and since_minutes, reads logger.GetBuffer().GetRecent(...), and returns JSON.
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

Until patched, operators can restrict access to /api/v1/logs at a reverse proxy, firewall, ingress policy, or service mesh. If the endpoint is not needed, block it entirely.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/basekick-labs/arcGo · osv:Go:github.com/basekick-labs/arc
  • Every version before 0.0.0-20260615165136-bb7d9761ad98

About github.com/basekick-labs/arc

Vulnerabilities in github.com/basekick-labs/arc

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for github.com/basekick-labs/arc

References