Summary
CVE-2026-38600 is a Zip Slip (path traversal, CWE-22) vulnerability in the /upload endpoint of codeskyblue gohttpserver. An attacker can write arbitrary files on the server by uploading a crafted ZIP archive. The CVE record rates it Critical (CVSS 9.8).
Technical details
- Root cause: when a ZIP archive is extracted, file paths inside the archive are not properly validated or contained, so entries with path traversal sequences can land outside the intended directory.
- Trigger conditions: the upload feature must be enabled (the
--uploadflag, per the project issue tracker). - Attack vector: network. The CVE vector indicates no privileges and no user interaction are required. The attacker uploads a crafted ZIP archive to
/upload. - Impact: arbitrary file write on the host. The project issue report states this could lead to remote code execution.
Affected software
- codeskyblue gohttpserver through v1.3.0
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: no official fix has been released by the maintainer, and the project is described as unmaintained. A community fork proposes patches (including path containment checks) in PR #233. Review and validate it before relying on it.
- Workarounds: disable the upload feature (do not run with
--upload) where it is not needed. Do not expose affected instances to untrusted networks. Restrict access to/uploadwith network controls or a reverse proxy. Run the service with a least-privileged account and a restricted file system. - The same release range is also affected by CVE-2026-38601 (hardcoded session secret), so review authentication exposure as well.

