CVE-2025-58355: Soft Serve vulnerable to arbitrary file writing through SSH API
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: It should have created a file in /tmp/pwned.
Published Sep 2, 2025 · Updated Sep 4, 2025
Affected packages
github.com/charmbracelet/soft-serve
- Ecosystem
- Go
- Affected
- < 0.10.0
- Fixed in
- 0.10.0
- Check
go list -m github.com/charmbracelet/soft-serve
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
ssh -p23231 localhost repo commit icecream -- --output=/tmp/pwnedIt should have created a file in /tmp/pwned.
Credited to msanft, caarlos0.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-f3fj-9625-rv3m
charmbracelet/soft-serve: Race in `SetPrivate` leaves a private repository readable by unauthenticated users
medium5.9Oct 30, 2026GHSA-fgxm-5hvv-x4vh
charmbracelet/soft-serve HTTP responses disclose the existence and names of private repositories
medium5.3Oct 30, 2026CVE-2026-33353
In Soft Serve, an authenticated repo import can clone server-local private repositories
high7.1Mar 19, 2026CVE-2026-30832
soft-serve vulnerable to SSRF via unvalidated LFS endpoint in repo import
critical9.1Mar 6, 2026CVE-2026-24058
Soft Serve Affected by an Authentication Bypass
high8.1Jan 21, 2026CVE-2026-22253
Soft Serve is missing an authorization check in LFS lock deletion
medium5.4Jan 8, 2026
