Loading advisory.
Loading advisory.
Cortex's Alertmanager can expose local files content via specially crafted config
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.
Published 2022-12-19 21:09 UTC · Modified 2025-04-16 18:23 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/cortexproject/cortex | Go | >= 1.14.0, < 1.14.1 >= 1.13.0, < 1.13.2 versions 1.14.0 | 1.14.1, 1.13.2 | go get github.com/cortexproject/cortex@v1.14.1go get github.com/cortexproject/cortex@v1.13.2 |
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. Only users of the Cortex Alertmanager service using -experimental.alertmanager.enable-api or enable_api: true are affected.
github.com/cortexproject/cortex/pkg/alertmanager
Affected Cortex users are advised to upgrade to versions 1.13.2 or 1.14.1.
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 as a workaround.
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
If you have any questions or comments about this advisory:
Open an issue in cortex
Email us at cortex-team@googlegroups.com.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.008 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.008 | v2026.06.15 |