# CVE-2024-39315: Pomerium exposed OAuth2 access and ID tokens in user info endpoint response

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/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.42%, higher than 37% of CVEs (2026-12-01)
- Published: 2024-07-02T20:02:06.120Z
- Modified: 2026-09-10T03:50:16.895Z
- Also known as: GHSA-rrqr-7w59-637v, GO-2024-2965
- Weaknesses: CWE-201
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Pomerium is an identity and context-aware access proxy. Prior to version 0.26.1, the Pomerium user info page (at `/.pomerium`) unintentionally included serialized OAuth2 access and ID tokens from the logged-in user's session. These tokens are not intended to be exposed to end users. This issue may be more severe in the presence of a cross-site scripting vulnerability in an upstream application proxied through Pomerium. If an attacker could insert a malicious script onto a web page proxied through Pomerium, that script could access these tokens by making a request to the `/.pomerium` endpoint. Upstream applications that authenticate only the ID token may be vulnerable to user impersonation using a token obtained in this manner. Note that an OAuth2 access token or ID token by itself is not sufficient to hijack a user's Pomerium session. Upstream applications should not be vulnerable to user impersonation via these tokens provided the application verifies the Pomerium JWT for each request, the connection between Pomerium and the application is secured by mTLS, or the connection between Pomerium and the application is otherwise secured at the network layer. The issue is patched in Pomerium v0.26.1. No known workarounds are available.

(As written by CVE List.)

## Affected

- pomerium pomerium: < 0.26.1; before 0.26.1
- github.com/pomerium/pomerium (Go): before 0.26.1

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/pomerium/pomerium/security/advisories/GHSA-rrqr-7w59-637v> (advisory, vendor-advisory, web)
- <https://github.com/pomerium/pomerium/commit/4c7c4320afb2ced70ba19b46de1ac4383f3daa48> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39315> (advisory)
- <https://github.com/pomerium/pomerium> (package)

## Sources

- CVE List: [CVE-2024-39315](https://www.cve.org/CVERecord?id=CVE-2024-39315), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-rrqr-7w59-637v](https://github.com/advisories/GHSA-rrqr-7w59-637v), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2965](https://pkg.go.dev/vuln/GO-2024-2965), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-39315](https://nvd.nist.gov/vuln/detail/CVE-2024-39315), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39315 · Whole record: https://cve.day/CVE-2024-39315.json · Rebuilt by cve.day 2026-11-25T22:58:42.476Z
