---
id: CVE-2025-12317
title: >-
  When internal roles are removed from a user within the WSO2 product, the
  system fails to invalidate any previously issued authentication tokens
  associated with that user.


  This vulnerability could allow users to retain their previous acc…
summary: >-
  When internal roles are removed from a user within the WSO2 product, the
  system fails to invalidate any previously issued authentication tokens
  associated with that user.


  This vulnerability could allow users to retain their previous acc…
severity: medium
cvss: 5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-613
published: '2026-08-06'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T11:10:00.150'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12317'
references:
  - url: >-
      https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4672/
    label: ed10eef1-636d-4fbe-9993-6890dfa878f8
tags:
  - nvd
ingestedAt: '2026-09-29T11:32:41.217Z'
---

## Overview

When internal roles are removed from a user within the WSO2 product, the system fails to invalidate any previously issued authentication tokens associated with that user.

This vulnerability could allow users to retain their previous access privileges even after their roles have been revoked. As a result, a user can continue to perform unauthorized actions or access restricted resources until the expired tokens naturally expire.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
