{"answers":{"affected":"1 open source package ship an affected version, including git. It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2025-48384 in the wild since at least 25 Aug 2025.","fix":"Upgrade git to 2.50.1 or later. US federal agencies must fix it by 15 Sep 2025.","what":"CVE-2025-48384 is a high-severity code injection vulnerability in Apple Xcode, published on 8 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-48384 and fix it if it is affected.\n\nWhat it is: CVE-2025-48384 is a high-severity code injection vulnerability in Apple Xcode, published on 8 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2025-48384 in the wild since at least 25 Aug 2025.\n\nAffected packages and fixed versions:\n- git (Bitnami): affected all versions; fixed in 2.50.1\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-48384/ (Markdown: https://insights.sbomify.com/CVE-2025-48384/index.md)","id":"CVE-2025-48384","markdown":"https://insights.sbomify.com/CVE-2025-48384/index.md","name":"CVE-2025-48384","record":{"aliases":["ALPINE-CVE-2025-48384","AZL-65043","AZL-65057","BELL-CVE-2025-48384","BIT-git-2025-48384","CLSA-2025-1752655000","CLSA-2025-1752655315","CLSA-2025-1752655539","CLSA-2025-1752655814","CLSA-2025-1752656083","CLSA-2025-1752683103","CLSA-2025-1752748974","CLSA-2025-1753121050","CLSA-2025-1753207140","CLSA-2025-1754411479","CLSA-2026-1788041847","DEBIAN-CVE-2025-48384","ECHO-5396-ec04-a3b9","GHSA-vwqx-4fm8-6qc9","MINI-3pc6-php8-fx8h","RHSA-2025:11688","RHSA-2025:11793","RHSA-2025:11796","RHSA-2025:11800","RHSA-2025:11801","ROOT-OS-DEBIAN-12-CVE-2025-48384","ROOT-OS-UBUNTU-2004-CVE-2025-48384","UBUNTU-CVE-2025-48384"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Git version control","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code via crafted submodule paths and symlinks due to improper config quoting in Git.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"xcode","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"git","vendor":"git-scm"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-436","name":"Interpretation Conflict"}],"description":"Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.","ecosystems":["Bitnami","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_els:7","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_tus:8.6::appstream"],"exploits":{"exploitdb":0,"first_seen":"2025-07-08","github_poc":42,"max_poc_stars":52,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-08T21:56:17Z","kind":"github_poc","ref":"https://github.com/acheong08/CVE-2025-48384","stars":52,"title":"Breaking git with a carriage return and cloning RCE"},{"date":"2025-07-09T16:18:19Z","kind":"github_poc","ref":"https://github.com/liamg/CVE-2025-48384","stars":21,"title":"PoC for CVE-2025-48384"},{"date":"2025-07-11T11:10:17Z","kind":"github_poc","ref":"https://github.com/vinieger/vinieger-CVE-2025-48384-Dockerfile","stars":1,"title":"PoC dockerfile image for CVE-2025-48384"},{"date":"2025-07-20T14:18:30Z","kind":"github_poc","ref":"https://github.com/IK-20211125/CVE-2025-48384","stars":1,"title":"CVE-2025-48384 PoC"},{"date":"2025-08-04T04:56:02Z","kind":"github_poc","ref":"https://github.com/beishanxueyuan/CVE-2025-48384-test","stars":1,"title":null},{"date":"2025-12-04T12:13:01Z","kind":"github_poc","ref":"https://github.com/zr0n/CVE-2025-48384-sub","stars":1,"title":null},{"date":"2025-12-04T12:17:58Z","kind":"github_poc","ref":"https://github.com/zr0n/CVE-2025-48384-main","stars":1,"title":"A proof of concept of remote code execution"},{"date":"2025-07-09T09:11:19Z","kind":"github_poc","ref":"https://github.com/fishyyh/CVE-2025-48384","stars":0,"title":"for CVE-2025-48384 test"}],"tier":"exploited"},"has_fix":true,"headline":"Git Link Following","id":"CVE-2025-48384","indexable":true,"kev":{"dateAdded":"2025-08-25","dueDate":"2025-09-15","knownRansomwareCampaignUse":"Unknown","product":"Git","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Git","vulnerabilityName":"Git Link Following Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":"apple:xcode","products":["apple:xcode","debian:debian_linux"],"type":"code_injection","year":"2025"},"n_packages":159,"n_references":1,"next":{"headline":"Git alllows arbitrary file writes via bundle-uri parameter injection","id":"CVE-2025-48385"},"packages":[{"ecosystem":"Bitnami","fixed":["2.50.1"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:bitnami/git","source":"BIT-git-2025-48384"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-core","purl":"pkg:rpm/redhat/git-core","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-core-debuginfo","purl":"pkg:rpm/redhat/git-core-debuginfo","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-core-doc","purl":"pkg:rpm/redhat/git-core-doc","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-daemon-debuginfo","purl":"pkg:rpm/redhat/git-daemon-debuginfo","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-debugsource","purl":"pkg:rpm/redhat/git-debugsource","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-instaweb","purl":"pkg:rpm/redhat/git-instaweb","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-subtree","purl":"pkg:rpm/redhat/git-subtree","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"git-svn-debuginfo","purl":"pkg:rpm/redhat/git-svn-debuginfo","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"perl-Git-SVN","purl":"pkg:rpm/redhat/perl-Git-SVN","source":"RHSA-2025:11793"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-core","purl":"pkg:rpm/redhat/git-core","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-core-debuginfo","purl":"pkg:rpm/redhat/git-core-debuginfo","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-core-doc","purl":"pkg:rpm/redhat/git-core-doc","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-credential-libsecret","purl":"pkg:rpm/redhat/git-credential-libsecret","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-credential-libsecret-debuginfo","purl":"pkg:rpm/redhat/git-credential-libsecret-debuginfo","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-daemon-debuginfo","purl":"pkg:rpm/redhat/git-daemon-debuginfo","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-debugsource","purl":"pkg:rpm/redhat/git-debugsource","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-instaweb","purl":"pkg:rpm/redhat/git-instaweb","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-subtree","purl":"pkg:rpm/redhat/git-subtree","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2025:11800"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.27.0-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"perl-Git-SVN","purl":"pkg:rpm/redhat/perl-Git-SVN","source":"RHSA-2025:11800"}],"prev":{"headline":"Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking","id":"CVE-2025-48383"},"products":["git"],"published":"2025-07-08","related":[{"cvss_score":9.8,"headline":"JGit Improper Input Validation vulnerability","id":"CVE-2014-9390","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":9.8,"headline":"Deserialization of untrusted data in FasterXML jackson-databind","id":"CVE-2019-14379","kev_date_added":null,"published":"2019-07-29"},{"cvss_score":9.8,"headline":"An issue was discovered in certain Apple products.","id":"CVE-2018-4164","kev_date_added":null,"published":"2018-04-03"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-0746","kev_date_added":null,"published":"2016-02-15"},{"cvss_score":9.3,"headline":"Missing authorization in n/a","id":"CVE-2004-2687","kev_date_added":null,"published":"2007-09-23"},{"cvss_score":8.8,"headline":"This issue was addressed by enforcing library validation on the affected binaries.","id":"CVE-2026-86948","kev_date_added":null,"published":"2026-10-20"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["git"]},"summary":"Attackers can execute arbitrary code via crafted submodule paths and symlinks due to improper config quoting in Git.","url":"https://insights.sbomify.com/CVE-2025-48384/"}