← All CVEs NewScan detects
medium

CVE-2026-18165

@fastify/oauth2 7.2.0-8.2.0: OAuth state and PKCE verifier live in unprefixed cookies, so anyone who can write a cookie on a related host can log a victim into the ATTACKER's account (login CSRF)

Severity
medium
Affected product
@fastify/oauth2
Affected versions
@fastify/oauth2 ≥ 7.2.0, < 8.3.0
Fixed in
@fastify/oauth2 8.3.0
Detection basis
Component version range
Shipped rule
@fastify/oauth2: @fastify/oauth2 7.2.0-8.2.0: OAuth state and PKCE verifier live in unprefixed cookies, so anyone who can write a cookie on a related host can log a victim into the ATTACKER's account (login CSRF)
Added to NewScan
2026-08-16
Detected by
NewScan — free, self-hosted

How NewScan reports it

COMPONENT VERSION RANGE

NewScan fingerprints @fastify/oauth2 from its response and reports this CVE when the detected version falls inside the affected range below.

References

Scan for this yourself — local, in-band scanning is free.

Get NewScan (FREE) →

Review the measured benchmark, then use the verified remediation process.