Dispatch writes JWT tokens in error message
Description
Dispatch leaks the JWT secret key in error messages, allowing attackers to forge tokens and take over any account.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Dispatch leaks the JWT secret key in error messages, allowing attackers to forge tokens and take over any account.
Vulnerability
The vulnerability resides in the Dispatch Plugin - Basic Authentication Provider plugin. When the plugin attempts to decode a malformed JWT token, the error handler includes the DISPATCH_JWT_SECRET value in the HTTP 401 response detail. This affects all Dispatch instances using the Basic Authentication Provider prior to commit b1942a4319 (release 20230817). [3][4]
Exploitation
An attacker with network access to a vulnerable Dispatch instance can send a crafted invalid JWT token to the authentication endpoint. The server responds with an error message containing the JWT secret key. The attacker then uses this secret to sign arbitrary JWTs, impersonating any user. [3]
Impact
Successful exploitation allows full account takeover within the Dispatch instance. The attacker can forge tokens for any email address, gaining the privileges of that user, including administrative access if the target account has such rights. [3]
Mitigation
Upgrade to Dispatch release 20230817 or later, which includes commit b1942a4319 that removes the secret from error messages. After upgrading, rotate the DISPATCH_JWT_SECRET environment variable in the .env file. No workarounds are available. [3][4]
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
4- github.com/Netflix/dispatch/commit/b1942a4319f0de820d86b84a58ebc85398b97c70mitrex_refsource_MISC
- github.com/Netflix/dispatch/pull/3695mitrex_refsource_MISC
- github.com/Netflix/dispatch/releases/tag/latestmitrex_refsource_MISC
- github.com/Netflix/dispatch/security/advisories/GHSA-fv3x-67q3-6pg7mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.