Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise or abuse high-privilege WSO2 admin account
-
DeliveryInitiate user impersonation via Identity Server
-
ExploitAcquire impersonated user's access token and refresh token
-
InstallWait for impersonation session to expire or be terminated
-
C2Submit refresh token to OAuth token endpoint
-
ExecuteObtain new access token for impersonated user
-
ImpactPerform unauthorized actions attributed to victim in audit logs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | The WSO2 Identity Server user impersonation feature must be enabled and the attacker must hold high-privilege credentials sufficient to initiate an impersonation session (PR:H). The attacker must operate from an adjacent network segment (AV:A) - internet-based remote exploitation is not supported by the CVSS vector. Crucially, the attacker must have already successfully initiated an impersonation session and obtained the resulting access token; the vulnerability is in what happens after that token expires, not in the impersonation initiation itself. Factors limiting exploitation: the high privilege bar for impersonation blocks low-privilege or unauthenticated attackers entirely; adjacent network access excludes internet-scale opportunistic exploitation; and impact is confined to integrity and audit log corruption with no confidentiality or availability consequence, limiting usefulness to actors seeking attribution evasion rather than data theft. |
| Impact | The vendor-assigned CVSS base score of 2.4 (AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N) accurately constrains real-world risk. Two hard prerequisites block broad exploitation: the attacker must operate from an adjacent network segment (AV:A, ruling out internet-scale attacks) and must already hold high-privilege credentials sufficient to invoke the impersonation feature (PR:H). The impact is limited to integrity (I:L) with no confidentiality or availability consequence, reflecting audit log corruption rather than data exfiltration or service disruption. No EPSS score was provided in the input, and the CVE is not listed in the CISA KEV catalog. No public exploit code has been identified. The practical threat model is narrow: a malicious insider, a compromised administrator account, or a red-team actor who has already escalated to admin-level access. For organizations relying on WSO2 impersonation audit trails for regulatory compliance or incident response forensics, the integrity and traceability impact carries disproportionate operational significance relative to the low numeric CVSS score. |
| Exploit ScenarioDerived | A malicious administrator or attacker who has compromised an admin account on an adjacent network segment invokes WSO2 Identity Server's impersonation feature to obtain an access token for a target user. When the impersonation session is intended to conclude - whether by timeout or manual termination - the attacker retains the associated refresh token and submits it against the OAuth token endpoint to obtain a fresh access token, silently extending unauthorized access. All subsequent actions performed against WSO2-protected resources appear in audit logs under the victim's identity, with no record linking them to the true actor or the original impersonation event. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Insufficient refresh token invalidation in WSO2 Identity Server's user impersonation flow allows a privileged attacker who has already obtained an impersonated access token to silently renew that authorization via the OAuth refresh token grant, sustaining unauthorized access well beyond the intended session lifetime. The integrity impact is two-fold: the attacker continues performing actions on behalf of the legitimate user, and audit logs attribute those actions to the victim identity rather than the true actor, corrupting traceability and compliance posture. No public exploit is identified and exploitation is bounded by high privilege prerequisites (PR:H) and adjacent network access (AV:A), placing realistic risk firmly in insider-threat and compromised-administrator scenarios.
RemediationAI
Patch available per vendor advisory - consult the WSO2 security advisory WSO2-2025-4619 at https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4619/ for specific patched versions and upgrade procedures, as exact fixed version numbers are not independently confirmable from available CPE data. Pending patch application, administrators should configure the shortest operationally acceptable refresh token lifetime for impersonation sessions within WSO2 Identity Server's OAuth settings, reducing the window during which a stale refresh token can be leveraged. Enabling active token revocation on impersonation session termination - if configurable in the deployed version - closes the gap directly. Audit logging for refresh token grant requests should be enhanced to flag token renewals originating from impersonation-scoped sessions, enabling detection of exploitation attempts. The impersonation feature itself should be restricted to the minimum required set of administrators, reducing the blast radius of a compromised privileged account.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WSO2 Identity Server is an enterprise identity and access management platform implementing OAuth 2.0 token flows, including a user impersonation capability that allows privileged administrators to act on behalf of other users. The affected component is WSO2 Carbon OAuth (cpe:2.3:a:wso2:wso2_carbon_oauth), the underlying OAuth 2.0 engine embedded in WSO2 Identity Server (cpe:2.3:a:wso2:wso2_identity_server). CWE-613 (Insufficient Session Expiration) identifies the root cause: when an impersonated access token expires or the impersonation session is administratively terminated, the refresh tokens bound to that impersonation context are not properly scoped or invalidated. This allows the attacker to submit a standard OAuth refresh token grant request - an operation not typically audited with the same scrutiny as impersonation initiation - to silently obtain new access tokens and perpetuate the impersonated session without detection.
Know when Wso2 Identity Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
High privileges required to invoke impersonation (PR:H); adjacent vector reflects admin session context; integrity-only impact captures audit corruption with no data disclosure.
Primary rating from Vendor (WSO2).
CVSS VectorVendor: WSO2
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Wso2 Identity Server
View allAuthentication bypass in WSO2 Identity Server and multiple WSO2 platform products (API Manager, Open Banking AM/IAM/KM,
Memory exhaustion denial-of-service in WSO2 Identity Server's Magic Link authenticator allows remote unauthenticated att
OS command injection (CWE-78) in WSO2's shared Carbon Console administrative interface allows an authenticated administr
Server-side request forgery in WSO2 API Manager and related WSO2 products lets a remote attacker direct the server to ar
The SCIM provisioning endpoints in WSO2 Identity Server, Identity Server as Key Manager, and Open Banking IAM fail to di
The XML parsers within multiple WSO2 products accept user-supplied XML data without properly configuring to prevent the
OAuth token revocation in WSO2 Identity Server fails to invalidate access and refresh tokens for accounts whose username
Account-lockout bypass in WSO2 Identity Server (6.0.0, 6.1.0, 7.0.0, 7.1.0) and the Carbon MagicLink Authenticator Modul
Adaptive authentication flows in WSO2 Identity Server 7.1.0 (up to 7.1.0.26) and the Conditional Authentication User and
WSO2 Carbon OAuth, as shipped in WSO2 Identity Server, API Manager, and related WSO2 products, can leave session-bound t
Reflected cross-site scripting across at least eight WSO2 platform products - including Identity Server, API Manager, AP
Reflected cross-site scripting in WSO2 Identity Server's authentication endpoint allows remote unauthenticated attackers
EUVD-2025-210629
GHSA-8j24-697m-8w28
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB