CVE-2025-12627: CWE-613: Insufficient Session Expiration in WSO2 WSO2 Identity Server
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.
AI Analysis
Technical Summary
The vulnerability CVE-2025-12627 in WSO2 Identity Server affects versions 7.0.0 and 7.1.0. It involves insufficient session expiration in the user impersonation flow, specifically the failure to properly manage refresh tokens associated with impersonated sessions. An attacker who obtains an access token for an impersonated user can exploit the refresh token grant to obtain new access tokens, thereby extending their ability to act as the legitimate user beyond the intended session duration. This undermines log integrity and traceability by obscuring the true actor behind actions performed during the impersonated session. The CVSS v3.1 base score is 2.4, indicating low severity with attack vector as adjacent network, low complexity, high privileges required, no user interaction, unchanged scope, no confidentiality or availability impact, and low integrity impact. There is no vendor advisory or patch information available at this time.
Potential Impact
The vulnerability allows an attacker with access to an impersonated user's access token to renew their authorization indefinitely by leveraging the refresh token grant. This extends the attacker's ability to perform actions on behalf of the legitimate user, potentially compromising the integrity of logs and audit trails by masking the true actor. There is no direct impact on confidentiality or availability reported. The overall impact is limited to integrity concerns related to session management and traceability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, organizations should monitor for unusual token refresh activity related to impersonated sessions and consider restricting the use of impersonation features to trusted administrators. No official remediation or temporary fix has been published by the vendor at this time.
CVE-2025-12627: CWE-613: Insufficient Session Expiration in WSO2 WSO2 Identity Server
Description
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.
CVSS v3.1
Score 2.4low
Affected software
pkg:maven/org.wso2.identity.server/wso2-identity-serverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2025-12627 in WSO2 Identity Server affects versions 7.0.0 and 7.1.0. It involves insufficient session expiration in the user impersonation flow, specifically the failure to properly manage refresh tokens associated with impersonated sessions. An attacker who obtains an access token for an impersonated user can exploit the refresh token grant to obtain new access tokens, thereby extending their ability to act as the legitimate user beyond the intended session duration. This undermines log integrity and traceability by obscuring the true actor behind actions performed during the impersonated session. The CVSS v3.1 base score is 2.4, indicating low severity with attack vector as adjacent network, low complexity, high privileges required, no user interaction, unchanged scope, no confidentiality or availability impact, and low integrity impact. There is no vendor advisory or patch information available at this time.
Potential Impact
The vulnerability allows an attacker with access to an impersonated user's access token to renew their authorization indefinitely by leveraging the refresh token grant. This extends the attacker's ability to perform actions on behalf of the legitimate user, potentially compromising the integrity of logs and audit trails by masking the true actor. There is no direct impact on confidentiality or availability reported. The overall impact is limited to integrity concerns related to session management and traceability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, organizations should monitor for unusual token refresh activity related to impersonated sessions and consider restricting the use of impersonation features to trusted administrators. No official remediation or temporary fix has been published by the vendor at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WSO2
- Date Reserved
- 2025-11-03T08:28:21.947Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7441c2bf8831d53967ebaf
Added to database: 08/06/2026, 08:11:46 UTC
Last enriched: 08/06/2026, 08:29:42 UTC
Last updated: 08/07/2026, 02:12:19 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.