# CVE-2020-8163: Remote code execution via user-provided local names in ActionView

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 82.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-07-02T18:35:12.000Z
- Modified: 2026-06-17T03:25:58.177Z
- Also known as: GHSA-cr3x-7m39-c6jq, BIT-RAILS-2020-8163
- Weaknesses: CWE-94
- Assigned by: hackerone

## Description

The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.

(As written by CVE List.)

## Affected

- https://github.com/rails/rails: Fixed in 4.2.11.2
- actionview (RubyGems): before 4.2.11.3
- rubyonrails rails: before 5.0.1
- debian debian_linux: 9.0
- rails (Bitnami): before 5.0.1

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://hackerone.com/reports/304805> (permissions-required, third-party-advisory, web)
- <https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0> (mailing-list, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8163> (advisory, web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml> (web)
- <https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0> (web)

## Sources

- CVE List: [CVE-2020-8163](https://www.cve.org/CVERecord?id=CVE-2020-8163), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-cr3x-7m39-c6jq](https://github.com/advisories/GHSA-cr3x-7m39-c6jq), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2020-8163](https://nvd.nist.gov/vuln/detail/CVE-2020-8163), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-RAILS-2020-8163](https://osv.dev/vulnerability/BIT-RAILS-2020-8163), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2020-8163 · Whole record: https://cve.day/CVE-2020-8163.json · Rebuilt by cve.day 2026-11-25T22:57:53.243Z
