CVE-2025-64494: Github.com/charmbracelet/soft serve Soft Serve Does Not Sanitize Vulnerability
MODERATECVE-2025-64494 is a MODERATE (CVSS 4.6) soft serve does not sanitize vulnerability (CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences) affecting Github.com/charmbracelet/soft serve libraries in the Go ecosystem. The issue involves soft serve does not sanitize ansi escape sequences in user input. Remediation is available by upgrading affected packages to version 0.11.0.
CVE-2025-64494 at a Glance
Security Impact
CVSS: 4.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2025-64494
To remediate this vulnerability, upgrade all affected Github.com/charmbracelet/soft serve dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/charmbracelet/soft-serve to 0.11.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/charmbracelet/soft-serve
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64494, inspect your project dependencies for Github.com/charmbracelet/soft serve:
inspect dependencies for github.com/charmbracelet/soft-serve
Analyze the terminal output to locate any version of Github.com/charmbracelet/soft serve in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.11.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences, where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component. In Github.com/charmbracelet/soft serve, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64494 Affected Github.com/charmbracelet/soft serve Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/charmbracelet/soft-serve
|
Go |
< 0.11.0
|
0.11.0
|
References
Frequently Asked Questions
What is CVE-2025-64494?
Which Github.com/charmbracelet/soft serve versions are affected?
What version fixes CVE-2025-64494?
Is github.com/charmbracelet/soft-serve affected?
What is the CVSS score of CVE-2025-64494?
What CWE is associated with CVE-2025-64494?
How can I check Go dependencies for CVE-2025-64494?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fv2r-r8mp-pg48",
"modified" : "2025-11-17T21:49:09Z",
"published" : "2025-11-06T23:48:12Z",
"aliases" : [ "CVE-2025-64494" ],
"summary" : "Soft Serve does not sanitize ANSI escape sequences in user input",
"details" : "### Impact\nIn 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.\n\nIn the same token, git messages, when printed, are also not being sanitized.\n\nPlaces in which this was found:\n\n1. Repository Description (pkg/backend/repo.go - SetDescription)\n2. Repository Project Name (pkg/backend/repo.go - SetProjectName)\n3. Git Commit Author Names (pkg/ssh/cmd/commit.go:69)\n4. Git Commit Messages (pkg/ssh/cmd/commit.go:71)\n5. Access Token Names (pkg/ssh/cmd/token.go:107)\n6. Webhook URLs (pkg/ssh/cmd/webhooks.go:72)\n\n### Patches\nv0.11.0\n\n### Workarounds\nNo.\n\n### References\nn/a",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/charmbracelet/soft-serve"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.11.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.10.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-fv2r-r8mp-pg48"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64494"
}, {
"type" : "WEB",
"url" : "https://github.com/charmbracelet/soft-serve/commit/d9639320b8d0ccd76fe6836a042c042b0ebde549"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/charmbracelet/soft-serve"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-150" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-06T23:48:12Z",
"nvd_published_at" : "2025-11-08T02:15:35Z"
}
}