{"id":"CVE-2026-27800","state":"PUBLISHED","title":"Zed has Zip Slip Path Traversal in Extension Archive Extraction","description":"Zed, a code editor, has a Zip Slip (Path Traversal) vulnerability exists in its extension archive extraction functionality prior to version 0.224.4. The `extract_zip()` function in `crates/util/src/archive.rs` fails to validate ZIP entry filenames for path traversal sequences (e.g., `../`). This allows a malicious extension to write files outside its designated sandbox directory by downloading and extracting a crafted ZIP archive. Version 0.224.4 fixes the issue.","publishedAt":"2026-02-25T23:25:45.400Z","updatedAt":"2026-02-26T17:04:50.704Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["zed-industries zed"],"affected":[{"vendor":"zed-industries","product":"zed","versions":[{"version":"< 0.224.4","status":"affected"}]}],"references":["https://github.com/zed-industries/zed/security/advisories/GHSA-v385-xh3h-rrfr"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27800.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27800","state":"PUBLISHED","datePublished":"2026-02-25T23:25:45.400Z","dateUpdated":"2026-02-26T17:04:50.704Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-24T02:31:33.266Z"},"containers":{"cna":{"title":"Zed has Zip Slip Path Traversal in Extension Archive Extraction","descriptions":[{"lang":"en","value":"Zed, a code editor, has a Zip Slip (Path Traversal) vulnerability exists in its extension archive extraction functionality prior to version 0.224.4. The `extract_zip()` function in `crates/util/src/archive.rs` fails to validate ZIP entry filenames for path traversal sequences (e.g., `../`). This allows a malicious extension to write files outside its designated sandbox directory by downloading and extracting a crafted ZIP archive. Version 0.224.4 fixes the issue."}],"affected":[{"vendor":"zed-industries","product":"zed","versions":[{"version":"< 0.224.4","status":"affected"}]}],"references":[{"url":"https://github.com/zed-industries/zed/security/advisories/GHSA-v385-xh3h-rrfr","name":"https://github.com/zed-industries/zed/security/advisories/GHSA-v385-xh3h-rrfr","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-25T23:25:45.400Z"},"source":{"advisory":"GHSA-v385-xh3h-rrfr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-26T17:04:30.745582Z","id":"CVE-2026-27800","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T17:04:50.704Z"}}]}}}