{"answers":{"affected":"3 open source packages ship an affected version, including github.com/charmbracelet/soft-serve. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-22130 in the wild and no public exploit code.","fix":"Upgrade github.com/charmbracelet/soft-serve to 0.8.2 or later.","what":"CVE-2025-22130 is a medium-severity path traversal vulnerability in charmbracelet soft-serve, published on 8 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-22130 and fix it if it is affected.\n\nWhat it is: CVE-2025-22130 is a medium-severity path traversal vulnerability in charmbracelet soft-serve, published on 8 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-22130 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/charmbracelet/soft-serve (Go): affected all versions; fixed in 0.8.2\n- github.com/charmbracelet/soft-serve (Go): affected all versions; fixed in 0.8.2\n- github.com/charmbracelet/soft-serve (Go): affected all versions; fixed in 0.8.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-22130/ (Markdown: https://insights.sbomify.com/CVE-2025-22130/index.md)","id":"CVE-2025-22130","markdown":"https://insights.sbomify.com/CVE-2025-22130/index.md","name":"CVE-2025-22130","record":{"aliases":["GHSA-j4jw-m6xr-fv6c","GO-2025-3374"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Git server","requires_auth":"low_privilege","summary":"Attackers can exploit path traversal to access and modify other users' repositories, effectively gaining admin privileges without authorization.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"soft_serve","vendor":"charm"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Soft Serve is a self-hostable Git server for the command line. Prior to 0.8.2 , a path traversal attack allows existing non-admin users to access and take over other user's repositories. A malicious user then can modify, delete, and arbitrarily repositories as if they were an admin user without explicitly giving them permissions. This is patched in v0.8.2.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Soft Serve allows path traversal attacks","id":"CVE-2025-22130","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"Cross-Site Scripting (XSS) vulnerability in generateNavigation() function","id":"CVE-2025-22131"},"packages":[{"ecosystem":"Go","fixed":["0.8.2"],"introduced":["0"],"last_affected":[],"package":"github.com/charmbracelet/soft-serve","purl":null,"source":"GHSA-j4jw-m6xr-fv6c"},{"ecosystem":"Go","fixed":["0.8.2"],"introduced":["0"],"last_affected":[],"package":"github.com/charmbracelet/soft-serve","purl":"pkg:golang/github.com/charmbracelet/soft-serve","source":"GHSA-j4jw-m6xr-fv6c"},{"ecosystem":"Go","fixed":["0.8.2"],"introduced":["0"],"last_affected":[],"package":"github.com/charmbracelet/soft-serve","purl":"pkg:golang/github.com/charmbracelet/soft-serve","source":"GO-2025-3374"}],"prev":{"headline":"Initial effort field does not respect field permissions in the Taskboard REST card representation in Tuleap","id":"CVE-2025-22129"},"products":["soft-serve"],"published":"2025-01-08","related":[{"cvss_score":9.1,"headline":"Soft Serve: SSRF via unvalidated LFS endpoint in repo import","id":"CVE-2026-30832","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":9.1,"headline":"Soft Serve is vulnerable to SSRF through its Webhooks","id":"CVE-2025-64522","kev_date_added":null,"published":"2025-11-10"},{"cvss_score":8.1,"headline":"Soft Serve has Critical Authentication Bypass","id":"CVE-2026-24058","kev_date_added":null,"published":"2026-01-22"},{"cvss_score":7.5,"headline":"Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled","id":"CVE-2023-43809","kev_date_added":null,"published":"2023-10-04"},{"cvss_score":7.1,"headline":"Soft Serve: Authenticated repo import can clone server-local private repositories","id":"CVE-2026-33353","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":5.4,"headline":"Soft Serve is missing an authorization check in LFS lock deletion","id":"CVE-2026-22253","kev_date_added":null,"published":"2026-01-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-08","vendors":["charmbracelet"]},"summary":"Attackers can exploit path traversal to access and modify other users' repositories, effectively gaining admin privileges without authorization.","url":"https://insights.sbomify.com/CVE-2025-22130/"}