CVE-2020-8185
MEDIUM 6.5CVSS 3.1Untrusted users can run pending migrations in production in Rails
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.
- Published
- 2 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-c6qr-h5vq-59jc
- Sources
- NVDJSONOSV GHSA-c6qr-h5vq-59jcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.3.2 | 6.0.3.2 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| OSV | RubyGems | actionpack | >= 6.0.0, < 6.0.3.2 | 6.0.3.2 |
References
- https://groups.google.com/g/rubyonrails-security/c/pAe9EV8gbM0 · Mailing List, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/899069 · Permissions Required, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/
- 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
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Jul 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jun 2020)