CVE-2026-91997
evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass
- State
- Published
- Severity
- 6.9 Medium
- Published
- Sep 15, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 15, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | VulnCheck |
Weaknesses
- CWE-697 Incorrect Comparison
Affected Products
| Product | Versions |
|---|---|
evolution-apievolution-foundation |
|
References
- Researcher write-upthird-party-advisoryexploit
- metricsIPWhitelist middleware at 2.3.7technical-description
- https://github.com/evolution-foundation/evolution-apiproduct
- VulnCheck Advisory: evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypassthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.