CVE-2019-1348 Path traversal in Git

Low 3.3 Published Updated

Git fast-import allows overwriting arbitrary files via the export-marks option, enabling attackers to modify data on the system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-1348?

CVE-2019-1348 is a low-severity path traversal vulnerability in Opensuse Leap, published on 24 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. The --export-marks option of git fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths.

Which versions are affected by CVE-2019-1348?

It affects 2 products.

Products include Git-Scm Git, Opensuse Leap.

How do I fix CVE-2019-1348?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-1348 being exploited?

There is no known exploitation of CVE-2019-1348 in the wild and no public exploit code.

All Opensuse Leap vulnerabilities

Sources

Also known as ALPINE-CVE-2019-1348, CLEANSTART-2025-GZ59360, DEBIAN-CVE-2019-1348, UBUNTU-CVE-2019-1348.

Is CVE-2019-1348 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free