CVE-2020-8166
Ruby packages · CVE-2020-8166
A CSRF forgery vulnerability exists in rails < 5.2.5, rails < 6.0.4 that makes it possible for an attacker to, given a global CSRF token such as the one present in the authenticity_token meta tag, forge a per-form CSRF token.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.673% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:28.860Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.680Z | OSV |
| affected | verified | 2026-11-19T12:55:39.502Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:39.502Z | CVE Program |
Affected versions and configuration
n/a https://github.com/rails/rails; default status: unknown: Fixed in 5.2.4.3, 6.0.3.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "https://github.com/rails/rails",
"versions": [
{
"status": "affected",
"version": "Fixed in 5.2.4.3, 6.0.3.1"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://hackerone.com/reports/732415",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2020/dsa-4766",
"name": "DSA-4766",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T09:48:25.645Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2020-8166",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-04-28T15:45:41.140315Z"
}
}
}
],
"references": [
{
"url": "https://hackerone.com/reports/732415",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-28T15:45:49.012Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-jp5v-5gx4-jmj9",
"aliases": [
"CVE-2020-8166"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.2.4.3"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"5.0.0",
"5.0.0.1",
"5.0.1",
"5.0.1.rc1",
"5.0.1.rc2",
"5.0.2",
"5.0.2.rc1",
"5.0.3",
"5.0.4",
"5.0.4.rc1",
"5.0.5",
"5.0.5.rc1",
"5.0.5.rc2",
"5.0.6",
"5.0.6.rc1",
"5.0.7",
"5.0.7.1",
"5.0.7.2",
"5.1.0",
"5.1.0.beta1",
"5.1.0.rc1",
"5.1.0.rc2",
"5.1.1",
"5.1.2",
"5.1.2.rc1",
"5.1.3",
"5.1.3.rc1",
"5.1.3.rc2",
"5.1.3.rc3",
"5.1.4",
"5.1.4.rc1",
"5.1.5",
"5.1.5.rc1",
"5.1.6",
"5.1.6.1",
"5.1.6.2",
"5.1.7",
"5.1.7.rc1",
"5.2.0",
"5.2.0.beta1",
"5.2.0.beta2",
"5.2.0.rc1",
"5.2.0.rc2",
"5.2.1",
"5.2.1.1",
"5.2.1.rc1",
"5.2.2",
"5.2.2.1",
"5.2.2.rc1",
"5.2.3",
"5.2.3.rc1",
"5.2.4",
"5.2.4.1",
"5.2.4.2",
"5.2.4.rc1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-jp5v-5gx4-jmj9/GHSA-jp5v-5gx4-jmj9.json",
"last_known_affected_version_range": "<= 5.2.4.2"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.3.1"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"6.0.0",
"6.0.1",
"6.0.1.rc1",
"6.0.2",
"6.0.2.1",
"6.0.2.2",
"6.0.2.rc1",
"6.0.2.rc2",
"6.0.3",
"6.0.3.rc1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-jp5v-5gx4-jmj9/GHSA-jp5v-5gx4-jmj9.json",
"last_known_affected_version_range": "<= 6.0.3"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8166",
"type": "ADVISORY"
},
{
"url": "https://hackerone.com/reports/732415",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2020-8166.yml",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/#!topic/rubyonrails-security/NOjKiGeXUgw",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2020/dsa-4766",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2020-07-02T19:15:12Z",
"github_reviewed_at": "2020-05-26T15:10:56Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 5.2.4.3 | Official record |
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 6.0.3.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:43.680ZArchived source JSON
Source publication: 2020-05-26T15:11:13.000Z
Source modification: 2026-05-05T22:34:32.923ZDocument fingerprint
d399715cc7aaad5b333cd35318e478e46c7b6d1f171c2c980651710472a11e1c - CVE ProgramConsulted: 2026-11-19T12:55:39.502ZArchived source JSON
Source publication: 2020-07-02T18:35:17.000Z
Source modification: 2026-04-28T15:45:49.012ZDocument fingerprint
5a3bfbcf7deef705c8d4fa0576ea44db56fb0c9f437689574745c8d95daebb35 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:28.860ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f5c8827616eb2ca04211842edac88756217214ce2eeb1487530f7c0502297196
Official status history
- UNKNOWN → PUBLISHED · · evidence