Skip to content

Access-control service logs bearer tokens in plaintext #9571

Description

@Ma77Ball

What happened?

The access-control service writes the raw bearer token (JWT) into its logs at INFO on every computing-unit authorization check, and also logs the full request headers (which include the Authorization token) and query parameters (which can include an access-token). Anyone with log access obtains live credentials.

How to reproduce?

Make a request that hits checkComputingUnitAccess in the access-control service and inspect the service logs: the token appears in a token extracted from request <jwt> line, and the request-headers line contains the Authorization bearer token.

Version/Branch

main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions