Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-39253
git-scm git

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.87%
within the next 30 days
CategoryAccess control & privilege
Published19 October 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, without logging in, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data.

Weakness type: Exposure of sensitive information.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.

CVSS: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Weakness: CWE-200 – Exposure of sensitive information, CWE-59

Affected products

VendorProductVersions
git-scmgit<2.30.6
git-scmgit>=2.31.0 <2.31.5
git-scmgit>=2.32.0 <2.32.4
git-scmgit>=2.33.0 <2.33.5
git-scmgit>=2.34.0 <2.34.5
git-scmgit>=2.35.0 <2.35.5
git-scmgit>=2.36.0 <2.36.3
git-scmgit>=2.37.0 <2.37.4
git-scmgit2.38.0
fedoraprojectfedora35
fedoraprojectfedora36
fedoraprojectfedora37
applexcode<14.1
debiandebian linux10.0

Sources

Latest in the same category

  • CVE-2026-139893 Medium 5.5
    A vulnerability has been found in 0xERR0R blocky up to 0.35.0. Impacted is the function configureDebugHandler of the file server/server_endpoints.go. Such manipulation leads to information disclosure. The attack may be…
    Access control & privilege · 1 December 2026
  • CVE-2026-139892 Medium 4.8
    A flaw has been found in MervinPraison PraisonAI up to 4.7.24. This issue affects the function _load_rules of the file praisonaiagents/permissions/manager.py of the component Permission Manager. This manipulation…
    Access control & privilege · 1 December 2026
  • CVE-2026-139891 Low 1.9
    A security vulnerability has been detected in KunAgent Kun up to 0.4.5. This affects the function launchResumeTurn of the file kun/src/loop/interrupted-turn-coordinator.ts of the component Turn Resume. The manipulation…
    Access control & privilege · 1 December 2026
  • CVE-2026-139890 Medium 5.5
    A weakness has been identified in KunAgent Kun up to 0.4.5. Affected by this issue is the function buildWorkflowHookRun of the file kun/src/hooks/hook-config.ts of the component Workflow Hooks. Executing a manipulation…
    Access control & privilege · 1 December 2026
  • CVE-2026-139889 Low 1.9
    A vulnerability was identified in Moonshot AI Kimi Code up to 2.5.2. Affected is the function AgentToolPolicyService of the file packages/agent-core-v2/src/agent/toolPolicy/toolPolicyService.ts of the component Tool…
    Access control & privilege · 1 December 2026
  • CVE-2026-139888 Medium 4.8
    A vulnerability was determined in Twigpine Zero up to 0.14.0. This impacts the function LoadConfig of the file internal/hooks/hooks.go. This manipulation causes improper authorization. It is possible to launch the…
    Access control & privilege · 1 December 2026