{"id":"CVE-2022-23536","aliases":["GHSA-cq2g-pw6q-hf7j","GO-2022-1175"],"url":"https://o3.security/vulnerability/CVE-2022-23536","summary":"Alertmanager can expose local files content via specially crafted config","details":"Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API. Only users of the Alertmanager service where `-experimental.alertmanager.enable-api` or `enable_api: true` is configured are affected. Affected Cortex users are advised to upgrade to patched versions 1.13.2 or 1.14.1. However as a workaround, Cortex administrators may reject Alertmanager configurations containing the `api_key_file` setting in the `opsgenie_configs` section before sending to the Set Alertmanager Configuration API.\n","published":"2022-12-19T21:10:21.977Z","modified":"2026-08-12T03:51:20.621007944Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.00753,"percentile":0.51915,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/cortexproject/cortex","fixedVersion":"1.14.1"},{"ecosystem":"Go","name":"github.com/cortexproject/cortex","fixedVersion":"1.13.2"}],"fix":null,"references":[{"type":"WEB","url":"https://cortexmetrics.io/docs/api/#set-alertmanager-configuration"},{"type":"WEB","url":"https://github.com/cortexproject/cortex/releases/tag/v1.13.2"},{"type":"WEB","url":"https://github.com/cortexproject/cortex/releases/tag/v1.14.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23536.json"},{"type":"ADVISORY","url":"https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23536"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:20.621007944Z"}}