Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2023-29019
fastify passport

Score8.1 High
CVSS 3.1
Exploit probability (EPSS)0.95%
within the next 30 days
CategoryAuthentication & session
Published21 April 2023
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data, modifying data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

@fastify/passport is a port of passport authentication library for the Fastify ecosystem. Applications using `@fastify/passport` in affected versions for user authentication, in combination with `@fastify/session` as the underlying session management mechanism, are vulnerable to session fixation attacks from network and same-site attackers. fastify applications rely on the `@fastify/passport` library for user authentication. The login and user validation are performed by the `authenticate` function. When executing this function, the `sessionId` is preserved between the pre-login and the authenticated session. Network and same-site attackers can hijack the victim's session by tossing a valid `sessionId` cookie in the victim's browser and waiting for the victim to log in on the website. As a solution, newer versions of `@fastify/passport` regenerate `sessionId` upon login, preventing the attacker-controlled pre-session cookie from being upgraded to an authenticated session. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Weakness: CWE-384

Affected products

VendorProductVersions
fastifypassport<1.1.0
fastifypassport>=2.0.0 <2.3.0

Sources

Latest in the same category

  • CVE-2026-128967 High 7
    The ldap-auth and ldap-auth-advanced plugins in Kong Gateway Enterprise and Kong AI Gateway key their credential cache without the TLS settings, allowing a man-in-the-middle attacker to have credentials validated…
    Authentication & session · 30 November 2026
  • CVE-2026-139818 Medium 5.3
    A weakness has been identified in vllm-project vLLM up to 0.34.0. The impacted element is the function ProcessorInputs.get_mm_hashes of the file vllm/multimodal/processing/inputs.py of the component Multimodal…
    Authentication & session · 30 November 2026
  • CVE-2026-138670 Critical 9.3
    A weakness has been identified in TOTOLINK X6000R up to 9.4.0cu.1458_B20250708. The impacted element is the function setStaticDhcpRules/arp_bind of the file /usr/sbin/shttpd. Executing a manipulation of the argument ip…
    Authentication & session · 30 November 2026
  • CVE-2026-137179 Critical 9.1
    arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Prior to 3.3.12 and in 4.0.0-alpha1, WebServer::authenticate(const char *username, const char…
    Authentication & session · 30 November 2026
  • CVE-2026-137030 Medium 4.2
    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and…
    Authentication & session · 30 November 2026
  • CVE-2026-137029 Low 3.7
    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, Enclave OS Mini's FIDO2 clone-detection…
    Authentication & session · 30 November 2026