github.com/charmbracelet/soft-serve
Affected
- introduced
0, fixed0.10.0(semver)
Fixed versions
0.10.0
Fix
- Fixed version
0.10.0go get github.com/charmbracelet/[email protected]
Advisory
Also known as: CVE-2025-58355, GO-2025-3930
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:
ssh -p23231 localhost repo commit icecream -- --output=/tmp/pwned
It should have created a file in /tmp/pwned.
High Basis: The source's own band: HIGH
0, fixed 0.10.0 (semver)0.10.0
0.10.0go get github.com/charmbracelet/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0