Advisory

GHSA-fv2r-r8mp-pg48

Also known as: CVE-2025-64494, GO-2025-4106

Summary

Soft Serve does not sanitize ANSI escape sequences in user input

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-06 23:48 UTC
Modified
2025-11-17 21:49 UTC

Affected packages and fixes

github.com/charmbracelet/soft-serve

Go · All systems

Affected

  • introduced 0, fixed 0.11.0 (semver)

Fixed versions

0.11.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences