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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-126085— Active Storage 直接上传 Google Cloud 时绕过文件大小限制

一分钟漏洞结论

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

Active Storage 简化了在云服务中上传和引用文件,并将这些文件附加到 Active Record 对象的操作。在版本 8.1.4.1 和 8.0.5.2 之前, 方法未将声明的内容长度绑定到签名的直接上传 URL 中,且 方法未返回任何长度限制,导致该 URL 授权上传任意大小的请求体。直接上传客户端可以存储一个大于其声明字节数(byte_size)的文件,而最终生成的 blob 仍保留声明的大小,从而可能绕过应用程序的文件大小验证和配额限制。此弱点与 CVE-2020-8162 在 S3 服务中修复的

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

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

漏洞信息

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

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

Vulnerability Title
Active Storage: Possible circumvention of file size limits in Active Storage direct uploads to Google Cloud Storage
来源: 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, ActiveStorage::Service::GCSService#url_for_direct_upload does not bind the declared content length into the signed direct-upload URL, and #headers_for_direct_upload returns no length constraint, so the URL authorizes an upload body of any size. A direct-upload client could store a file larger than the byte_size it declared, and the resulting blob keeps the declared size, possibly bypassing application file size validations and quotas. This is the weakness that CVE-2020-8162 fixed in the S3 service. Applications that store files in Google Cloud Storage and accept direct uploads are 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:L/PR:N/UI:N/S:U/C:N/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-126085 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

CVE-2026-126085 其他参考 (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-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-126084 4.7 MEDIUM Active Storage GCS 直接上传缓存控制未签名漏洞
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