{"id":"CVE-2025-58355","aliases":["CVE-2025-58355","GHSA-33pr-m977-5w97","GO-2025-3930"],"related":[],"kind":"vulnerability","state":"published","title":"Soft Serve is vulnerable to arbitrary file writing through its SSH API","summary":"Soft Serve is a self-hostable Git server for the command line. In versions 0.9.1 and below, attackers can create or override arbitrary files with uncontrolled data through its SSH API. This issue is fixed in version 0.10.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Soft Serve is a self-hostable Git server for the command line. In versions 0.9.1 and below, attackers can create or override arbitrary files with uncontrolled data through its SSH API. This issue is fixed in version 0.10.0.","source":"cvelist"},{"lang":"en","text":"Attackers can create/override arbitrary files with uncontrolled data.\n\nFor a PoC, spin up an instance of soft-serve as explained in the README, and execute the following command:\n\n```sh\nssh -p23231 localhost repo commit icecream -- --output=/tmp/pwned\n```\n\nIt should have created a file in `/tmp/pwned`.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Soft Serve vulnerable to arbitrary file writing through SSH API in github.com/charmbracelet/soft-serve","format":"markdown","source":"go"}],"published":"2025-09-02T19:43:03.000Z","modified":"2026-06-17T09:44:21.090Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 0.10.0","status":"affected"}],"vendor":"charmbracelet","product":"soft-serve","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.0"}],"ecosystem":"Go","package":"github.com/charmbracelet/soft-serve","purl":"pkg:golang/github.com/charmbracelet/soft-serve","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.0"}],"ecosystem":"Go","package":"github.com/charmbracelet/soft-serve","purl":"pkg:golang/github.com/charmbracelet/soft-serve","source":"go"}],"references":[{"url":"https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-33pr-m977-5w97","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58355","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/charmbracelet/soft-serve","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-04T14:05:44.519Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58355","url":"https://www.cve.org/CVERecord?id=CVE-2025-58355","licence":"CVE Terms of Use","modified":"2025-09-04T14:05:53.888Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-33pr-m977-5w97","url":"https://github.com/advisories/GHSA-33pr-m977-5w97","licence":"CC-BY-4.0","modified":"2025-09-08T14:59:25.274Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3930","url":"https://pkg.go.dev/vuln/GO-2025-3930","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:27.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58355","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58355","licence":"Public domain","modified":"2026-06-17T09:44:21.090Z"}],"updatedAt":"2026-11-25T22:59:04.101Z","epss":{"score":0.00377,"percentile":0.33724,"date":"2026-12-01T12:00:22.000Z"}}