Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2023-29020

22
FAUCET Score

CVE-2023-29020 is a Cross-Site Request Forgery (CSRF) bypass vulnerability affecting @fastify/passport when used with @fastify/csrf-protection. The flaw allows network and same-site attackers to obtain a valid CSRF token from a pre-login session, fixate that session, and then execute CSRF attacks after the victim authenticates due to the session object not being cleared upon login. Rated as MEDIUM severity with a CVSS score of 6.5, this vulnerability has a network attack vector, low attack complexity, and high impact on integrity, requiring user interaction. The primary cause is improper session management, specifically the preservation of the _csrf attribute between pre-login and authenticated sessions. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE. Organizations are advised to update @fastify/passport to versions that include the clearSessionOnLogin configuration option to mitigate this risk.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.1.0CPE matchmatch criteria
cpe:2.3:a:fastify:passport:*:*:*:*:*:node.js:*:*
>= 2.0.0, < 2.3.0CPE matchmatch criteria
cpe:2.3:a:fastify:passport:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

6.5MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
3.6
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.38%
Probability of exploitation in next 30 days
EPSS Percentile
31.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0038 is in the 32nd percentile among its peer group of 26,221 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: @fastify/passportFixed in: 1.1.0
npmpatch availablevia ghsa
Product: @fastify/passportFixed in: 2.3.0

Vendor Advisories (1)

npmGHSA-2ccf-ffrj-m4qwmedium

CSRF token fixation in fastify-passport

Apr 21, 2023

References

cheatsheetseries.owasp.org / cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html
Technical Description
github.com / fastify/fastify-passport/commit/07c90feab9cba0dd4779e47cfb0717a7e2f01d3d
Patch
github.com / fastify/fastify-passport/security/advisories/GHSA-2ccf-ffrj-m4qw
Vendor Advisory
owasp.org / www-community/attacks/csrf
Technical Description