{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2019-7609 in the wild since at least 10 Jan 2022.","fix":"Upgrade to a fixed version. US federal agencies must fix it by 10 Jul 2022.","what":"CVE-2019-7609 is a critical code injection vulnerability in Elastic Kibana, published on 25 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-7609 and fix it if it is affected.\n\nWhat it is: CVE-2019-7609 is a critical code injection vulnerability in Elastic Kibana, published on 25 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2019-7609 in the wild since at least 10 Jan 2022.\n\nAffected product: Elastic Kibana. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-7609/ (Markdown: https://insights.sbomify.com/CVE-2019-7609/index.md)","id":"CVE-2019-7609","markdown":"https://insights.sbomify.com/CVE-2019-7609/index.md","name":"CVE-2019-7609","record":{"aliases":["GHSA-cp8f-5jp9-rqmh"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Kibana visualization tool","requires_auth":"none","summary":"An attacker with Timelion access can execute arbitrary JavaScript, leading to remote code execution on the Kibana host system.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"elastic","cpe":[{"product":"kibana","vendor":"elastic"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2019-10-18","github_poc":13,"max_poc_stars":165,"metasploit":1,"nuclei":1,"refs":[{"date":"2019-10-21T15:31:13Z","kind":"github_poc","ref":"https://github.com/LandGrey/CVE-2019-7609","stars":165,"title":"exploit CVE-2019-7609(kibana RCE) on right way by python2 scripts"},{"date":"2019-10-18T03:25:22Z","kind":"github_poc","ref":"https://github.com/jas502n/kibana-RCE","stars":89,"title":"kibana \u003c 6.6.0 未授权远程代码命令执行 (Need Timelion And Canvas),CVE-2019-7609"},{"date":"2019-10-21T07:32:31Z","kind":"github_poc","ref":"https://github.com/mpgn/CVE-2019-7609","stars":58,"title":"RCE on Kibana versions before 5.6.15 and 6.6.0 in the Timelion visualizer"},{"date":"2019-12-01T14:29:22Z","kind":"github_poc","ref":"https://github.com/hekadan/CVE-2019-7609","stars":20,"title":null},{"date":"2022-03-17T15:33:33Z","kind":"github_poc","ref":"https://github.com/Cr4ckC4t/cve-2019-7609","stars":4,"title":"Kibana \u003c6.6.0 RCE written in python3"},{"date":"2020-04-03T10:23:03Z","kind":"github_poc","ref":"https://github.com/rhbb/CVE-2019-7609","stars":1,"title":null},{"date":"2021-08-24T04:38:26Z","kind":"github_poc","ref":"https://github.com/dnr6419/CVE-2019-7609","stars":1,"title":"Kibana Prototype Pollution"},{"date":"2024-06-01T05:10:58Z","kind":"github_poc","ref":"https://github.com/Akshay15-png/CVE-2019-7609","stars":1,"title":"Exploit for CVE-2019-7609 in python "}],"tier":"exploited"},"has_fix":true,"headline":"Kibana Arbitrary Code Execution","id":"CVE-2019-7609","indexable":true,"kev":{"dateAdded":"2022-01-10","dueDate":"2022-07-10","knownRansomwareCampaignUse":"Unknown","product":"Kibana","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Elastic","vulnerabilityName":"Kibana Arbitrary Code Execution"},"kind":"cve","links":{"ecosystem":null,"product":"elastic:kibana","products":["elastic:kibana","redhat:openshift_container_platform"],"type":"code_injection","year":"2019"},"n_packages":0,"n_references":5,"next":{"headline":"Code injection in Kibana","id":"CVE-2019-7610"},"packages":[],"prev":{"headline":"Cross-site scripting in Kibana","id":"CVE-2019-7608"},"products":["Kibana"],"published":"2019-03-25","related":[{"cvss_score":9.9,"headline":"Kibana arbitrary code execution via prototype pollution","id":"CVE-2025-25015","kev_date_added":null,"published":"2025-03-05"},{"cvss_score":9.9,"headline":"Deserialization in Kibana","id":"CVE-2024-37288","kev_date_added":null,"published":"2024-09-09"},{"cvss_score":9.9,"headline":"Code injection in Kibana","id":"CVE-2023-31415","kev_date_added":null,"published":"2023-05-04"},{"cvss_score":9.8,"headline":"Information disclosure in Kibana","id":"CVE-2018-17245","kev_date_added":null,"published":"2018-12-20"},{"cvss_score":9.8,"headline":"Code injection in Kibana","id":"CVE-2018-17246","kev_date_added":null,"published":"2018-12-20"},{"cvss_score":9.1,"headline":"Kibana arbitrary code execution via prototype pollution","id":"CVE-2025-25014","kev_date_added":null,"published":"2025-05-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Elastic"]},"summary":"An attacker with Timelion access can execute arbitrary JavaScript, leading to remote code execution on the Kibana host system.","url":"https://insights.sbomify.com/CVE-2019-7609/"}