Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Envoy listener with OAuth2 filter configured
-
DeliverySend HTTP request to OAuth2-protected route triggering async token exchange
-
ExploitAbruptly tear down downstream connection mid-exchange
-
ExecutionLate AsyncClient callback dereferences freed StreamDecoderFilterCallbacks
-
ImpactEnvoy worker process crashes (availability loss)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target Envoy instance has the HTTP OAuth2 filter (envoy.filters.http.oauth2) explicitly configured in at least one HTTP filter chain - Envoy does not enable this filter by default. The OAuth2 token endpoint must be reachable (so the async exchange actually initiates) and the attacker must be able to close the downstream connection while that exchange is in-flight. No authentication is required per CVSS PR:N. The timing race (AC:H) means exploitation is not trivially automated - the disconnect must race the async callback completion window, which varies with token endpoint latency. Envoy deployments not using the OAuth2 filter, and those running versions 1.37.5+, 1.38.3+, or outside the 1.37.x/1.38.x lines, are not exposed to this condition. |
| Impact | The NVD CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) is well-calibrated: the network vector and absence of privilege requirements accurately capture that any remote client can attempt to trigger the condition, while AC:H reflects the inherent timing dependency of the race. No EPSS score was supplied, no CISA KEV listing exists, and no POC code is known - all three signals align toward low current exploitation likelihood. The 'RCE' tag attached to this CVE is directly contradicted by the description, which states 'Remote code execution is not claimed here'; treating that tag as authoritative would be a significant misread. The 'Microsoft' tag also appears erroneous for an envoyproxy artifact and should be disregarded. Real-world priority is moderate for organizations running Envoy 1.37.x or 1.38.x with the OAuth2 filter enabled on internet-facing or high-traffic listeners, since repeated successful races could cause sustained worker unavailability. Deployments not using the OAuth2 filter are entirely unaffected regardless of version. |
| Exploit ScenarioDerived | An unauthenticated remote client sends a request to an Envoy listener with the OAuth2 filter active, causing the filter to initiate an async token exchange with the configured token endpoint. The client immediately closes the TCP connection while the exchange is in-flight, racing the connection teardown against the async callback. If the race is won, the AsyncClient completion fires after the downstream stream is destroyed and dereferences the freed StreamDecoderFilterCallbacks object, crashing the Envoy worker thread. No public POC exists; reliably winning the race requires network timing precision or high request volume to increase collision probability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
Use-after-free in Envoy's HTTP OAuth2 filter (envoy.filters.http.oauth2) across versions 1.37.0-1.37.4 and 1.38.0-1.38.2 enables unauthenticated remote attackers to crash Envoy worker threads by racing a connection teardown against an in-flight async token exchange. When a downstream client disconnects while the filter is awaiting an async OAuth2 token response, the late AsyncClient callback invokes StreamDecoderFilterCallbacks on an already-freed object, producing undefined behavior and worker crashes. The reporter explicitly disclaims RCE - confirmed impact is availability loss (DoS); allocator-dependent memory corruption effects beyond crash are theoretically possible but not demonstrated. No public exploit or CISA KEV listing identified at time of analysis.
RemediationAI
Upgrade to Envoy 1.37.5 (for deployments on the 1.37.x branch) or 1.38.3 (for deployments on the 1.38.x branch) as released by the vendor and documented at https://github.com/envoyproxy/envoy/security/advisories/GHSA-3cj2-c63f-q26f. If immediate upgrade is operationally blocked, disable the HTTP OAuth2 filter (envoy.filters.http.oauth2) across all listener filter chains - this eliminates the vulnerable code path entirely but removes OAuth2 token exchange capability, requiring an alternative authentication mechanism such as an external auth filter or sidecar. A narrower compensating control is to restrict access to OAuth2-protected routes at the network or load-balancer level to trusted internal clients only, reducing the population of clients that can race a connection teardown; this does not eliminate the race condition but materially reduces attack surface for internet-facing deployments. No version outside the 1.37.x and 1.38.x lines requires remediation based on available data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Envoy's HTTP OAuth2 filter (envoy.filters.http.oauth2) mediates token exchanges by issuing async HTTP subrequests to an upstream token endpoint via an AsyncClient. The filter retains a callback handle tied to the active downstream stream's StreamDecoderFilterCallbacks. CWE-416 (Use After Free) arises because when the downstream connection is torn down - e.g., client abort - the stream and its associated StreamDecoderFilterCallbacks are destroyed, but the in-flight AsyncClient completion is not cancelled or detached. When the async response arrives, the filter's OnSuccess/OnFailure methods dereference the freed callbacks object, violating object lifetime guarantees. Under AddressSanitizer this surfaces as invalid-vptr failures; in production builds it produces non-deterministic undefined behavior, most commonly manifesting as a worker process crash. The affected CPE is cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* covering the 1.37.x and 1.38.x lines prior to their respective fixes.
Know when Envoy 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
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N and PR:N because any remote client can trigger the race; AC:H for the timing dependency; A:H for worker crash; C:N and I:N because RCE is explicitly disclaimed by the reporter.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Envoy is an open source edge and service proxy designed for cloud-native applications. From 1.37.0 until 1.37.5 and 1.38.3, the HTTP OAuth2 filter (envoy.filters.http.oauth2) can leave an in-flight async token exchange attached to a downstream stream that has already been torn down. A late AsyncClient completion can still invoke OAuth2Filter methods that use StreamDecoderFilterCallbacks after that object’s lifetime has ended, causing undefined behavior, worker crashes (availability loss), and use-after-free / invalid-vptr failures under AddressSanitizer. This is a memory-safety / lifetime issue in the data plane, not a trivial config bug. Remote code execution is not claimed here; the primary demonstrated impact is DoS via crash and UB; any further impact would be deployment- and allocator-dependent. This vulnerability is fixed in 1.37.5 and 1.38.3.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Remote code execution is possible in Node.js releases that bundle a vulnerable Brotli decoder: a malformed brotli-compre
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.8
An issue was discovered in Envoy 1.12.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
An issue was discovered in Envoy 1.12.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1
Envoy through 1.15.0 only considers the first value when multiple header values are present for some HTTP headers. Rated
When parsing HTTP/1.x header values, Envoy 1.9.0 and before does not reject embedded zero characters (NUL, ASCII 0x0). R
Envoy is a cloud-native, open source edge and service proxy. Rated high severity (CVSS 7.5), this vulnerability is remot
Envoy is a cloud-native, open source edge and service proxy. Rated high severity (CVSS 7.5), this vulnerability is remot
Same weakness CWE-416 – Use After Free
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-39830
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB