highVulnerability

GHSA-pm7q-rjjx-979p

### Summary When OIDC authentication fails, the full bearer token is logged at DEBUG level in plaintext. If debug logging is enabled in production, JWT tokens are exposed in application logs and any connected log aggregation system. ### Impact An attacker with access to application logs (e.g., via a compromised log aggregation pipeline, shared logging infrastructure, or misconfigured log access controls) can extract valid JWT tokens and replay them to authenticate as legitimate users. All versions using OIDC authentication are affected. ### Details In `oxiad/common/rpc/auth/interceptor.go`, the `validateTokenWithContext()` function logs the complete token value via `slog.String("token", token)` when authentication fails. This includes the full JWT header, payload, and signature. ### Patches Fixed by redacting the token in log output — only the last 8 characters are preserved for correlation purposes. ### Workarounds Ensure DEBUG-level logging is never enabled in production environments.

Properties

ghsa_id
GHSA-pm7q-rjjx-979p
severity
high
summary
Oxia exposes bearer token in debug log messages on authentication failure
cve_id
GHSA-pm7q-rjjx-979p
is_ghsa_only
true
ghsa_published
2026-04-14T23:14:38Z
source_url
https://github.com/advisories/GHSA-pm7q-rjjx-979p
ghsa_updated
2026-04-14T23:14:39Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]go/github.com/oxia-db/oxia

AFFECTS (1)

[Software]go/github.com/oxia-db/oxia

HAS_WEAKNESS (1)

[Weakness]Insertion of Sensitive Information into Log File

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-pm7q-rjjx-979p — Ninja Signal Threat Intelligence | Ninja Signal