CVE-2024-41956
HIGH 8.1CVSS 3.1soft-serve vulnerable to arbitrary code execution by crafting git-lfs requests
Soft Serve is a self-hostable Git server for the command line. Prior to 0.7.5, it is possible for a user who can commit files to a repository hosted by Soft Serve to execute arbitrary code via environment manipulation and Git. The issue is that Soft Serve passes all environment variables given by the client to git subprocesses. This includes environment variables that control program execution, such as LD_PRELOAD. This vulnerability is fixed in 0.7.5.
- Published
- 1 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-m445-w3xr-vp2fGO-2024-3019
- Sources
- NVDJSONOSV GHSA-m445-w3xr-vp2fJSONOSV GO-2024-3019JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/charmbracelet/soft-serve | < 0.7.5 | 0.7.5 |
References
- https://github.com/charmbracelet/soft-serve/commit/4daebdd422a6ba8c04162d023f8be355a8fe3184 · WEB, FIX
- https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-m445-w3xr-vp2f · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-41956 · ADVISORY
- https://github.com/charmbracelet/soft-serve · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3019 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 1 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Aug 2024)