# CVE-2019-20807: In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS commands via scripting interfaces (e.g., Pyt…

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2020-05-28T13:05:50.000Z
- Modified: 2026-06-17T02:31:13.833Z
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS commands via scripting interfaces (e.g., Python, Ruby, or Lua).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- vim vim: before 8.1.0881
- debian debian_linux: 9.0
- opensuse leap: 15.1
- canonical ubuntu_linux: 16.04; 18.04
- apple mac_os_x: 10.13.6; 10.14.6
- starwindsoftware command_center: 2
- starwindsoftware san_&_nas: 1.0

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/vim/vim/releases/tag/v8.1.0881> (release-notes, third-party-advisory)
- <https://github.com/vim/vim/commit/8c62a08faf89663e5633dc5036cd8695c80f1075> (patch, third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00018.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://support.apple.com/kb/HT211289> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2020/Jul/24> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4582-1/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html> (mailing-list, third-party-advisory)
- <https://www.starwindsoftware.com/security/sw-20220812-0003/> (third-party-advisory)

## Sources

- CVE List: [CVE-2019-20807](https://www.cve.org/CVERecord?id=CVE-2019-20807), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-20807](https://nvd.nist.gov/vuln/detail/CVE-2019-20807), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-20807 · Whole record: https://cve.day/CVE-2019-20807.json · Rebuilt by cve.day 2026-11-25T22:57:49.873Z
