目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-18165— @fastify/oauth2 登录CSRF漏洞

CVSS 4.2 · Medium

可能的 ATT&CK 技术 1AI

T1566.001 · Spearphishing Attachment
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-18165 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
@fastify/oauth2 vulnerable to Login CSRF via plantable OAuth state cookies
来源: CVE Program / CVE List V5
Vulnerability Description
@fastify/oauth2 is an OAuth 2.0 plugin for Fastify. In versions from 7.2.0 up to but not including 8.3.0, the plugin validates the OAuth state, and with PKCE the code verifier, by comparing the callback query parameter against an unprefixed, predictable cookie, with no server-side binding to the browser that began the flow. Any party able to write a cookie for the application's host, such as a sibling subdomain under the same registrable domain, can plant matching state and verifier cookies and complete an attacker-owned OAuth flow inside a victim's browser, silently signing the victim in to the attacker's account (login CSRF). It does not expose the victim's own account, credentials, or tokens. The issue is fixed in @fastify/oauth2 8.3.0, which adds an opt-in hostPrefixedCookies option. Users should upgrade to 8.3.0 and enable it, or bind state to a server-side session.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
跨站请求伪造(CSRF)
来源: CVE Program / CVE List V5

受影响产品

厂商产品影响版本CPE订阅
@fastify/oauth2@fastify/oauth2 7.2.0 ~ 8.3.0 -

二、漏洞 CVE-2026-18165 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-18165 的情报信息

登录查看更多情报信息。

CVE-2026-18165 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-18165

暂无评论


发表评论