evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass
evolution-foundation evolution-api
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| evolution-foundation evolution-api |
| No fix yet |
Original 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.
From the CVE record · VulnCheck