CWEweakness

CWE-384 Session Fixation

Official page ↗
Abstraction
Compound
Structure
Composite
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.

Extended description

Such a scenario is commonly observed when: • A web application authenticates a user without first invalidating the existing session, thereby continuing to use the session already associated with the user. • An attacker is able to force a known session identifier on a user so that, once the user authenticates, the attacker has access to the authenticated session. • The application or container uses predictable session identifiers. In the generic exploit of session fixation vulnerabilities, an attacker creates a new session on a web application and records the associated session identifier. The attacker then causes the victim to associate, and possibly authenticate, against the server using that session identifier, giving the attacker access to the user's account through the active session.

Common consequences

• Access Control: Gain Privileges or Assume Identity

Potential mitigations

• [Architecture and Design] Invalidate any existing session identifiers prior to authorizing a new user session. • [Architecture and Design] For platforms such as ASP that do not generate new values for sessionid cookies, utilize a secondary cookie. In this approach, set a secondary cookie on the user's browser to a random value and set a session variable to the same value. If the session variable and the cookie value ever don't match, invalidate the session, and force the user to log on again. • [Operation] Use an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481].

Observed examples

• CVE-2022-2820: Website software for game servers does not properly terminate user sessions, allowing for possible session fixation

Related

Attack pattern · CAPEC (7)

  • CAPEC-196 Session Credential Falsification through Forging attack pattern
  • CAPEC-21 Exploitation of Trusted Identifiers attack pattern
  • CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies attack pattern
  • CAPEC-39 Manipulating Opaque Client-based Data Tokens attack pattern
  • CAPEC-59 Session Credential Falsification through Prediction attack pattern
  • CAPEC-60 Reusing Session IDs (aka Session Replay) attack pattern
  • CAPEC-61 Session Fixation attack pattern

Observed example · CVE (1)

  • CVE-2022-2820 Session Fixation in GitHub repository namelessmc/nameless prior to v2.0.2. vulnerability

Child of · CWE (2)

  • CWE-1462 Improper Session Management weakness
  • CWE-610 Externally Controlled Reference to a Resource in Another Sphere weakness

Requires · CWE (3)

  • CWE-346 Origin Validation Error weakness
  • CWE-441 Unintended Proxy or Intermediary weakness
  • CWE-472 External Control of Assumed-Immutable Web Parameter weakness

Referenced by CAPEC · weakness (7)

  • CAPEC-196 Session Credential Falsification through Forging attack pattern
  • CAPEC-21 Exploitation of Trusted Identifiers attack pattern
  • CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies attack pattern
  • CAPEC-39 Manipulating Opaque Client-based Data Tokens attack pattern
  • CAPEC-59 Session Credential Falsification through Prediction attack pattern
  • CAPEC-60 Reusing Session IDs (aka Session Replay) attack pattern
  • CAPEC-61 Session Fixation attack pattern

Referenced by CVE · weakness (456)

  • CVE-2026-115910 Python Social Auth is a social authentication and registration mechanism. vulnerability
  • CVE-2026-49410 OpenHuman is an open-source agent harness available as a desktop application and Rust library. vulnerability
  • CVE-2026-107421 Session Fixation vulnerability in VideoWhisper.com Broadcast Live Video videowhisper-live-streaming-integration allows Session… vulnerability
  • CVE-2026-55682 WeGIA is a web manager for charitable institutions. vulnerability
  • CVE-2024-34324 An issue in ProPhoenix Law RMS v2022.2403.3.101 allows attackers to execute a session hijacking attack via injecting a crafted 24-character… vulnerability
  • CVE-2026-63161 Omnispace Agora Project before 26.10.0 contains a session fixation vulnerability that allows remote attackers to hijack authenticated… vulnerability
  • CVE-2026-93909 IBM WebSphere Application Server - Liberty 17.0.0.3 through 26.0.0.10 is vulnerable by an authentication bypass vulnerability when… vulnerability
  • CVE-2026-107226 The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. vulnerability
  • CVE-2026-107229 The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. vulnerability
  • CVE-2026-92414 : Session Fixation / Session Reuse across Users vulnerability in Apache Jackrabbit. vulnerability
  • CVE-2026-105233 A vulnerability has been found in kishor-23 food-waste-management-system… vulnerability
  • CVE-2026-104469 YesWiki before 4.6.7 contains a session fixation vulnerability that allows attackers to hijack authenticated sessions because login does… vulnerability
  • CVE-2026-102489 Zammad versions 6.3.0 to 6.5.4 are vulnerable a session hijack vulnerability that leads to remote code execution as the zammad user. vulnerability
  • CVE-2026-101268 If an attacker is able to convince a victim on a specially crafted link, the victim is logged in to the attacker's customer account. vulnerability
  • CVE-2026-71302 The application accepts user-supplied session identifiers and does not regenerate the session ID after authentication. vulnerability
  • CVE-2026-92609 Session fixation in HTTP management authentication allows remote attackers to gain unauthorized access to an authenticated management… vulnerability
  • CVE-2026-57179 Python Social Auth is a social authentication/registration mechanism. vulnerability
  • CVE-2026-79312 webpy web.py 0.76 is vulnerable to Session Fixation. vulnerability
  • CVE-2026-95828 A vulnerability was determined in Mstfakts College-Management-System. vulnerability
  • CVE-2026-61687 Hatchet is a platform for orchestrating background tasks, AI agents, and durable workflows at scale. vulnerability
  • CVE-2026-82355 When a request to the Airflow core API carries both a session cookie and an explicit `Authorization: Bearer` token, Airflow resolves the… vulnerability
  • CVE-2026-81181 SysReptor is a fully customizable pentest reporting platform. vulnerability
  • CVE-2026-77614 Opencast is a free, open-source platform to support the management of educational audio and video content. vulnerability
  • CVE-2026-78428 For users authenticated through SAML or OpenID Connect (OIDC), this vulnerability can result in one user receiving another user's… vulnerability
  • CVE-2026-86688 Session Fixation vulnerability in team-alembic ash_authentication allows an attacker who can plant a session identifier in a victim's… vulnerability
  • CVE-2026-92984 HUBzero CMS through 2.2.32 accepts session identifiers from query strings and request variables instead of cookies alone, allowing… vulnerability
  • CVE-2026-61592 djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. vulnerability
  • CVE-2026-1758 Session fixation vulnerability in Secomea GateManager (webserver module) allows Session Fixation. vulnerability
  • CVE-2026-69214 Http4s is a Scala interface for HTTP services. vulnerability
  • CVE-2026-64857 tirreno, a security framework, has a session fixation issue in versions prior to 0.10.0. vulnerability
Show all 456 ›

Referenced by CWE · can precede (1)

  • CWE-340 Generation of Predictable Numbers or Identifiers weakness

Referenced by OWASP · mapped cwe (2)

  • A07:2025 Authentication Failures Top 10 2025
  • A07:2021 Identification and Authentication Failures Top 10 2021