# CVE-2020-14001: Unintended read access in kramdown gem

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 4.56%, higher than 91% of CVEs (2026-12-01)
- Published: 2020-07-17T15:27:54.000Z
- Modified: 2026-06-17T02:54:04.953Z
- Also known as: GHSA-mqm2-cgpr-p4m6
- Weaknesses: CWE-862
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- kramdown (RubyGems): before 2.3.0
- kramdown_project kramdown: before 2.3.0
- debian debian_linux: 9.0; 10.0
- fedoraproject fedora: 31; 32
- canonical ubuntu_linux: 20.04

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/gettalong/kramdown> (package, third-party-advisory)
- <https://kramdown.gettalong.org> (vendor-advisory, web)
- <https://rubygems.org/gems/kramdown> (third-party-advisory, web)
- <https://kramdown.gettalong.org/news.html> (release-notes, vendor-advisory, web)
- <https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde> (patch, third-party-advisory, web)
- <https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20200731-0004/> (third-party-advisory)
- <https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2%40%3Cnotifications.fluo.apache.org%3E> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00014.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2020/dsa-4743> (third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ/> (vendor-advisory)
- <https://usn.ubuntu.com/4562-1/> (third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-14001> (advisory)
- <https://github.com/advisories/GHSA-mqm2-cgpr-p4m6> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/kramdown/CVE-2020-14001.yml> (web)
- <https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2@%3Cnotifications.fluo.apache.org%3E> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L> (web)
- <https://security.netapp.com/advisory/ntap-20200731-0004> (web)
- <https://usn.ubuntu.com/4562-1> (web)

## Sources

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

---

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