CVE-2026-78594: APM Server: memory-exhaustion DoS via source maps
MEDIUMAn authenticated user with write access to APM Server's source map storage can upload a specially crafted, highly compressed file that exhausts server memory the moment it's processed, crashing the process outright. This isn't a remote, unauthenticated exploit — CVSS 4.9 reflects the high privilege bar (PR:H) required — but the persistence mechanism is what makes it operationally painful: the malicious artifact stays in storage, so the server crashes again on every restart until someone manually finds and deletes it, turning a single bad upload into a recurring outage. There's no CISA KEV listing, no EPSS data, and no public exploit or scanner template, so opportunistic exploitation is unlikely; the realistic threat is an insider or a compromised CI/CD credential with source-map write access. Downstream package exposure is minimal (0 tracked dependents), but for any team running APM Server to monitor AI/LLM service latency and health, this is a monitoring blind-spot risk, not a data-loss one. Action: patch to the versions in Elastic's advisory (8.19.20 / 9.4.5 / 9.5.1), audit who holds source-map write permissions, and if you suspect exploitation, locate and purge stored source maps before restarting the service to break the crash loop.
What is the risk?
Medium severity is appropriate: the attack is trivial to execute once access is obtained (AC:L, no user interaction), but the high privilege requirement (PR:H — write access to source map ingestion) meaningfully narrows the realistic attacker population to insiders, compromised CI/CD pipelines, or attackers who've already escalated access. Impact is availability-only (C:N/I:N/A:H) but persistent — the crash recurs on every restart until the stored artifact is removed, which elevates operational severity above a typical one-shot DoS. No KEV listing, no EPSS score, and no public PoC or Nuclei template were found, indicating no evidence of active or imminent exploitation.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Microsoft APM | pip | — | No patch |
Do you use Microsoft APM? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade to the patched APM Server releases referenced in Elastic's advisory (8.19.20, 9.4.5, 9.5.1). 2) Audit and restrict who/what holds write access to source map content — scope it to trusted CI/CD service accounts only, not broad developer roles. 3) If compromise is suspected, before restarting the server, locate and delete any anomalous or unusually large/highly-compressed source map artifacts in storage to break the crash-loop. 4) Monitor for repeated OOM kills or crash-restart loops on APM Server instances as a detection signal. 5) Apply general decompression-bomb hygiene (size/ratio limits) if self-managing source map ingestion.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-78594?
An authenticated user with write access to APM Server's source map storage can upload a specially crafted, highly compressed file that exhausts server memory the moment it's processed, crashing the process outright. This isn't a remote, unauthenticated exploit — CVSS 4.9 reflects the high privilege bar (PR:H) required — but the persistence mechanism is what makes it operationally painful: the malicious artifact stays in storage, so the server crashes again on every restart until someone manually finds and deletes it, turning a single bad upload into a recurring outage. There's no CISA KEV listing, no EPSS data, and no public exploit or scanner template, so opportunistic exploitation is unlikely; the realistic threat is an insider or a compromised CI/CD credential with source-map write access. Downstream package exposure is minimal (0 tracked dependents), but for any team running APM Server to monitor AI/LLM service latency and health, this is a monitoring blind-spot risk, not a data-loss one. Action: patch to the versions in Elastic's advisory (8.19.20 / 9.4.5 / 9.5.1), audit who holds source-map write permissions, and if you suspect exploitation, locate and purge stored source maps before restarting the service to break the crash loop.
Is CVE-2026-78594 actively exploited?
No confirmed active exploitation of CVE-2026-78594 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-78594?
1) Upgrade to the patched APM Server releases referenced in Elastic's advisory (8.19.20, 9.4.5, 9.5.1). 2) Audit and restrict who/what holds write access to source map content — scope it to trusted CI/CD service accounts only, not broad developer roles. 3) If compromise is suspected, before restarting the server, locate and delete any anomalous or unusually large/highly-compressed source map artifacts in storage to break the crash-loop. 4) Monitor for repeated OOM kills or crash-restart loops on APM Server instances as a detection signal. 5) Apply general decompression-bomb hygiene (size/ratio limits) if self-managing source map ingestion.
What systems are affected by CVE-2026-78594?
This vulnerability affects the following AI/ML architecture patterns: observability/monitoring pipelines for AI services, CI/CD source map ingestion.
What is the CVSS score for CVE-2026-78594?
CVE-2026-78594 has a CVSS v3.1 base score of 4.9 (MEDIUM). The EPSS exploitation probability is 0.50%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0034.001Resource-Intensive QueriesCompliance Controls Affected
What are the technical details?
Original Advisory
Improper Handling of Highly Compressed Data (CWE-409) in APM Server can lead to a persistent denial of service via Excessive Allocation (CAPEC-130). An authenticated user with write access to source map content could store specially crafted, highly compressed content that exhausts the memory available to APM Server when it is later processed, terminating the process. The condition recurs on every restart until the stored content is removed.
Exploitation Scenario
An attacker obtains valid credentials with write access to the source map endpoint — for example, a leaked CI/CD API key used to publish build artifacts. They upload a specially crafted, highly compressed file designed to expand to an enormous size on decompression (a classic decompression-bomb pattern). When APM Server later processes this stored content, it attempts to allocate memory proportional to the decompressed size, exhausts available memory, and the process is killed. Because the malicious file remains in storage, the exact same crash recurs immediately on every subsequent restart, producing a persistent denial of service that silently degrades or disables observability for every service — including AI/LLM services — that the APM Server instance was monitoring, until an administrator manually identifies and removes the offending artifact.
Weaknesses (CWE)
CWE-409Improper Handling of Highly Compressed Data (Data Amplification)CWE-409Improper Handling of Highly Compressed Data (Data Amplification)CWE-409 — Improper Handling of Highly Compressed Data (Data Amplification): The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HTimeline
Related Vulnerabilities
CVE-2026-468589.1Oracle APM: unauthenticated write/DoS via JVM Diagnostics
Same package: apmCVE-2026-579478.5Pinpoint APM: SSRF via alarm webhook registration
Same package: apmCVE-2022-292637.8F5 BIG-IP APM: insecure temp files enable local privesc
Same package: apmCVE-2026-455397.4Microsoft APM: symlink attack leaks host files in agent deps
Same package: apmCVE-2026-579486.8Pinpoint: insecure JWT cookie enables session hijacking
Same package: apm