🛡️ CVE-2022-23536 — cortex

🟡 CVSS 6.5 — Medium ✅ No Known Exploit CWE-73 NVD
6.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Cortex's Alertmanager can expose local files content via specially crafted config

Impact

A local file inclusion vulnerability exists in Cortex versions v1.13.0, v1.13.1 and v1.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](https://cortexmetrics.io/docs/api/#set-alertmanager-configuration). Only users of the Cortex Alertmanager service using -experimental.alertmanager.enable-api or enable_api: true are affected.

Specific Go Packages Affected

github.com/cortexproject/cortex/pkg/alertmanager

Patches

Affected Cortex users are advised to upgrade to versions 1.13.2 or 1.14.1.

Workarounds

Patching is ultimately advised. Using out-of-bound validation, Cortex administrators may reject Alertmanager configurations containing the api_key_file setting in the opsgenie_configs section and opsgenie_api_key_file in the global section before sending to the [Set Alertmanager Configuration API](https://cortexmetrics.io/docs/api/#set-alertmanager-configuration) as a workaround.

References

  • Fixed Versions:
  • https://github.com/cortexproject/cortex/releases/tag/v1.14.1
  • https://github.com/cortexproject/cortex/releases/tag/v1.13.2
  • https://cortexmetrics.io/docs/api/#set-alertmanager-configuration

For more information

If you have any questions or comments about this advisory:

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.

Weakness class

CVE-2022-23536 is classified as CWE-73: External Control of File Name or Path. A caller can influence which file the application opens or writes, extending an operation to files that were never meant to be reachable.

Affected software

CVE-2022-23536 is recorded against 2 packages.

  • cortex
  • github.com/cortexproject/cortex

Timeline and source

Published on 19 December 2022 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

cortexmetrics.io
github.com
github.com
github.com
cortexmetrics.io
github.com
github.com
github.com

Details

Severity MEDIUM
CVSS Score 6.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE CWE-73
Public Exploit ✅ No
Source NVD
Published 2022-12-19
Updated 2026-08-12
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
cortex
github.com/cortexproject/cortex

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in cortex

CVE-2022-23536 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.