{"id":"CVE-2017-8438","aliases":["EUVD-2017-17389","GHSA-c4fv-4x26-f38h"],"status":"published","title":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as...","description":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01025,"percentile":0.63802,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-269","CWE-284"],"published":"2017-06-05T14:00:00Z","modified":"2026-06-17T01:26:22Z","products":[{"vendor":"elastic","product":"x-pack"},{"vendor":"elastic","product":"x-pack security"}],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"https://www.elastic.co/community/security","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8438"},{"url":"https://github.com/advisories/GHSA-c4fv-4x26-f38h"}],"sources":{"cve":[{"id":"CVE-2017-8438","description":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.","status":"published","published":"2017-06-05T14:00:00Z","modified":"2024-08-05T16:34:22.961Z","cwes":["CWE-284"],"updated_at":"2026-11-02T14:33:15.201133Z"}],"euvd":[{"id":"EUVD-2017-17389","description":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.","status":"published","published":"2017-06-05T14:00:00Z","modified":"2024-08-05T16:34:22Z","updated_at":"2026-11-03T02:39:05.365606Z"}],"ghsa":[{"id":"GHSA-c4fv-4x26-f38h","title":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as...","description":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.","status":"published","published":"2022-05-13T01:36:11Z","modified":"2025-04-20T03:38:29Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269","CWE-284"],"updated_at":"2026-11-02T15:01:46.283604Z"}],"nvd":[{"id":"CVE-2017-8438","description":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.","status":"published","published":"2017-06-05T14:29:00.28Z","modified":"2026-06-17T01:26:22.1Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-284","CWE-269"],"updated_at":"2026-11-02T14:03:49.449157Z"}]}}
