{"@ID": "1465", "@Name": "Improper Session Invalidation after User Logout", "@Abstraction": "Variant", "@Structure": "Simple", "@Status": "Incomplete", "Description": "The product provides a logout functionality or otherwise attempts to end an active session for a user, but it does not properly invalidate the session upon logout.", "Related_Weaknesses": {"Related_Weakness": {"@Nature": "ChildOf", "@CWE_ID": "1464", "@View_ID": "1000", "@Ordinal": "Primary"}}, "Applicable_Platforms": {"Language": {"@Class": "Not Language-Specific", "@Prevalence": "Undetermined"}, "Operating_System": {"@Class": "Not OS-Specific", "@Prevalence": "Undetermined"}, "Architecture": {"@Class": "Not Architecture-Specific", "@Prevalence": "Undetermined"}, "Technology": [{"@Class": "Client Server", "@Prevalence": "Undetermined"}, {"@Class": "Web Based", "@Prevalence": "Undetermined"}]}, "Modes_Of_Introduction": {"Introduction": [{"Phase": "Architecture and Design"}, {"Phase": "Implementation"}]}, "Common_Consequences": {"Consequence": {"Scope": "Authentication", "Impact": "Gain Privileges or Assume Identity", "Note": "Failure to invalidate a session on log out allows an adversary who has compromised the session more time to take action on the compromised session than is necessary."}}, "Potential_Mitigations": {"Mitigation": {"Phase": "Implementation", "Description": "Ensure that user sessions are invalidated on the server-side after a client logs out or attempts to end their session. It is important that the server-side handles all session invalidation \u2013 including multiple tabs or windows, such as within a web browser - and does not rely on the client to remove or delete a session due to the possibility of adversaries capturing session identifiers or cookies for later reuse."}}, "Observed_Examples": {"Observed_Example": [{"Reference": "CVE-2026-105690", "Description": "Chain: auth-token was cleared on the browser after logout (CWE-602), but not revoked on the server-side (CWE-1465)", "Link": "https://www.cve.org/CVERecord?id=CVE-2026-105690"}, {"Reference": "CVE-2019-12421", "Description": "Chain: log out invalidated the session on the client side (CWE-602), but not the server side (CWE-1465)", "Link": "https://www.cve.org/CVERecord?id=CVE-2019-12421"}]}, "References": {"Reference": {"@External_Reference_ID": "REF-1561"}}, "Mapping_Notes": {"Usage": "Allowed", "Rationale": "This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.", "Comments": "Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.", "Reasons": {"Reason": {"@Type": "Acceptable-Use"}}}, "Notes": {"Note": {"@Type": "Maintenance", "@Version": "5.0", "@ReleaseDate": "2026-10-28", "#text": "This entry was created in CWE 5.0 to address known gaps in CWE coverage. It is not as complete as other new entries that were published in recent years. The CWE Team plans to work with the CWE community to make this entry more complete in later 5.x releases."}}, "Content_History": {"Submission": {"Submission_Name": "CWE Content Team", "Submission_Organization": "MITRE", "Submission_Date": "2026-10-23", "Submission_Version": "5.0", "Submission_ReleaseDate": "2026-10-28"}, "Contribution": {"@Type": "Content", "Contribution_Name": "Michal Biesiada", "Contribution_Date": "2023-02-20", "Contribution_Version": "5.0", "Contribution_ReleaseDate": "2026-10-28", "Contribution_Comment": "Suggested content related to a user not logged\n\t\t  out from all tabs when logging out of a single tab.  The submission\n\t\t  inspired this CWE and added additional content."}}, "entry_type": "Weakness"}
