Advisory

GHSA-33pr-m977-5w97

Also known as: CVE-2025-58355, GO-2025-3930

Summary

Soft Serve vulnerable to arbitrary file writing through SSH API

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-09-02 19:43 UTC
Modified
2025-09-08 14:59 UTC

Affected packages and fixes

github.com/charmbracelet/soft-serve

Go · All systems

Affected

  • introduced 0, fixed 0.10.0 (semver)

Fixed versions

0.10.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences