CVE-2020-1956 in Apache Kylin
Apache Kylin 2.3.0, and releases up to 2.6.5 and 3.0.1 has some restful apis which will concatenate os command with the user input string, a user is likely to be able to execute any os command without any protection or validation.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Kylin | ≤ 3.0.1 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-03-25 |
|---|---|
| Public exploit | Not confirmed |
Official description
Apache Kylin 2.3.0, and releases up to 2.6.5 and 3.0.1 has some restful apis which will concatenate os command with the user input string, a user is likely to be able to execute any os command without any protection or validation.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-1956 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-239158-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-05-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
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
Apache Kylin versions 2.3.0 up to 2.6.5 and 3.0.1 contain a critical vulnerability where certain RESTful APIs concatenate user input with OS commands, allowing unvalidated command execution. This can lead to full system compromise, data exfiltration, and service disruption in ICS/OT environments.
The vulnerability allows an attacker to inject arbitrary OS commands via RESTful API endpoints. The lack of input validation or sanitization means that an attacker can execute any command on the underlying operating system, leading to potential full system control, data theft, and service disruption.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all RESTful API endpoints. Use a web application firewall (WAF) to monitor and block suspicious requests containing command injection patterns.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2020-1956?
Apache Kylin versions 2.3.0 up to 2.6.5 and 3.0.1 contain a critical vulnerability where certain RESTful APIs concatenate user input with OS commands, allowing unvalidated command execution. This can lead to full system compromise, data exfiltration, and service disruption in ICS/OT environments.
What is the CVSS score for CVE-2020-1956?
CVE-2020-1956 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 97.4%.
Is CVE-2020-1956 actively exploited?
Yes. CVE-2020-1956 is in the CISA known-exploited catalog (added 2022-03-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2020-1956?
Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf%40%3Ccommits.kylin.apache.org%3E PSIRT: [email protected]
What systems are affected by CVE-2020-1956?
CVE-2020-1956 affects Apache Kylin.
What NERC-CIP standard applies to CVE-2020-1956?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized access to the system through command injection, which can compromise the integrity and availability of the control system.
What IEC 62443 requirement maps to CVE-2020-1956?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves the lack of input validation, which can lead to unauthorized command execution and compromise of the system's security.
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":"Apache","product":"Kylin","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.