CVE-2019-7609 — elasticsearch
CRITICALCVE-2019-7609 is a critical-severity (CVSS 10) Code Injection vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-01-10) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-01-10. Federal agencies were required to remediate by 2022-07-10.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2019-7609.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2019-7609 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,415 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Description
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execution flaw in the Timelion visualizer. An attacker with access to the Timelion application could send a request that will attempt to execute javascript code. This could possibly lead to an attacker executing arbitrary commands with permissions of the Kibana process on the host system.
Affected Products
kibanaelasticopenshift container platformredhatResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execut…
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for CVE-2019-7609, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect CVE-2019-7609
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2019-7609 -u https://target- Template
- Kibana Timelion - Arbitrary Code Execution
- Severity
- critical
- Impact
- Arbitrary code execution can result in unauthorized access, data leakage, and system compromise.
- Remediation
- Apply the latest security patches or upgrade to a patched version of Kibana to mitigate the vulnerability.
Template by ProjectDiscovery nuclei-templates (dwisiswant0), MIT licensed. View the full template. Scan only systems you are authorised to test.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | openshift3/apb-base:v3.11.146-1 | RHBA-2019:2824 |
| Red Hat OpenShift Container Platform 4.1 | kibana-0:5.6.16-2.el7 | RHSA-2019:2860 |
Frequently Asked Questions
Is CVE-2019-7609 in your dependencies?
Find it across , including transitive dependencies.