Auth0 Node.js Client Library Authorization Header Sanitization Vulnerability

Vulnerability

A vulnerability exists in the Auth0 Node.js client library (npm package) in versions prior to 2.27.1. The issue arises in Machine to Machine applications authorized to use Auth0's management API. When an error occurs, the Authorization header is not properly sanitized before being logged, potentially exposing bearer tokens. This vulnerability could be exploited if the logged token is intercepted or accessed by an unauthorized party.

Impact

Exposing bearer tokens in logs, which could lead to unauthorized access if the token is intercepted.

Reproduction

The vulnerability can be reproduced by sending a request to the Auth0 management API that fails, while using the Auth0 Node.js client library version prior to 2.27.1. The error response will contain the Authorization header with the unsanitized bearer token, which can then be observed in the logs.

Remediation

Users should upgrade to Auth0 Node.js client library version 2.27.1 or later.

Added: Mar 11, 2026, 7:08 PM
Updated: Mar 11, 2026, 7:08 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
5.8
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.