CVE-2020-8166

Public Exploit

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.

Category

4.3
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.44%
Vendor Advisory debian.org
Affected: n/a https://github.com/rails/rails
Published at:
Updated at:

References

Link Tags
https://hackerone.com/reports/732415 third party advisory exploit
https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw patch mailing list third party advisory
https://www.debian.org/security/2020/dsa-4766 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2020-8166?
CVE-2020-8166 has been scored as a medium severity vulnerability.
How to fix CVE-2020-8166?
To fix CVE-2020-8166, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-8166 being actively exploited in the wild?
It is possible that CVE-2020-8166 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-8166?
CVE-2020-8166 affects n/a https://github.com/rails/rails.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.