BreachSpiderVerified, not vibes

CVE-2019-20807 in Apple Mac Os X and 6 more products

Medium 5.3

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).

Affects 7 products from 6 vendors. Facts below cite their sources.

CVSS 3.15.3
EPSS0.5%
EPSS percentile33th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Apple Mac Os X 10.13.6 10.14.6
Canonical Ubuntu Linux 16.04 18.04
Debian Debian Linux 9.0
Opensuse Leap 15.1
Starwindsoftware Command Center 2
Starwindsoftware San & Nas 1.0
Vim Vim < 8.1.0881

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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).

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2019-20807
BreachSpider IDBS-2020-GLOBAL-138331-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Published2020-05-28
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Vim versions prior to 8.1.0881 are vulnerable to a security issue that allows users to bypass the rvim restricted mode and execute arbitrary OS commands through scripting interfaces such as Python, Ruby, or Lua.

An attacker can exploit this vulnerability by crafting a script that utilizes the scripting interfaces available in Vim to execute arbitrary commands on the system. This can lead to unauthorized access or system compromise.

Questions

What is CVE-2019-20807?

Vim versions prior to 8.1.0881 are vulnerable to a security issue that allows users to bypass the rvim restricted mode and execute arbitrary OS commands through scripting interfaces such as Python, Ruby, or Lua.

What is the CVSS score for CVE-2019-20807?

CVE-2019-20807 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.5%.

Is CVE-2019-20807 actively exploited?

No confirmed active exploitation of CVE-2019-20807 as of 2026-09-25.

How do I remediate CVE-2019-20807?

Priority: MEDIUM.

What systems are affected by CVE-2019-20807?

CVE-2019-20807 affects Apple Mac Os X; Canonical Ubuntu Linux; Debian Debian Linux; Opensuse Leap; Starwindsoftware Command Center, San & Nas; Vim Vim.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.