{"id":"CVE-2026-91997","summary":"evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass","details":"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.","modified":"2026-09-17T03:47:26.981458235Z","published":"2026-09-15T11:35:51.378Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-697"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91997.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91997.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91997"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/evolution-api-through-2.3.7-prometheus-metrics-ip-allowlist-bypass"},{"type":"PACKAGE","url":"https://github.com/evolution-foundation/evolution-api"},{"type":"ARTICLE","url":"https://github.com/evolution-foundation/evolution-api/blob/2.3.7/src/api/routes/index.router.ts#L49-L65"},{"type":"EVIDENCE","url":"https://github.com/geo-chen/oss/blob/main/evolution-api.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/evolution-foundation/evolution-api","events":[{"introduced":"0"},{"fixed":"cd800f2976e1e5b682fbf86a01ee4d85ae61f370"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.3.7"},{"fixed":"2.3.7"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["2.3.6","2.3.5","2.3.4","2.3.3","2.3.2","2.3.1","2.3.0","2.2.3","2.2.2","2.2.1","2.2.0","2.2.0-pre","1.0.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91997.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}