CVE-2020-8159
highpriority · track · 41EPSS 0.054 · 93 %ileEUUSEPSS · scored 2026-10-29
There is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- rubyonrails actionpack page-caching< 1.2.1nvdUScpe:2.3:a:rubyonrails:actionpack_page-caching:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mg5p-95m9-rmfpArbitrary file write in actionpack-page_caching gem2020-05-13ghsa · osvUS
There is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- http://www.nsfocus.net/vulndb/47326cnnvd
- https://github.com/rails/actionpack-page_cachingPatchcnnvd
- https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8cnnvd
- https://lists.debian.org/debian-lts-announce/2021/07/msg00019.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-8159cnnvd
- https://vigilance.fr/vulnerability/Ruby-actionpack-page-caching-write-access-via-Unescaped-ERB-35987cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.2519cnnvd
- https://groups.google.com/forum/#%21topic/rubyonrails-security/CFRVkEytdP8enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan