Soft Serve Git Server Arbitrary File Write Vulnerability via SSH API

Vulnerability

A vulnerability in Soft Serve, a self-hostable Git server, allows attackers to create or overwrite arbitrary files with uncontrolled data through its SSH API. This issue affects versions of Soft Serve through 0.9.1 and has been patched in version 0.10.0.

Impact

Exploitation of this vulnerability allows for arbitrary file creation or modification, potentially leading to unauthorized data manipulation or execution of malicious scripts, depending on the file's nature and location.

Reproduction

To reproduce this vulnerability, deploy an instance of Soft Serve version 0.9.1 or earlier. Once the server is running, use an SSH command to commit a file to a repository while specifying an output file path that points to a writable location, such as the /tmp directory. The command will create a file in the specified location, demonstrating the arbitrary file write capability.

Remediation

Users can upgrade to Soft Serve version 0.10.0 to address this vulnerability.

Added: Sep 4, 2025, 10:54 AM
Updated: Sep 4, 2025, 4:08 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
7.7
relevance
0.5
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.