Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-33173— Rails Active Storage has possible content type bypass via metadata in direct uploads

EPSS 0.01% · P3
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-33173

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Rails Active Storage has possible content type bypass via metadata in direct uploads
Source: NVD (National Vulnerability Database)
Vulnerability Description
Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
CWE-925
Source: NVD (National Vulnerability Database)
Vulnerability Title
Rails 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Rails是美国Rails团队的一套基于Ruby语言的开源Web应用框架。 Rails 8.1.2.1之前版本、8.0.4.1之前版本和7.2.3.1之前版本存在安全漏洞,该漏洞源于接受并持久化客户端任意元数据,可能导致绕过内容类型验证。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
railsactivestorage >= 8.1.0.beta1, < 8.1.2.1 -

II. Public POCs for CVE-2026-33173

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-33173

登录查看更多情报信息。

Same Patch Batch · rails · 2026-03-23 · 9 CVEs total

CVE-2026-33167Rails has a possible XSS vulnerability in its Action Pack debug exceptions
CVE-2026-33168Rails has a possible XSS vulnerability in its Action View tag helpers
CVE-2026-33170Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
CVE-2026-33176Rails Active Support has a possible DoS vulnerability in its number helpers
CVE-2026-33174Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range request
CVE-2026-33169Rails Active Support has a possible ReDoS vulnerability in number_to_delimited
CVE-2026-33195Rails Active Storage has possible Path Traversal in DiskService
CVE-2026-33202Rails Active Storage has possible glob injection in its DiskService

IV. Related Vulnerabilities

V. Comments for CVE-2026-33173

No comments yet


Leave a comment