GitHub Advisoryadvisory · Go

GHSA-j4jw-m6xr-fv6c Soft Serve vulnerable to path traversal attacks

MEDIUM Published 2025-01-08 Modified 2025-01-08 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