# CVE-2024-41956: Soft Serve allows arbitrary code execution by crafting git-lfs requests

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-08-01T22:07:32.899Z
- Modified: 2026-06-17T07:48:31.510Z
- Also known as: GHSA-m445-w3xr-vp2f, GO-2024-3019
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- charmbracelet soft-serve: < 0.7.5; before 0.7.5
- github.com/charmbracelet/soft-serve (Go): before 0.7.5

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-m445-w3xr-vp2f> (advisory, web)
- <https://github.com/charmbracelet/soft-serve/commit/4daebdd422a6ba8c04162d023f8be355a8fe3184> (fix, web)
- <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)

## Sources

- CVE List: [CVE-2024-41956](https://www.cve.org/CVERecord?id=CVE-2024-41956), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-m445-w3xr-vp2f](https://github.com/advisories/GHSA-m445-w3xr-vp2f), CC-BY-4.0, modified 2024-08-07
- Go Vulnerability Database: [GO-2024-3019](https://pkg.go.dev/vuln/GO-2024-3019), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-41956](https://nvd.nist.gov/vuln/detail/CVE-2024-41956), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41956 · Whole record: https://cve.day/CVE-2024-41956.json · Rebuilt by cve.day 2026-11-25T22:58:43.530Z
