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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-126084— Active Storage GCS 直接上传缓存控制未签名漏洞

一分钟漏洞结论

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

Active Storage 简化了将文件上传至云服务、引用这些文件以及将它们附加到 Active Record 对象的操作。在 8.1.4.1 和 8.0.5.2 版本之前,当 GCS(Google Cloud Storage)服务配置了 选项时, 方法会使用 V4 签名来生成直接上传的 URL。然而,该 V4 签名仅覆盖 和 请求头。因此,直接上传客户端可以自行指定任意 ,并省略声明的 ,而不会导致 URL 签名失效。 GCS 会将客户端提供的 作为对象元数据存储,该元数据在优先级上高于 Active Stor

CVSS 4.7 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Active Storage: Unsigned Content-Type in Active Storage GCS direct uploads with cache_control
来源: CVE Program / CVE List V5
Vulnerability Description
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, when a GCS service is configured with the cache_control option, ActiveStorage::Service::GCSService#url_for_direct_upload signs direct-upload URLs with V4, and the V4 signature covers only the Cache-Control and Host headers. A direct-upload client can therefore send a Content-Type of its choosing, and can omit the declared Content-MD5, without invalidating the URL. GCS stores the supplied content type as object metadata, which takes precedence over the response-content-type that Active Storage sets on download URLs, so an uploaded object could be served as inline HTML under the application's bucket path on storage.googleapis.com. Script in such an object runs on the storage origin rather than the application's, but could register a Service Worker scoped to the bucket path and read or replace a victim's later responses for signed URLs in that bucket. Applications that use the GCS service with cache_control configured and accept direct uploads are affected. GCS services without cache_control sign with V2 and are not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对数据真实性的验证不充分
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
rails rails >= 8.1, < 8.1.4.1 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

请登录查看更多情报信息。

CVE-2026-126084 厂商页面 (1)

CVE-2026-126084 其他参考 (3)

同批安全公告 · rails · 2026-11-10 · 共 21 条

CVE-2026-126082 9.8 CRITICAL Active Storage 任意文件读写漏洞
CVE-2026-126186 8.8 HIGH Active Storage 远程代码执行及文件读取漏洞
CVE-2026-126081 7.5 HIGH Action Pack 强参数绕过漏洞
CVE-2026-126080 7.5 HIGH Active Support safe_constantize 拒绝服务漏洞
CVE-2026-126077 6.8 MEDIUM Action Pack Active Storage 代理模式敏感会话信息泄露
CVE-2026-126079 6.1 MEDIUM Action View 文本助手跨站脚本漏洞
CVE-2026-126070 6.1 MEDIUM Action View strip_tags 跨站脚本漏洞
CVE-2026-126078 6.1 MEDIUM Action View 高亮辅助跨站脚本漏洞
CVE-2026-126072 5.9 MEDIUM Action Pack 直播流拒绝服务漏洞
CVE-2026-126071 5.3 MEDIUM Active Storage 代理模式流式传输拒绝服务漏洞
CVE-2026-126085 5.3 MEDIUM Active Storage 直接上传 Google Cloud 时绕过文件大小限制
CVE-2026-126073 4.8 MEDIUM Action Pack 内容协商缓存投毒漏洞
CVE-2026-126069 4.7 MEDIUM Action View 标签辅助功能跨站脚本漏洞
CVE-2026-126075 4.7 MEDIUM Active Support MessagePack 反序列化跨站脚本漏洞
CVE-2026-126074 4.3 MEDIUM Active Storage 文件名处理拒绝服务漏洞
CVE-2026-126076 4.2 MEDIUM Action Pack 会话恢复漏洞
CVE-2026-126068 3.7 LOW Action Mailbox Mailgun 入口签名重放漏洞
CVE-2026-126188 3.7 LOW Active Storage 视频预览与分析本地文件泄露漏洞
CVE-2026-126067 3.1 LOW Action Pack 会话 Cookie 缺失 SameSite 属性漏洞
CVE-2026-126083 Action Pack 远程 IP 伪造漏洞

IV. Related Vulnerabilities