Read the docs
TI-2021-11443 Aliases CVE-2021-31232GHSA-m45g-f45x-vv22

The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability…

Priority LOW 25CWE-20Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.

Why it matters now

EPSS 0.0037 31st percentileScored 2026-11-07
Fix Partial github.com/cortexproject/cortex (Go): 1.8.1Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—github.com/cortexproject/cortex (Go)before 1.8.11.8.1Patch availableGHSA-m45g-f45x-vv22
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • github.com/cortexproject/cortex (Go) Vendor— Affected before 1.8.1 Fixed in 1.8.1 Patch available GHSA-m45g-f45x-vv22

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:cortex:*:*:*:*:*:*:*:*before 1.8.1Vulnerablebackstage
  • cpe:2.3:a:linuxfoundation:cortex:*:*:*:*:*:*:*:* Versions before 1.8.1 Vulnerable ·backstage

Remediation

  • Fix · GHSA-m45g-f45x-vv22 github.com/cortexproject/cortex (Go) Fixed in 1.8.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Openshift Container Storage 4AffectedNo fix planned: Out of support scope
Not affected: 6 products
  • Logging Subsystem for Red Hat OpenShift
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4
  • Red Hat Openshift Data Foundation 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-31232
  2. 2026-10-03 Alias added: GHSA-m45g-f45x-vv22

References

  • TI-2022-07591 Alertmanager can expose local files content via specially crafted config CVSS 3.1MEDIUM 6.5
  • TI-2021-14576 An issue was discovered in Grafana Cortex through 1.9.0. CVSS 3.1MEDIUM 5.3

Sources