CVE-2026-91997 Details
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.
A vulnerability in Evolution API versions through 2.3.7 allows unauthenticated access to the /metrics endpoint, bypassing IP whitelist restrictions. The issue arises from an incorrect array comparison in the metricsIPWhitelist middleware, which fails to properly evaluate allowed IPs. As a result, sensitive metrics can be accessed without authorization, disclosing information such as the server version, database client name, configured server URL, and details about WhatsApp instances. This vulnerability specifically affects deployments with metrics allowed, a whitelist configured, and without authentication requirements.
To address this vulnerability, the array comparison in the metricsIPWhitelist middleware should be corrected to check the length of the filtered array instead of using strict equality with zero. Additionally, consider enabling METRICS_AUTH_REQUIRED by default to reduce the risk of misconfiguration.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-697 | Incorrect Comparison | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Evolution Foundation Evolution API | <= 2.3.7 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 15, 2026 | New CVE Received | [email protected] |
| Sep 15, 2026 | CVE Modified | CISA-ADP |
Volerion