# CVE-2020-8185: Untrusted users can run pending migrations in production in Rails

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.18%, higher than 82% of CVEs (2026-12-01)
- Published: 2020-06-24T17:40:33.000Z
- Modified: 2026-06-17T03:26:00.707Z
- Also known as: GHSA-c6qr-h5vq-59jc
- Weaknesses: CWE-400
- Assigned by: hackerone

## Description

A denial of service vulnerability exists in Rails <6.0.3.2 that allowed an untrusted user to run any pending migrations on a Rails app running in production.

(As written by CVE List.)

## Affected

- https://github.com/rails/rails: Fixed in 6.0.3.2
- actionpack (RubyGems): from 6.0.0 before 6.0.3.2
- rubyonrails rails: from 6.0.0 before 6.0.3.2
- fedoraproject fedora: 33

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://hackerone.com/reports/899069> (permissions-required, third-party-advisory, web)
- <https://groups.google.com/g/rubyonrails-security/c/pAe9EV8gbM0> (mailing-list, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8185> (advisory)
- <https://github.com/rails/rails/commit/2121b9d20b60ed503aa041ef7b926d331ed79fc2> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2020-8185.yml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB> (web)

## Sources

- CVE List: [CVE-2020-8185](https://www.cve.org/CVERecord?id=CVE-2020-8185), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c6qr-h5vq-59jc](https://github.com/advisories/GHSA-c6qr-h5vq-59jc), CC-BY-4.0, modified 2024-02-22
- NVD: [CVE-2020-8185](https://nvd.nist.gov/vuln/detail/CVE-2020-8185), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8185 · Whole record: https://cve.day/CVE-2020-8185.json · Rebuilt by cve.day 2026-11-25T22:57:53.244Z
