{"cve":"CVE-2020-8166","nvd":{"published":"2020-07-02T19:15:12.513","modified":"2026-06-17T03:25:58.540","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-352"],"references":["https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw","https://hackerone.com/reports/732415","https://www.debian.org/security/2020/dsa-4766","https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw","https://hackerone.com/reports/732415"],"products":["debian:debian_linux","rubyonrails:rails"],"source":"nvd","synced_at":"2026-10-19T21:06:22.076270124+00:00"},"epss":{"cve":"CVE-2020-8166","score":0.01673,"percentile":0.76831,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jp5v-5gx4-jmj9","url":"https://osv.dev/vulnerability/GHSA-jp5v-5gx4-jmj9","summary":"Ability to forge per-form CSRF tokens in Rails","modified":"2026-05-05T22:34:32.923444Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=5.0.0 <5.2.4.3"],"fixed":["5.2.4.3"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=6.0.0 <6.0.3.1"],"fixed":["6.0.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}