CVEMETERBack to radar
OFFICIAL RECORD · Ruby packages

CVE-2020-8166

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:28.860ZFIRST EPSS
patchesverified2026-11-19T12:52:43.680ZOSV
affectedverified2026-11-19T12:55:39.502ZCVE Program
lifecycleverified2026-11-19T12:55:39.502ZCVE 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryRubyGems / packageactionpackNot a distribution channel5.2.4.3Official record
ecosystem-boundaryRubyGems / packageactionpackNot a distribution channel6.0.3.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history