It was discovered that a user with Fleet admin permissions could upload a malicious package. Due to using an older version of the js-yaml library, this package would be loaded in an insecure manner, allowing an attacker to execute commands on the Kibana server.
https://www.elastic.co/community/security
https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077