# CVE-2020-15222: Replay of private_key_jwt possible in ORY Fosite

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.87%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-24T16:15:52.000Z
- Modified: 2026-07-08T06:29:01.430Z
- Also known as: GHSA-v3q9-2p3m-7g43, GO-2021-0110
- Weaknesses: CWE-287, CWE-345
- Assigned by: GitHub_M

## Description

In ORY Fosite (the security first OAuth2 & OpenID Connect framework for Go) before version 0.31.0, when using "private_key_jwt" authentication the uniqueness of the `jti` value is not checked. When using client authentication method "private_key_jwt", OpenId specification says the following about assertion `jti`: "A unique identifier for the token, which can be used to prevent reuse of the token. These tokens MUST only be used once, unless conditions for reuse were negotiated between the parties". Hydra does not seem to check the uniqueness of this `jti` value. This problem is fixed in version 0.31.0.

(As written by CVE List.)

## Affected

- ory fosite: < 0.31.0; before 0.31.0
- github.com/ory/fosite (Go): before 0.31.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/ory/fosite/security/advisories/GHSA-v3q9-2p3m-7g43> (exploit, third-party-advisory, web)
- <https://github.com/ory/fosite/commit/0c9e0f6d654913ad57c507dd9a36631e1858a3e9> (fix, patch, third-party-advisory, web)
- <https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15222> (advisory)
- <https://github.com/ory/fosite> (package)
- <https://github.com/ory/fosite/releases/tag/v0.31.0> (web)
- <https://pkg.go.dev/vuln/GO-2021-0110> (web)

## Sources

- CVE List: [CVE-2020-15222](https://www.cve.org/CVERecord?id=CVE-2020-15222), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-v3q9-2p3m-7g43](https://github.com/advisories/GHSA-v3q9-2p3m-7g43), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2021-0110](https://pkg.go.dev/vuln/GO-2021-0110), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2020-15222](https://nvd.nist.gov/vuln/detail/CVE-2020-15222), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15222 · Whole record: https://cve.day/CVE-2020-15222.json · Rebuilt by cve.day 2026-11-25T22:57:54.890Z
