CVE-2026-91997
published medium CVSS 4.0 · 6.9evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| evolution-foundation | — | evolution-api0 through 2.3.7 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| evolution-foundation | evolution-api | 0 through 2.3.7 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-697 Incorrect Comparison
References
4- https://github.com/evolution-foundation/evolution-api
- metricsIPWhitelist middleware at 2.3.7 https://github.com/evolution-foundation/evolution-api/blob/2.3.7/src/api/routes/index.router.ts#L49-L65
- Researcher write-up https://github.com/geo-chen/oss/blob/main/evolution-api.md
- VulnCheck Advisory: evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass https://www.vulncheck.com/advisories/evolution-api-through-2.3.7-prometheus-metrics-ip-allowlist-bypass
Provider assertions
2VulnCheck · cna
evolution-api through 2.3.7 Prometheus Metrics IP Allowlist Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 986b96c390440244fea08a5bbb220c1089c62e96597242af7fdd8539e846aac5
- Ingested
- 30 Sep 2026, 15:35:15 UTC
- Source record
- Official CVE record