CVE-2022-23536
cortex: Alertmanager can expose local files content via specially crafted config
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 19, 2022
Updated · June 27, 2026
Description
A local file inclusion vulnerability exists in Cortex. This issue could allow a malicious actor to remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API.
Statement
Only users of the Cortex Alertmanager service using -experimental.alertmanager.enable-api or enable_api: true are affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')