CVE-2025-68398 Weblate has git config file overwrite vulnerability that leads to remote code execution

Critical 9.1 Published Updated

Attackers can remotely overwrite Git configuration files to achieve remote code execution in Weblate.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68398?

CVE-2025-68398 is a critical path traversal vulnerability in WeblateOrg weblate, published on 18 Dec 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Weblate is a web based localization tool. In versions prior to 5.15.1, it was possible to overwrite Git configuration remotely and override some of its behavior. Version 5.15.1 fixes the issue.

Weakness: CWE-434, CWE-22, CWE-20

Which versions are affected by CVE-2025-68398?

3 open source packages ship an affected version, including weblate and Weblate. It affects 1 product.

PackageAffectedFixed in
weblate PyPIAll versions5.15.1
weblate PyPIAll versions5.15.1
Weblate PyPIAll versions5.15.1
Linux distribution packages (1)
weblate openSUSE:TumbleweedAll versions5.14.3-2.1

Products include Weblate Weblate.

How do I fix CVE-2025-68398?

Upgrade weblate to 5.15.1 or later.

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

Is CVE-2025-68398 being exploited?

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

Sources

Also known as GHSA-8vcg-cfxj-p5m3, PYSEC-2026-571, openSUSE-SU-2025:15853-1.

Is CVE-2025-68398 in your software?

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

Check your SBOMs for free