CVE-2026-89321
Last modified
CVE-2026-89321 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. Publishing limits the compressed size of a VSIX (ovsx.publishing.max-content-size, 512 MB by default) but nothing limited how large an entry becomes when opened. On the first request to /vscode/unpkg/{namespace}/{extension}/{version}/{path}, WebResourceService opened the entry with ZipFile.getInputStream() and passed the decompressed stream to Files.copy(), which ran to the end of the stream without counting bytes written. The result was cached under java.io.tmpdir, and that cache evicted by entry count (150), not by size, so it placed no bound on disk usage. A publisher with access only to their own namespace could therefore upload a small, highly compressible VSIX and cause the server to write far larger files to the temp filesystem — repeating with different files or versions, since a repeat request is served from the cache. Impact observed: the temp filesystem filled; requests for files not already cached returned 500 with No space left on device; a failed extraction left a partial cache file that blocked later attempts at that path; publishing failed with Failed to read extension file. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
Publishing limits the compressed size of a VSIX (ovsx.publishing.max-content-size, 512 MB by default) but nothing limited how large an entry becomes when opened. On the first request to /vscode/unpkg/{namespace}/{extension}/{version}/{path}, WebResourceService opened the entry with ZipFile.getInputStream() and passed the decompressed stream to Files.copy(), which ran to the end of the stream without counting bytes written. The result was cached under java.io.tmpdir, and that cache evicted by entry count (150), not by size, so it placed no bound on disk usage. A publisher with access only to their own namespace could therefore upload a small, highly compressible VSIX and cause the server to write far larger files to the temp filesystem — repeating with different files or versions, since a repeat request is served from the cache. Impact observed: the temp filesystem filled; requests for files not already cached returned 500 with No space left on device; a failed extraction left a partial cache file that blocked later attempts at that path; publishing failed with Failed to read extension file. Metadata and already-cached files kept working, and the server did not stop. Triggering the extraction needs no authentication — only the upload does.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Eclipse Foundation | Eclipse OpenVSX | >= 0.20.0, < 1.2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-89321?
How severe is CVE-2026-89321?
How do I fix CVE-2026-89321?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89282The Apache Lounge Windows distribution of Apache HTTP Server…9.1
- CVE-2026-89298A flaw was found in the Dynamic Client Registration service …4.9
- CVE-2026-89307The "Firma Circolare" feature in the "Design Scuole Italia" …5.1
- CVE-2026-89308An unauthenticated OS command injection vulnerability exists…9.3
- CVE-2026-8931A critical Remote Code Execution (RCE) vulnerability exists …9.4
- CVE-2026-8932libcurl would reuse a previously created connection even whe…7.5
- CVE-2026-89325An uncontrolled search path element in InsightVM assessment …7.8
- CVE-2026-89327The FluentBoards WordPress plugin before 2.0.15 does not ve…3.8
- CVE-2026-89328The FluentBoards WordPress plugin before 2.0.15 does not pr…3.8
- CVE-2026-89329A flaw was found in `multipathd`. A local attacker with acce…6.2
- CVE-2026-8933A local privilege escalation vulnerability exists in snap-co…7.8
- CVE-2026-89330The EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Revie…6.1
Are you affected by CVE-2026-89321?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
