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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-697"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91997.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.3.7"
},
{
"fixed": "2.3.7"
}
],
"source": [
"AFFECTED_FIELD",
"DESCRIPTION"
]
}