CVE-2025-64494: Soft Serve does not sanitize ANSI escape sequences in user input
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.
Published Nov 6, 2025 · Updated Nov 15, 2025
Affected packages
github.com/charmbracelet/soft-serve
- Ecosystem
- Go
- Affected
- <= 0.10.0
- Fixed in
- 0.11.0
- Check
go list -m github.com/charmbracelet/soft-serve
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
- Repository Description (pkg/backend/repo.go - SetDescription)
- Repository Project Name (pkg/backend/repo.go - SetProjectName)
- Git Commit Author Names (pkg/ssh/cmd/commit.go:69)
- Git Commit Messages (pkg/ssh/cmd/commit.go:71)
- Access Token Names (pkg/ssh/cmd/token.go:107)
- Webhook URLs (pkg/ssh/cmd/webhooks.go:72)
Patches
v0.11.0
Workarounds
No.
References
n/a
Credited to Tomer-PL, caarlos0.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-f3fj-9625-rv3m
charmbracelet/soft-serve: Race in `SetPrivate` leaves a private repository readable by unauthenticated users
medium5.9Oct 30, 2026GHSA-fgxm-5hvv-x4vh
charmbracelet/soft-serve HTTP responses disclose the existence and names of private repositories
medium5.3Oct 30, 2026CVE-2026-33353
In Soft Serve, an authenticated repo import can clone server-local private repositories
high7.1Mar 19, 2026CVE-2026-30832
soft-serve vulnerable to SSRF via unvalidated LFS endpoint in repo import
critical9.1Mar 6, 2026CVE-2026-24058
Soft Serve Affected by an Authentication Bypass
high8.1Jan 21, 2026CVE-2026-22253
Soft Serve is missing an authorization check in LFS lock deletion
medium5.4Jan 8, 2026
