Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-40303 is a high-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Netfoundry Zrok. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SC-5 (Denial-of-service Protection) and SC-6 (Resource Availability) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-40303 is a vulnerability in zrok, an open-source software for sharing web services, files, and network resources. Prior to version 2.0.1, the endpoints.GetSessionCookie function parses an attacker-supplied cookie chunk count and allocates a slice using make([]string, count) without any upper bound check before performing token validation. This flaw affects both publicProxy and dynamicProxy components and has a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), mapped to CWEs-400 (Uncontrolled Resource Consumption) and CWE-789 (Memory Allocation with Excessive Size Value).
An unauthenticated remote attacker can exploit this vulnerability by sending crafted requests to any OAuth-protected proxy share, as the function executes on every such request. By specifying an excessively large chunk count, the attacker triggers gigabyte-scale heap allocations, resulting in process-level out-of-memory (OOM) termination or repeated goroutine panics, causing denial-of-service.
The issue is addressed in zrok version 2.0.1, which patches the unbounded allocation. Details are available in the project's release notes at https://github.com/openziti/zrok/releases/tag/v2.0.1 and the security advisory at https://github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-23550
Vulnerability Data
zrok is software for sharing web services, files, and network resources. Prior to version 2.0.1, endpoints.GetSessionCookie parses an attacker-supplied cookie chunk count and calls make([]string, count) with no upper bound before any token validation occurs. The function is reached on…
more
every request to an OAuth-protected proxy share, allowing an unauthenticated remote attacker to trigger gigabyte-scale heap allocations per request, leading to process-level OOM termination or repeated goroutine panics. Both publicProxy and dynamicProxy are affected. Version 2.0.1 patches the issue.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.
SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.
Input validation directly rejects or bounds untrusted size values before any allocation occurs.
Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly prevent coding flaws that trust unvalidated size values for allocations.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.
Security testing in development can detect and block excessive allocation flaws before deployment.
Training technical teams on secure coding practices (the education/training portion of A.6.3) can reduce instances of unchecked memory allocation by raising developer awareness of input validation for size values, but the effect is a minority one — the same human-practice ceiling that caps A.8.28 on CWE-502 and CWE-79, and that graded A.6.3 partial on CWE-598.
A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.
Secure coding standards directly prohibit allocating memory from untrusted size values without validation.
A.8.30 carries its preventive effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation defects like CWE-789 in delivered code the way those practices do, at `partial` -- the clause's ceiling on this verb.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.