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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-88038— Cookie属性注入漏洞

一分钟漏洞结论

影响对象
cookies cookies
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

是一个用于读写 HTTP Cookie 的 Node.js 库,Koa 框架通过 使用了该库。在 0.9.2 版本之前,该库对 Cookie 的名称和值进行验证,使用的字符集会拒绝分号分隔符;然而,对 和 选项的验证仅基于较为宽松的 RFC 7230 field-content 匹配器,该匹配器允许使用分号,且这两个选项会被未经转义地直接写入 响应头中。因此,如果应用程序将不可信或源自请求的数据传入 或 选项,攻击者便可注入额外的 Cookie 属性,从而覆盖应用程序所颁发 Cookie 的 、 、 或 等属性。这

CVSS 4.8 · Medium EPSS 0.16% · P6

影响版本矩阵 2

厂商产品 版本范围状态
cookies cookies < 0.9.2 affected
0.9.2 unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
cookies vulnerable to Set-Cookie attribute injection via unvalidated domain and path options
来源: CVE Program / CVE List V5
Vulnerability Description
cookies is a Node.js library for reading and writing HTTP cookies, used by Koa via ctx.cookies. In versions before 0.9.2 the library validates the cookie name and value against character sets that reject the semicolon separator, but the domain and path options are checked only against a permissive RFC 7230 field-content matcher that allows semicolons, and both are written into the Set-Cookie header unescaped. An application that passes untrusted or request-derived data into the domain or path option can therefore inject additional cookie attributes, overriding SameSite, Secure, HttpOnly, or Domain on the cookies the application issues. This is a Set-Cookie attribute injection issue (CWE-74). The issue is fixed in cookies 0.9.2, which validates domain and path against RFC 6265 character sets. As a workaround, keep domain and path application-set rather than derived from untrusted input.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
cookies cookies 0 ~ 0.9.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-88038

暂无评论


发表评论