Skip to main content

Metricbeat CVE-2026-26931

| EUVDEUVD-2026-13139 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-03-19 security@elastic.co GHSA-5vrw-qjxw-89r5
5.7
CVSS 3.1 · Vendor: elastic
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Impact

The CVSS 3.1 score of 5.7 with vector CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H indicates a medium-severity availability impact requiring adjacent network access and low privileges, with low attack complexity and no user interaction needed. The attack vector (A for adjacent) and privilege requirement (L for low) are significant constraints that limit opportunistic exploitation, though they are realistic in cloud environments where multiple services share network segments or where internal services can be compromised. The technical impact is high availability disruption (denial of service), not confidentiality or integrity, which reduces the overall severity. While an EPSS score is not provided in the intelligence data, the combination of authentication/privilege requirement and network adjacency requirement suggests this is a lower-priority exploit compared to unauthenticated remote code execution vulnerabilities. However, within the scope of internal infrastructure, especially where Metricbeat handles untrusted metrics from customer-controlled Prometheus instances, the real-world risk is materially higher. The availability of a vendor security advisory (ESA-2026-09) from Elastic confirms active development of a patch, and the presence of ENISA EUVD tracking (EUVD-2026-13139) indicates European regulatory awareness. The lack of KEV (Known Exploited Vulnerability) designation suggests no active exploitation campaigns have been documented, reducing immediate threat priority.

Exploit ScenarioDerived

An attacker with network access to a Metricbeat instance (e.g., a compromised service in the same Kubernetes cluster or a malicious Prometheus client with low-privilege credentials) crafts a remote_write HTTP request with a Content-Length or size field containing a very large value (e.g., gigabytes), causing Metricbeat to attempt memory allocation far exceeding available resources. This triggers an out-of-memory condition, crashes the Metricbeat process, and effectively disrupts metrics collection and observability for the entire infrastructure. Since the attack requires only adjacent network access and low privileges with no user interaction, it is feasible in multi-tenant or compromised internal environments where network segmentation is weak.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 19, 2026

Metricbeat's Prometheus remote_write HTTP handler is vulnerable to denial of service through excessive memory allocation when processing specially crafted requests from authenticated network-adjacent attackers. An attacker with local privileges can trigger unbounded memory allocation to exhaust system resources and crash the service. No patch is currently available for this vulnerability.

Earlier versions of this analysis (1)
v1 Mar 19, 2026 - 17:30 CVSS 5.7

A memory allocation vulnerability exists in the Prometheus remote_write HTTP handler within Metricbeat versions 8.0.0 through 8.19.12, where an attacker with local network access and low privileges can trigger excessive memory allocation, resulting in denial of service. The vulnerability stems from CWE-789 (Memory Allocation with Excessive Size Value) and is exploitable without user interaction, making it a practical attack vector for authenticated or network-adjacent adversaries.

RemediationAI

Upgrade Metricbeat to version 8.19.13, 9.2.5, or later as released in Elastic security advisory ESA-2026-09 (https://discuss.elastic.co/t/metricbeat-8-19-13-9-2-5-security-update-esa-2026-09/385532). Until patches can be applied, implement network-level mitigations by restricting HTTP access to the Metricbeat remote_write endpoint to trusted Prometheus sources only, using network policies (Kubernetes NetworkPolicy, security groups, or firewall rules) to limit connectivity to the affected handler. Additionally, consider disabling the Prometheus remote_write input module if it is not actively used in your environment by removing or commenting out the corresponding configuration block in metricbeat.yml. Monitor Metricbeat resource consumption for unusual memory spikes, which could indicate exploitation attempts.

Affected VersionsENISA

Metricbeat 8.0.0 ≤8.19.12

Affected Packages

go github.com/elastic/beats no fix
go github.com/elastic/beats/v7 fix: 7.0.0-alpha2.0.20260112100137-de072c4e371e
euvd metricbeat no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in Metricbeat's HTTP handler for Prometheus remote_write protocol integration, a feature that allows Metricbeat to receive metrics from Prometheus clients. The root cause is classified under CWE-789, which describes scenarios where an application allocates memory based on user-supplied input without proper validation or bounds checking. When a remote_write request containing an excessively large size value is processed, the handler attempts to allocate memory proportional to that value, bypassing safety checks. This is a common pattern in Go and Java applications handling HTTP payloads with Content-Length headers or size indicators in message frames. The Prometheus protocol is widely used in cloud-native and containerized environments, making this a particularly relevant vulnerability for observability infrastructure.

Know when Metricbeat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (elastic) PRIMARY 5.7 MEDIUM
AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM

Primary rating from Vendor (elastic).

CVSS VectorVendor: elastic

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 19, 2026 - 17:16 nvd
MEDIUM 5.7

DescriptionCVE.org

Memory Allocation with Excessive Size Value (CWE-789) in the Prometheus remote_write HTTP handler in Metricbeat can lead Denial of Service via Excessive Allocation (CAPEC-130).

Executive ViewAI

Why It Matters

CVE-2026-26931 presents moderate security risk rated CVSS 5.7. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
Low

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy