NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-58355: Soft Serve vulnerable to arbitrary file writing through SSH API

highCVSS 3.1 7.7GHSA-33pr-m977-5w97

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/pwned

It 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 entries