# CVE-2025-12627: Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions

- Priority: **Routine**
- Reason: Not severe (CVSS 2.4, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-06 · Modified: 2026-08-06
- Record: https://cvemate.com/vulnerability/CVE-2025-12627 · JSON: https://cvemate.com/vulnerability/CVE-2025-12627/json

## Description

```text
The user impersonation flow in WSO2 Identity Server fails to properly manage refresh tokens associated with impersonated sessions. This allows an attacker who has obtained an access token for an impersonated user to leverage the refresh token grant to obtain new access tokens, extending their ability to act as the legitimate user.

An attacker who gains access to an impersonated user's access token can exploit this weakness to renew their authorization. This results in the continued ability to perform actions on behalf of the actual user, compromising log integrity and traceability by masking the true actor.
```

## Signals

- CVSS: 2.4 low (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.13%, percentile 2.786%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- wso2 identity\_server: ≥ 7.0.0, \< 7.0.0.130 \| ≥ 7.1.0, \< 7.1.0.38
- wso2 wso2 carbon oauth: ≥ 7.0.26, \< 7.0.26.83 \| ≥ 7.0.259, \< 7.0.259.31
- wso2 wso2 identity server: ≥ 7.0.0, \< 7.0.0.130 \| ≥ 7.1.0, \< 7.1.0.38

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4619/>

---

Data as of 2026-12-05T12:51:01.537Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
