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

CVE-2023-25652
git-scm git

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)1.8%
within the next 30 days
CategoryAccess control & privilege
Published25 April 2023
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: modifying data.

Weakness type: Path traversal.

✨ 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 a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlled contents (corresponding to the rejected hunk(s) from the given patch). A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying patches from an untrusted source. Use `git apply --stat` to inspect a patch before applying; avoid applying one that create a conflict where a link corresponding to the `*.rej` file exists.

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

Weakness: CWE-22 – Path traversal

Affected products

VendorProductVersions
git-scmgit<2.30.9
git-scmgit>=2.31.0 <2.31.8
git-scmgit>=2.32.0 <2.32.7
git-scmgit>=2.33.0 <2.33.8
git-scmgit>=2.34.0 <2.34.8
git-scmgit>=2.35.0 <2.35.8
git-scmgit>=2.36.0 <2.36.6
git-scmgit>=2.37.0 <2.37.7
git-scmgit>=2.38.0 <2.38.5
git-scmgit>=2.39.0 <2.39.3
git-scmgit2.40.0
fedoraprojectfedora37
fedoraprojectfedora38

Sources

Latest in the same category

  • CVE-2026-63271 Medium 6.7
    LibreOffice presentations can link to sounds, and SVG images and XHTML documents can link to images and objects. A crafted document could link to a local file in one of these ways and have that file's content put into…
    Access control & privilege · 30 November 2026
  • CVE-2026-139855 Low 2.1
    A weakness has been identified in SourceCodester Student Grading System 1.0. This issue affects some unknown processing of the file report_card.php of the component Report Card. Executing a manipulation of the argument…
    Access control & privilege · 30 November 2026
  • CVE-2026-104815 Medium 6.7
    LibreOffice Calc can take the data of a pivot table or a database range from a database that the document names by address. A crafted document could name a local folder of text files this way, so that the content of a…
    Access control & privilege · 30 November 2026
  • CVE-2026-68926 Medium 6.7
    Azuriom is a complete open-source web solution for game servers. Prior to version 1.2.12, Azuriom contained an improper permission validation issue in the admin role management flow. When a role's permissions were…
    Access control & privilege · 30 November 2026
  • CVE-2026-68925 Medium 6.7
    Azuriom is a complete open-source web solution for game servers. Prior to version 1.2.12, Azuriom contained an improper authorization issue in the admin role creation flow. A user with access to the administrator area…
    Access control & privilege · 30 November 2026
  • CVE-2026-137187 Medium 5.4
    @zereight/mcp-gitlab is a Model Context Protocol server for GitLab. From 2.2.5 until 2.3.7, assertProjectAllowlist for gitlab_api_request in tools/gitlab-api-request.ts returns without enforcing the configured…
    Access control & privilege · 30 November 2026