Unrestricted file upload in https://github.com/rails/rails
Priority LOW 38CWE-602Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-434.
Summary
A client side enforcement of server side security vulnerability exists in rails < 5.2.4.2 and rails < 6.0.3.1 ActiveStorage's S3 adapter that allows the Content-Length of a direct file upload to be modified by an end user bypassing upload limits.
Why it matters now
EPSS 0.03028 87th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial activestorage (RubyGems): 5.2.4.3, 6.0.3.1Red Hat: 1 advisoryRed Hat: 2 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | https://github.com/rails/rails | rails >= 5.2.4.3, rails >= 6.0.3.1 | — | No fix listed | CNA |
| — | activestorage (RubyGems) | 5.0.0 to before 5.2.4.3 | 5.2.4.3 | Patch available | GHSA-m42x-37p3-fv5w |
| — | activestorage (RubyGems) | 6.0.0 to before 6.0.3.1 | 6.0.3.1 | Patch available | GHSA-m42x-37p3-fv5w |
- https://github.com/rails/rails Vendor— Affected rails >= 5.2.4.3, rails >= 6.0.3.1 Fixed in — No fix listed CNA
- activestorage (RubyGems) Vendor— Affected 5.0.0 to before 5.2.4.3 Fixed in 5.2.4.3 Patch available GHSA-m42x-37p3-fv5w
- activestorage (RubyGems) Vendor— Affected 6.0.0 to before 6.0.3.1 Fixed in 6.0.3.1 Patch available GHSA-m42x-37p3-fv5w
Remediation
- Fix · GHSA-m42x-37p3-fv5w activestorage (RubyGems) Fixed in 5.2.4.3 Advisory →
- Fix · GHSA-m42x-37p3-fv5w activestorage (RubyGems) Fixed in 6.0.3.1 Advisory →
Red Hat 1 advisory
- RHSA-2021:1313 Released 2021-04-21 · Red Hat rating ModerateSatellite 6.9 Release
- Red Hat Satellite 6.9 ansible-collection-redhat-satellite-2.0.1-1.el7sat, ansible-runner-1.4.6-1.el7ar, ansiblerole-foreman_scap_client-0.1.0-1.el7sat +47
- Red Hat Satellite Capsule 6.9 ansible-collection-redhat-satellite-2.0.1-1.el7sat, ansible-runner-1.4.6-1.el7ar, ansiblerole-foreman_scap_client-0.1.0-1.el7sat +47
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| CloudForms Management Engine 5 | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6.9 | Fixed | RHSA-2021:1313 |
| Red Hat Satellite Capsule 6.9 | Fixed | RHSA-2021:1313 |
Timeline
- 2026-10-02 Threatist record created from CVE-2020-8162
- 2026-10-03 Alias added: GHSA-m42x-37p3-fv5w
References
Exploit 1
Sources
- CVE-2020-8162 · CVE Program
- CVE-2020-8162 · NVD
- FIRST EPSS
- GHSA-m42x-37p3-fv5w · GitHub Advisory Database · CC BY 4.0
- CVE-2020-8162 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences