{"id":"CVE-2024-41956","published":"2024-08-01T22:07:32Z","modified":"2024-08-02T14:47:38Z","title":"Soft Serve allows arbitrary code execution by crafting git-lfs requests","vendor":"charmbracelet","product":"soft-serve","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00509,"percentile":0.44378,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-m445-w3xr-vp2f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/charmbracelet/soft-serve/commit/4daebdd422a6ba8c04162d023f8be355a8fe3184","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":8.88},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"charmbracelet","affectedVersions":[{"vendor":"charmbracelet","product":"soft-serve","versions":["< 0.7.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-02T14:45:52.445103Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/charmbracelet/soft-serve","vulnerableRanges":["<0.7.5"],"patched":["0.7.5"],"from":["GHSA-m445-w3xr-vp2f","GO-2024-3019"],"provenance":"source"}],"summary":{"text":"Soft Serve, a self-hostable command-line Git server from charmbracelet, passes all client-supplied environment variables through to its git subprocesses, so variables that control program loading or execution, such as LD_PRELOAD, are not filtered out. An attacker who has write access to a repository hosted on Soft Serve, reachable over the network, can run arbitrary code by crafting git-lfs requests that manipulate these environment variables, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:25Z"},"euvd":{"id":"EUVD-2024-2612","exploited":false,"provenance":"source"}}