# CVE-2023-40171: Dispatch writes JWT tokens in error message

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-17T21:19:28.326Z
- Modified: 2026-06-17T06:16:32.080Z
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Dispatch is an open source security incident management tool. The server response includes the JWT Secret Key used for signing JWT tokens in error message when the `Dispatch Plugin - Basic Authentication Provider` plugin encounters an error when attempting to decode a JWT token. Any Dispatch users who own their instance and rely on the `Dispatch Plugin - Basic Authentication Provider` plugin for authentication may be impacted, allowing for any account to be taken over within their own instance. This could be done by using the secret to sign attacker crafted JWTs. If you think that you may be impacted, we strongly suggest you to rotate the secret stored in the `DISPATCH_JWT_SECRET` envvar in the `.env` file. This issue has been addressed in commit `b1942a4319` which has been included in the `20230817` release. users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- Netflix dispatch: < 20230817; before 20230817

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/Netflix/dispatch/security/advisories/GHSA-fv3x-67q3-6pg7> (exploit, third-party-advisory)
- <https://github.com/Netflix/dispatch/pull/3695> (patch)
- <https://github.com/Netflix/dispatch/commit/b1942a4319f0de820d86b84a58ebc85398b97c70> (patch)
- <https://github.com/Netflix/dispatch/releases/tag/latest> (release-notes)

## Sources

- CVE List: [CVE-2023-40171](https://www.cve.org/CVERecord?id=CVE-2023-40171), CVE Terms of Use, modified 2024-10-07
- NVD: [CVE-2023-40171](https://nvd.nist.gov/vuln/detail/CVE-2023-40171), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40171 · Whole record: https://cve.day/CVE-2023-40171.json · Rebuilt by cve.day 2026-11-25T22:58:27.236Z
