CVE-2025-64494
Soft Serve does not sanitize ANSI escape sequences in user input
Impact
### Impact In several places where the user can insert data (e.g. names), ANSI escape sequences are not being removed, which can then be used, for example, to show fake alerts. In the same token, git messages, when printed, are also not being sanitized. Places in which this was found: 1. Repository Description (pkg/backend/repo.go - SetDescription) 2. Repository Project Name (pkg/backend/repo.go - SetProjectName) 3. Git Commit Author Names (pkg/ssh/cmd/commit.go:69) 4. Git Commit Messages (pkg/ssh/cmd/commit.go:71) 5. Access Token Names (pkg/ssh/cmd/token.go:107) 6. Webhook URLs (pkg/ssh/cmd/webhooks.go:72) ### Patches v0.11.0 ### Workarounds No. ### References n/a
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/charmbracelet/soft-serve | <= 0.10.0 | 0.11.0 |
Affected products
| Product | Affected versions |
|---|---|
| Versions | before 0.10.0 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/charmbracelet/soft-serve/commit/d9639320b8d0ccd76fe6836a042c042b0ebde549
- https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-fv2r-r8mp-pg48
- https://github.com/advisories/GHSA-fv2r-r8mp-pg48
- https://nvd.nist.gov/vuln/detail/CVE-2025-64494