{"id":"CVE-2020-1956","published":"2020-05-22T14:15:11Z","modified":"2026-06-17T03:02:43Z","title":"Apache Kylin OS Command Injection Vulnerability","vendor":"Apache","product":"Kylin","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The Apache Kylin analytics platform, in versions 2.3.0 through 2.6.5 and 3.0.1, has a flaw in some of its RESTful APIs, which concatenate user-supplied input directly into operating system commands. An attacker who can reach these APIs over the network and hold low-privilege credentials, with no user interaction required, can run arbitrary OS commands on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T04:54:08Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.97389,"percentile":0.99898,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2020-1956","provenance":"source"},"vulncheckKev":{"dateAdded":"2020-10-14","exploitedFirstSeen":"2020-10-14","ransomware":false,"evidence":[{"url":"https://unit42.paloaltonetworks.com/iot-vulnerabilities-mirai-payloads/","date":"2020-10-14"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-03-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-11&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-11"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-12&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-12"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-13&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-13"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-16&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-23&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-23"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-24&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-25&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-05-26&host_type=src&vulnerability=cve-2020-1956","date":"2026-05-26"}],"evidenceTotal":94,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2020/07/14/1","tags":["Mailing List"]},{"url":"https://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf%40%3Ccommits.kylin.apache.org%3E","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/r1332ef34cf8e2c0589cf44ad269fb1fb4c06addec6297f0320f5111d%40%3Cuser.kylin.apache.org%3E","tags":["Mailing List","Mitigation","Vendor Advisory"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cannounce.apache.org%3E","tags":["Mailing List"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cdev.kylin.apache.org%3E","tags":["Mailing List"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cuser.kylin.apache.org%3E","tags":["Mailing List"]},{"url":"https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0%40%3Ccommits.kylin.apache.org%3E","tags":["Mailing List","Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2020/07/14/1","tags":["Mailing List"]},{"url":"https://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf%40%3Ccommits.kylin.apache.org%3E","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/r1332ef34cf8e2c0589cf44ad269fb1fb4c06addec6297f0320f5111d%40%3Cuser.kylin.apache.org%3E","tags":["Mailing List","Mitigation","Vendor Advisory"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cannounce.apache.org%3E","tags":["Mailing List"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cdev.kylin.apache.org%3E","tags":["Mailing List"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cuser.kylin.apache.org%3E","tags":["Mailing List"]},{"url":"https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0%40%3Ccommits.kylin.apache.org%3E","tags":["Mailing List","Patch"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-1956","tags":["Third Party Advisory","US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Exploited via network-exposed RESTful API endpoints","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"has some restful apis which will concatenate os command with the user input string","start":55,"end":137}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Arbitrary OS command execution from user input","mappingType":"primary_impact","evidence":[{"from":"description","quote":"a user is likely to be able to execute any os command","start":139,"end":192}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.kylin:kylin-core-common","vulnerableRanges":["<2.6.6",">=3.0.0, <3.0.2"],"patched":["2.6.6","3.0.2"],"from":["GHSA-gprm-xqrc-c2j3"],"provenance":"source"}],"advisories":[{"id":"GHSA-gprm-xqrc-c2j3","url":"https://github.com/advisories/GHSA-gprm-xqrc-c2j3","severity":"HIGH","ecosystem":"Maven","package":"org.apache.kylin:kylin-core-common","vulnerableRanges":["<2.6.6"],"patched":["2.6.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-gprm-xqrc-c2j3","url":"https://github.com/advisories/GHSA-gprm-xqrc-c2j3","severity":"HIGH","ecosystem":"Maven","package":"org.apache.kylin:kylin-core-common","vulnerableRanges":[">=3.0.0, <3.0.2"],"patched":["3.0.2"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2020-0557","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0557","exploited":true,"exploitedSince":"2022-03-25","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2021-07-08","earliestUrl":"https://github.com/b510/CVE-2020-1956","repos":[{"name":"b510/CVE-2020-1956","url":"https://github.com/b510/CVE-2020-1956","stars":0,"created":"2021-07-08"}]},"nuclei":[{"id":"CVE-2020-1956","name":"Apache Kylin 3.0.1 - Command Injection Vulnerability","severity":"high","path":"http/cves/2020/CVE-2020-1956.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-1956.yaml"}],"first":{"date":"2021-07-08","source":"PoC-in-GitHub","url":"https://github.com/b510/CVE-2020-1956"},"provenance":"source"},"exploitRefs":["https://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2020-05-22","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1956","provenance":"source"},{"date":"2020-10-14","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://unit42.paloaltonetworks.com/iot-vulnerabilities-mirai-payloads/","provenance":"source"},{"date":"2021-07-08","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/b510/CVE-2020-1956","provenance":"source"},{"date":"2022-03-25","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-03-25","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0557","provenance":"source"}],"speed":{"daysToPublicExploit":412,"firstExploitFrom":"PoC-in-GitHub","daysToKev":672},"priority":{"score":69.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2208 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.98,"detail":"percentile 0.9990"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-apache-kylin-cve-2020-1937","parents":[{"from":"CVE-2020-1937","to":"CVE-2020-1956","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server-base/src/main/java/org/apache/kylin/rest/service/CubeService.java"],"commits":["https://github.com/apache/kylin/commit/e373c64c96a54a7abfe4bccb82e8feb60db04749","https://github.com/apache/kylin/commit/58fad56ac6aaa43c6bd8f962d7f2d84438664092"],"basis":"shared function","functions":["migrateCube"]},{"kind":"similar","provenance":"machine","score":0.66,"basis":"same product + description similarity"}]}],"children":[{"from":"CVE-2020-1956","to":"CVE-2020-13925","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"Similar to CVE-2020-1956, Kylin has one more restful API which concatenates the API inputs into OS commands and then executes them on the server; while the reported API misses necessary input validation, which causes the hackers to have t…","from":"CVE.org","in":"CVE-2020-13925"}]}]}}