evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass
evolution-api through 2.3.7 contains an incorrect array comparison in the metricsIPWhitelist middleware that always evaluates to false, allowing unauthenticated access to the /metrics endpoint. Attackers can bypass IP whitelist restrictions to access sensitive metrics disclosing server version, database client name, configured server URL, and WhatsApp instance details.
CVE-2026-91997
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-91997
evolution-api
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/evolution-foundation/evolution-api",
"vendor": "evolution-foundation",
"product": "evolution-api",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "2.3.7"
}
],
"packageURL": "pkg:github/evolution-foundation/evolution-api",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-91997
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #1677 · Revision 1
- Added to Heist Feed
- Publisher date