GHSA-j4jw-m6xr-fv6c
Soft Serve vulnerable to path traversal attacks
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/charmbracelet/soft-serve | < 0.8.2 | 0.8.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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](https://github.com/charmbracelet/soft-serve/releases/tag/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.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-j4jw-m6xr-fv6c
- https://nvd.nist.gov/vuln/detail/CVE-2025-22130
- https://github.com/charmbracelet/soft-serve/commit/a8d1bf3f9349c138383b65079b7b8ad97fff78f4
- https://github.com/charmbracelet/soft-serve
- https://github.com/charmbracelet/soft-serve/releases/tag/v0.8.2