CVE-2025-58355 – github.com/charmbracelet/soft-serve
Package
Manager: go
Name: github.com/charmbracelet/soft-serve
Vulnerable Version: >=0 <0.10.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00037 pctl0.09752
Details
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: ```sh ssh -p23231 localhost repo commit icecream -- --output=/tmp/pwned ``` It should have created a file in `/tmp/pwned`.
Metadata
Created: 2025-09-02T19:43:03Z
Modified: 2025-09-04T13:52:03Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-33pr-m977-5w97/GHSA-33pr-m977-5w97.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-33pr-m977-5w97
Finding: F063
Auto approve: 1