CVE-2020-14001Kramdown Project Kramdown
Critical 9.8 No auth needed
Follow: this CVE · Kramdown Project · Kramdown Project Kramdown We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.6% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jul 17, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read access (such as template="/etc/passwd") or unintended embedded Ruby code execution (such as a string that begins with template="string://<%= `). NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.
What to do
- Apply the vendor's security update for Kramdown.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | kramdown |
< 2.3.0 |
2.3.0 |
gem "kramdown", ">= 2.3.0" |
Per OSV / GitHub Advisories (GHSA-mqm2-cgpr-p4m6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kramdown_project | kramdown | < 2.3.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| canonical | ubuntu_linux | 20.04 |
Official advisories
- ruby4.0-rubygem-kramdown-2.4.0-1.17 on GA media · SUSE · openSUSE-SU-2026:10352-1 · Mar 13, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- kramdown.gettalong.org Vendor Advisory
- kramdown.gettalong.org Release Notes Vendor Advisory
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- rubygems.org Third Party Advisory
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory