Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions

Summary

CVECVE-2025-12627
StatePUBLISHED
AssignerWSO2
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-06 08:16:28 UTC
Updated2026-08-06 15:31:57 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 2.4 LOW from ed10eef1-636d-4fbe-9993-6890dfa878f8

CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N

EPSS: 0.001300000 probability, percentile 0.029840000 (date 2026-08-08)

Problem Types: CWE-613 | CWE-613 CWE-613: Insufficient Session Expiration


VersionSourceTypeScoreSeverityVector
3.1ed10eef1-636d-4fbe-9993-6890dfa878f8Secondary2.4LOWCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
3.1CNACVSS2.4LOWCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA WSO2 WSO2 Identity Server affected 7.0.0 7.0.0.130 custom Not specified
CNA WSO2 WSO2 Identity Server affected 7.1.0 7.1.0.38 custom Not specified
CNA WSO2 WSO2 Carbon OAuth affected 7.0.26 7.0.26.83 custom Not specified
CNA WSO2 WSO2 Carbon OAuth affected 7.0.259 7.0.259.31 custom Not specified
CNA WSO2 WSO2 Carbon OAuth unaffected x * custom Not specified

References

ReferenceSourceLinkTags
security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO... ed10eef1-636d-4fbe-9993-6890dfa878f8 security.docs.wso2.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

Solutions

CNA: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4619/#solution

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report