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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-33195— Rails Active Storage has possible Path Traversal in DiskService

Quick assessment

Affected
rails activestorage
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Rails是美国Rails团队的一套基于Ruby语言的开源Web应用框架。 Rails Active Storage 8.1.2.1之前版本、8.0.4.1之前版本和7.2.3.1之前版本存在路径遍历漏洞,该漏洞源于未验证解析后的文件系统路径是否保持在存储根目录内,可能导致路径遍历攻击。

CVSS 8.0 · High EPSS 0.72% · P52

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery

Affected Version Matrix 3

VendorProduct Version RangeStatus
rails activestorage >= 8.1.0.beta1, < 8.1.2.1 affected
>= 8.0.0.beta1, < 8.0.4.1 affected
< 7.2.3.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-33195

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 Path Traversal in DiskService
Source: CVE Program / CVE List V5
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, Active Storage's `DiskService#path_for` does not validate that the resolved filesystem path remains within the storage root directory. If a blob key containing path traversal sequences (e.g. `../`) is used, it could allow reading, writing, or deleting arbitrary files on the server. Blob keys are expected to be trusted strings, but some applications could be passing user input as keys and would be affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Rails 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Rails是美国Rails团队的一套基于Ruby语言的开源Web应用框架。 Rails Active Storage 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

Vendor Product Affected Versions CPE Subscribe
rails activestorage >= 8.1.0.beta1, < 8.1.2.1 -

II. Public POCs for CVE-2026-33195

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 9934 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-33195

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

Patches & Fixes for CVE-2026-33195 (4)

Vendor Advisories for CVE-2026-33195 (1)

Vendor Pages for CVE-2026-33195 (2)

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-33195

No comments yet


Leave a comment