Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/charmbracelet/soft-serve
  4. ›
  5. CVE-2025-58355

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

September 2, 2025 (updated September 4, 2025)

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.

References

  • github.com/advisories/GHSA-33pr-m977-5w97
  • github.com/charmbracelet/soft-serve
  • github.com/charmbracelet/soft-serve/security/advisories/GHSA-33pr-m977-5w97
  • nvd.nist.gov/vuln/detail/CVE-2025-58355

Code Behaviors & Features

Detect and mitigate CVE-2025-58355 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.10.0

Fixed versions

  • 0.10.0

Solution

Upgrade to version 0.10.0 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/charmbracelet/soft-serve/CVE-2025-58355.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:13 +0000.