{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-8166","published":"2020-07-02T19:15:12.513000Z","last_modified":"2026-06-17T03:25:58.540000Z","status":"Modified","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-352"],"cpes":[{"criteria":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version_end_excluding":"5.2.4.3"},{"criteria":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version_start_including":"6.0.0","version_end_excluding":"6.0.3.1"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["rubyonrails","debian"],"products":["rubyonrails/rails","debian/debian_linux"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01673,"percentile":0.77262,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jp5v-5gx4-jmj9","ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[{"introduced":"5.0.0","fixed":"5.2.4.3"}],"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"],"versions_truncated":false},{"advisory":"GHSA-jp5v-5gx4-jmj9","ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[{"introduced":"6.0.0","fixed":"6.0.3.1"}],"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"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2020-8166/","html_en":"/en/cve/CVE-2020-8166/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-8166","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-8166"},"untrusted":{"vendor_name":"Rubyonrails","product_name":"Rails","desc_en":"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.","affected":[],"references":[{"url":"https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://hackerone.com/reports/732415","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4766","tags":["Third Party Advisory"]}]}}