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

CVE-2018-11235
git-scm git

Score7.8 High
CVSS 3.0
Exploit probability (EPSS)47.4%
within the next 30 days
CategoryAccess control & privilege
Published30 May 2018
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, modifying data, crashing the system or making it unavailable.

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

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.

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

Weakness: CWE-22 – Path traversal

Affected products

VendorProductVersions
debiandebian linux8.0
debiandebian linux9.0
canonicalubuntu linux14.04
canonicalubuntu linux16.04
canonicalubuntu linux17.10
canonicalubuntu linux18.04
redhatenterprise linux7.0
redhatenterprise linux desktop7.0
redhatenterprise linux server7.0
redhatenterprise linux server eus7.5
redhatenterprise linux workstation7.0
git-scmgit<=2.13.6
git-scmgit>=2.14.0 <=2.14.3
git-scmgit>=2.15.0 <=2.15.1
git-scmgit>=2.16.0 <=2.16.3
git-scmgit2.17.0
gitforwindowsgit<=2.17.1

Sources

Latest in the same category

  • CVE-2026-129973 High 7.2
    Velociraptor allows administrators to restrict server-side VQL native file access to approved host directories. Plugins usually check the user has the FILESYSTEM_READ/FILESYSTEM_WRITE permission first (usually only…
    Access control & privilege · 30 November 2026
  • CVE-2026-56477 High 8.8
    HCL Telco Observability is affected by an Improper Authorization vulnerability in its admin endpoint access-control checks, which could allow a remote authenticated attacker to submit a valid, lower-privileged JWT…
    Access control & privilege · 30 November 2026
  • CVE-2026-133644 Not scored
    Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default…
    Access control & privilege · 30 November 2026
  • CVE-2026-133734 Medium 6
    Joomla Extension - phoca.cz - Missing authorization for file actions in Phoca Commander 1.0.0-6.1.4 - Missing authorization checks for file actions allow users with access to the component to create, upload, rename,…
    Access control & privilege · 30 November 2026
  • CVE-2026-133729 Medium 6.4
    Joomla Extension - phoca.cz - Path Traversal vulnerability in Phoca Commander 1.0.0-6.1.4 - Improper limitation of file and folder names for copy, move, delete and rename actions lead to path traversal vulnerabilities.…
    Access control & privilege · 30 November 2026
  • CVE-2026-133649 Not scored
    Incorrect authorization vulnerability in Apache Struts. Struts can restrict an action to a set of HTTP methods through annotations declared either on the action class or on the action method. In Struts 6.9.0 a…
    Access control & privilege · 30 November 2026