CVE-2026-91997: evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass

Published Sep 15, 2026
·
Updated

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.

Affected Software

1 affected component
evolution-api<=2.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade evolution-api to a version that resolves this vulnerability.

    Fixed in 2.3.7
  2. Compensating control

    Ensure the /metrics endpoint is not accessible without authentication (the metricsIPWhitelist middleware in evolution-api through 2.3.7 always evaluates to false, allowing unauthenticated access).

Event History

Sep 15, 2026
CVE Published
via MITRE·11:35 AM
Data Sourced
via MITRE·11:35 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can access the exposed metrics endpoint?

Any unauthenticated remote attacker who can reach the /metrics endpoint can bypass the intended IP whitelist restriction.

2

What information could an attacker obtain?

The metrics may disclose the server version, database client name, configured server URL, and WhatsApp instance details.

3

Are deployments using an IP whitelist for metrics protected?

No. The metricsIPWhitelist middleware uses an incorrect array comparison that always evaluates to false, so the IP allowlist does not restrict access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203