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-89316`LoadPublicKey` resolved an EC key's curve with an unchecked…6.3
- CVE-2026-89317gose parsed the JWS `crit` header into `JwsHeader.Crit` and …6.3
- CVE-2026-89318`JweRsaKeyEncryptionDecryptorImpl.Decrypt` passed the JWE's …6.9
- CVE-2026-89319`JweDirectDecryptorBlock.Decrypt` read a 64-bit plaintext le…6.3
- CVE-2026-8932libcurl would reuse a previously created connection even whe…7.5
- CVE-2026-89320`HmacShaCryptor.Hash` never hashed its input. For any input …8.8
- CVE-2026-89322Vault and Vault Enterprise did not consistently evaluate ACL…7.2
- CVE-2026-89324The Basel Post Types plugin for WordPress is vulnerable to A…9.8
- CVE-2026-89325An uncontrolled search path element in InsightVM assessment …7.8
- CVE-2026-89326Origin Validation Error vulnerability in Apache XML Graphics…
- 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
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
