# CVE-2022-23536: Alertmanager can expose local files content via specially crafted config

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-19 · Modified: 2025-04-16
- Aliases: GHSA-cq2g-pw6q-hf7j, GO-2022-1175
- Record: https://cvemate.com/vulnerability/CVE-2022-23536 · JSON: https://cvemate.com/vulnerability/CVE-2022-23536/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.846%, percentile 59.346%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cortexproject cortex: ≥ 1.13.0, ≤ 1.13.1 \| = 1.14.0
- github.com/cortexproject cortex (Go): ≥ 1.13.0, \< 1.13.2 \| ≥ 1.14.0, \< 1.14.1
- linuxfoundation cortex: 1.13.0 \| 1.13.1 \| 1.14.0

## References

- <https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j>
- <https://cortexmetrics.io/docs/api/#set-alertmanager-configuration>
- <https://github.com/cortexproject/cortex/releases/tag/v1.13.2>
- <https://github.com/cortexproject/cortex/releases/tag/v1.14.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23536>
- <https://github.com/cortexproject/cortex/commit/03e023d8b012887b31cc268d0d011b01e1e65506>
- <https://github.com/cortexproject/cortex>
- <https://pkg.go.dev/vuln/GO-2022-1175>

---

Data as of 2026-12-05T04:36:19.946Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
