CVE-2025-22130
JSON

5.3medium

Soft Serve allows path traversal attacks

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.70% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-j4jw-m6xr-fv6cGO-2025-3374

Description

Soft Serve is a self-hostable Git server for the command line. Prior to 0.8.2 , a path traversal attack allows existing non-admin users to access and take over other user's repositories. A malicious user then can modify, delete, and arbitrarily repositories as if they were an admin user without explicitly giving them permissions. This is patched in v0.8.2.

Affected

Product or packageVersionsReported by
charmbracelet soft-serve< 0.8.2CVE List
github.com/charmbracelet/soft-serve (Go)before 0.8.2GitHub Advisory Database, Go Vulnerability Database
charm soft_servebefore 0.8.2NVD

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Soft Serve is a self-hostable Git server for the command line. Prior to 0.8.2 , a path traversal attack allows existing non-admin users to access and take over other user's repositories. A malicious user then can modify, delete, and arbitrarily repositories as if they were an admin user without explicitly giving them permissions. This is patched in v0.8.2.

GitHub Advisory Database
Impact

Path traversal attack gives access to existing non-admin users to access and take over other user's repositories. A malicious user then can modify, delete, and arbitrarily repositories as if they were an admin user without explicitly giving them permissions.

Patches

This is patched in v0.8.2

Workarounds

Single user set-ups are not affected. This only affects multi-user Soft Serve set-ups that enable repository creation for users. Otherwise, upgrading is necessary to circumvent the attack.

Go Vulnerability Database

Soft Serve vulnerable to path traversal attacks in github.com/charmbracelet/soft-serve

NVD (es)

Soft Serve es un servidor Git autoalojado para la línea de comandos. Antes de la versión 0.8.2, un ataque de path traversal permite a los usuarios no administradores existentes acceder y tomar el control de los repositorios de otros usuarios. Un usuario malintencionado puede modificar, eliminar y acceder a repositorios de forma arbitraria como si fuera un usuario administrador sin darles permisos explícitos. Esto se solucionó en la versión 0.8.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-22130 changed 2025-01-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-j4jw-m6xr-fv6c changed 2025-01-08CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3374 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-22130 changed 2026-06-17Public domain