CVE-2026-26931: Github.com/elastic/beats/v7 Denial of Service Vulnerability
MODERATECVE-2026-26931 is a MODERATE (CVSS 5.7) denial of service vulnerability (CWE-789: Memory Allocation with Excessive Size Value) affecting Github.com/elastic/beats/v7 libraries in the Go ecosystem. The issue involves metricbeat allocates memory with excessive size value leading to denial of service. Remediation is available by upgrading affected packages to version 7.0.0-alpha2.0.20260112100137-de072c4e371e.
CVE-2026-26931 at a Glance
Security Impact
CVSS: 5.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-26931
To remediate this vulnerability, upgrade all affected Github.com/elastic/beats/v7 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/elastic/beats/v7 to 7.0.0-alpha2.0.20260112100137-de072c4e371e
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/elastic/beats/v7
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-26931, inspect your project dependencies for Github.com/elastic/beats/v7:
inspect dependencies for github.com/elastic/beats/v7
Analyze the terminal output to locate any version of Github.com/elastic/beats/v7 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.0-alpha2.0.20260112100137-de072c4e371e), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-789: Memory Allocation with Excessive Size Value, where the product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. In Github.com/elastic/beats/v7, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-26931 Affected Github.com/elastic/beats/v7 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/elastic/beats/v7
|
Go |
< 7.0.0-alpha2.0.20260112100137-de072c4e371e
|
7.0.0-alpha2.0.20260112100137-de072c4e371e
|
References
Frequently Asked Questions
What is CVE-2026-26931?
Which Github.com/elastic/beats/v7 versions are affected?
What version fixes CVE-2026-26931?
Is github.com/elastic/beats/v7 affected?
What is the CVSS score of CVE-2026-26931?
What CWE is associated with CVE-2026-26931?
How can I check Go dependencies for CVE-2026-26931?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5vrw-qjxw-89r5",
"modified" : "2026-03-19T21:23:04Z",
"published" : "2026-03-19T18:31:18Z",
"aliases" : [ "CVE-2026-26931" ],
"summary" : "Metricbeat Allocates Memory with Excessive Size Value Leading to Denial of Service",
"details" : "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).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/elastic/beats/v7"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.0-alpha2.0.20260112100137-de072c4e371e"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-26931"
}, {
"type" : "WEB",
"url" : "https://github.com/elastic/beats/commit/de072c4e371eafeb2a42d65b9ad513f666e4ffd7"
}, {
"type" : "WEB",
"url" : "https://discuss.elastic.co/t/metricbeat-8-19-13-9-2-5-security-update-esa-2026-09/385532"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/elastic/beats"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-789" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-19T21:23:04Z",
"nvd_published_at" : "2026-03-19T17:16:23Z"
}
}