- 6.5MediumCVSS base score
- 0.82%Exploitation in 30 daysEPSS · top 42% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 11 months later
· 11 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.82% · top 42% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
- affected >= 1.13.0, <= 1.13.1
- affected = 1.14.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/cortexproject/cortexGHSA-cq2g-pw6q-hf7j (opens in a new tab)
References
References4
- https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://cortexmetrics.io/docs/api/#set-alertmanager-configuration (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/cortexproject/cortex/releases/tag/v1.13.2 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/cortexproject/cortex/releases/tag/v1.14.1 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-7604 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cq2g-pw6q-hf7j (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-23536)Record last updated .