{"schemaVersion":3,"id":"CVE-2025-12627","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.\n\nAn 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.","dates":{"published":"2026-08-06T07:33:12.382Z","modified":"2026-08-06T12:33:46.393Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.4,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.4,"severity":"low","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.4,"severity":"low","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00204,"percentile":0.09838,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.07400000000000002,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0013},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00204,"percentile":0.09838}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00204,"percentile":0.09838}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-613","name":"Insufficient Session Expiration","description":"According to WASC, \"Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.\"","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/613.html"}],"affected":[{"vendor":"wso2","product":"identity_server","name":"identity server","label":"identity_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.0.130","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.1.0, < 7.1.0.38","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.0.130 | ≥ 7.1.0, < 7.1.0.38","eol":null,"hubHref":"/vendor/wso2/identity_server"},{"vendor":"wso2","product":"wso2 carbon oauth","name":"WSO2 Carbon OAuth","label":"wso2 carbon oauth","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.26, < 7.0.26.83","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.259, < 7.0.259.31","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.26, < 7.0.26.83 | ≥ 7.0.259, < 7.0.259.31","eol":null,"hubHref":"/vendor/wso2/wso2_carbon_oauth"},{"vendor":"wso2","product":"wso2 identity server","name":"WSO2 Identity Server","label":"wso2 identity server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.0.130","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.1.0, < 7.1.0.38","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.0.130 | ≥ 7.1.0, < 7.1.0.38","eol":null,"hubHref":"/vendor/wso2/wso2_identity_server"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4619/","label":"security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4619/","hostname":"security.docs.wso2.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-06T07:33:12.382Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-06T12:33:46.393Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":10,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:33:44.754Z","stale":false,"partial":false}}