Live threats

All CVEs / Rubyonrails

CVE-2020-8159Rubyonrails Actionpack Page-caching

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
5.4%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
May 12, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Actionpack Page-caching.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack-page_caching < 1.2.1 1.2.1 gem "actionpack-page_caching", ">= 1.2.1"

Per OSV / GitHub Advisories (GHSA-mg5p-95m9-rmfp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsactionpack_page-caching< 1.2.1
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.