CVE-2026-91997
evolution-api through 2.3.7 contains an incorrect array comparison …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/evolution-foundation/evolution-api
- github.com/evolution-foundation/evolution-api/blob/2.3.7/src/api/routes/index.router.ts#L4
- github.com/geo-chen/oss/blob/main/evolution-api.md
- www.vulncheck.com/advisories/evolution-api-through-2.3.7-prometheus-metrics-ip-allowlist-b
- nvd.nist.gov/vuln/detail/CVE-2026-91997
- cve.org/CVERecord?id=CVE-2026-91997
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.