High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-8163
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:19 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-8163
Complete source record
{
"id": "06cc8c44a7281db58fa18b1dffd9d3f0aeccad1c1814fcaf421fa55af02e3600",
"url": "https://osv.dev/vulnerability/CVE-2020-8163",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-8163",
"summary": "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.",
"evidence": "osv:CVE-2020-8163",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-8163",
"aliases": [
"BIT-rails-2020-8163",
"CVE-2020-8163",
"GHSA-cr3x-7m39-c6jq"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rails/rails",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "912ae0b34bf541f18d051c8a274a54aef91a5e04"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.0.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.0.1.rc2",
"v5.0.1.rc1",
"v5.0.0.rc2",
"v5.0.0.rc1",
"v5.0.0.beta4",
"v5.0.0.beta2",
"v5.0.0.beta1",
"v4.2.0.beta1",
"v4.0.0.rc1",
"v4.0.0.beta1",
"v3.2.0.rc1",
"v3.1.0.rc1",
"v3.1.0.beta1",
"v3.0.0.beta3",
"v3.0.0.beta.3",
"v2.0.1",
"v2.0.0",
"v2.0.0_RC2",
"v2.0.0_RC1",
"v2.0.0_PR",
"v1.1.1",
"v1.1.0",
"v1.1.0_RC1",
"v0.14.3",
"v0.14.1",
"v0.13.1",
"v0.13.0",
"v0.12.0",
"v0.11.1",
"v0.11.0",
"v0.10.1",
"v0.10.0",
"v0.9.5",
"v0.9.4.1",
"v0.9.4",
"v0.9.3",
"v0.9.2",
"v0.9.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8163.json"
}
}
],
"modified": "2026-10-24T10:31:06.008128259Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html",
"https://hackerone.com/reports/304805",
"https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-8163",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440888,
"published_at": "2020-07-02T19:15:12.433+00:00"
}