All reports
Medium

Improper input validation in CNCF Cortex

Affected versions

Version ranges need review.

Affected versions
<1.8.1
Fixed version
1.8.1
Affected versions
< 1.8.1
Fixed version
1.8.1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-31232

Probability of exploitation in the next 30 days: 0.37%

FIRST EPSS · 2026-11-23

Description

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.

Links