Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-29020: @fastify/passport is a port of passport authentication library for the Fastify ecosystem

31
Routine
MEDIUM 6.5UPGRADE

CVE-2023-29020 is a medium-severity flaw (CVSS 6.5) affecting passport. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

@fastify/passport is a port of passport authentication library for the Fastify ecosystem. The CSRF (Cross-Site Request Forger) protection enforced by the `@fastify/csrf-protection` library, when combined with `@fastify/passport` in affected versions, can be bypassed by network and same-site attackers. `fastify/csrf-protection` implements the synchronizer token pattern (using plugins `@fastify/session` and `@fastify/secure-session`) by storing a r

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.4% (top 68%)
CISA exploited listNo
WeaknessCWE-352, CWE-384
Published2023-04-21
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: fastify

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

fastify passport UPGRADE
Affected: < 1.1.0 · >= 2.0.0 and < 2.3.0
Fixed in: 1.1.0, 2.3.0
Safe to downgrade to: a release before 2.0.0
1. Check installed version
npm ls passport
2. UPGRADE to 1.1.0
npm install passport@">=1.1.0"
3. If no update is available yet, DOWNGRADE to a release before 2.0.0
npm view passport versions npm install passport@"<2.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-29020?

passport: upgrade to 1.1.0, 2.3.0. Exact commands for each OS are on this page.

Is CVE-2023-29020 being exploited?

CVE-2023-29020 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-29020 affect?

CVE-2023-29020 affects passport. Severity is medium (CVSS 6.5). @fastify/passport is a port of passport authentication library for the Fastify ecosystem. The CSRF (Cross-Site Request Forger) protection enforced by the `@fastify/csrf-protection` library, when combined with `@fastify/passport` in affected

How urgent is CVE-2023-29020?

Priority 31/100. No elevated risk signals yet.

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.