GitHub Advisoryadvisory · Go
GHSA-j4jw-m6xr-fv6c Soft Serve vulnerable to path traversal attacks
MEDIUM
Official page ↗
- Aliases
- CVE-2025-22130
- Ecosystem
- Go
- Packages
- github.com/charmbracelet/soft-serve
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- Weaknesses
- CWE-22
- Reviewed
- 2025-01-08
Affected packages
• Go github.com/charmbracelet/soft-serve: < 0.8.2 → fixed in 0.8.2
Description
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.
Related
Alias · CVE (1)
- CVE-2025-22130 Soft Serve is a self-hostable Git server for the command line. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-j4jw-m6xr-fv6c web
- https://nvd.nist.gov/vuln/detail/CVE-2025-22130 advisory
- https://github.com/charmbracelet/soft-serve/commit/a8d1bf3f9349c138383b65079b7b8ad97fff78f4 web
- https://github.com/charmbracelet/soft-serve package
- https://github.com/charmbracelet/soft-serve/releases/tag/v0.8.2 web