MEDIUM
CVE-2026-91997
CVSS
5.3
Description
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.
Weakness (CWE)
CWE-697
EPSS Score
0.34%
Probability of exploitation in next 30 days
27.1th percentile
References
https://github.com/evolution-foundation/evolution-api
https://github.com/evolution-foundation/evolution-api/blob/2.3.7/src/api/routes/index.router.ts#L49-L65
https://github.com/geo-chen/oss/blob/main/evolution-api.md
https://www.vulncheck.com/advisories/evolution-api-through-2.3.7-prometheus-metrics-ip-allowlist-bypass
Base CVE data derived from NVD (public domain). Enrichment by
dbcve.org
(CC-BY-4.0). Fetched via API.