
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68398 is a Git configuration file overwrite vulnerability in Weblate, a web-based localization tool, that can lead to remote code execution (RCE). It affects all Weblate versions prior to 5.15.1 and was disclosed on December 18, 2025, following responsible disclosure by security researcher Jason Marcello (secjson). The vulnerability carries a CVSS v3.1 base score of 9.1 (Critical) per the GitHub Security Advisory, though the Feedly intelligence data notes a score of 9.1 with no privileges required under a different vector interpretation (GitHub Advisory).
The vulnerability stems from improper input validation (CWE-20) and path traversal weaknesses (CWE-22, CWE-434) in Weblate's file handling logic. Specifically, Weblate failed to restrict filenames that could resolve to sensitive paths such as .git/config, allowing an attacker with administrative privileges to upload or specify a file path that overwrites the repository's Git configuration file. Two patches were applied: PR #17330 added validation in weblate/utils/validators.py to reject filenames starting with directories on the translation-finder blacklist (e.g., .git, .svn), and PR #17345 switched to using GIT_SSH_COMMAND environment variable to prevent external Git configuration from overriding Weblate's SSH behavior (GitHub Advisory, PR #17330, PR #17345). By overwriting .git/config, an attacker could inject malicious Git hooks or redirect SSH commands, ultimately achieving remote code execution on the server.
Successful exploitation allows a high-privileged attacker to overwrite the Git configuration of repositories managed by Weblate, enabling them to inject malicious Git hooks (e.g., core.sshCommand, core.fsmonitor) that execute arbitrary commands on the server. This results in full compromise of confidentiality, integrity, and availability of the affected Weblate instance and its underlying repositories. Organizations relying on Weblate for continuous localization workflows face risks including unauthorized code injection into translation repositories, lateral movement to connected version control systems, and potential supply chain impact (GitHub Advisory, Weblate Release).
No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.0015 (0.15%), indicating a low current probability of exploitation in the wild. The vulnerability requires high-privilege (administrative) access to Weblate, which limits the attack surface compared to unauthenticated vulnerabilities. The CVE has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog as of the time of this report.
.git/config (e.g., using path traversal sequences or directly targeting the .git directory path)..git/config file.core.sshCommand pointing to an attacker-controlled binary, or core.fsmonitor set to execute a reverse shell payload..git/config files within Weblate-managed repositories, particularly changes to core.sshCommand, core.fsmonitor, or filter directives; presence of unusual scripts or binaries referenced in Git config entries..git/, .svn/, or other VCS metadata directories; Django request logs with suspicious filename parameters.curl, wget, bash) following Git operations; unusual SSH connections originating from the Weblate server.Upgrade Weblate to version 5.15.1 or later, which includes two security fixes: filename validation rejecting paths starting with VCS metadata directories (.git, .svn, etc.) and use of GIT_SSH_COMMAND to prevent external Git configuration from overriding Weblate's SSH behavior (Weblate Release, GitHub Advisory). As interim measures, restrict administrative access to trusted users only, audit recent component and file configuration changes, and monitor Git repository configurations for unauthorized modifications. No configuration-only workaround is available that fully mitigates the vulnerability without upgrading.
The vulnerability was covered by The Hacker Wire, which highlighted the RCE risk posed by the Git configuration overwrite flaw (The Hacker Wire). The CISA vulnerability bulletin for the week of December 15, 2025 included this CVE in its summary. Community discussion was observed on Mastodon (infosec.exchange) and Bluesky, with security aggregators such as CIRCL and offseq also noting the advisory. Red Hat tracked the vulnerability as well, indicating broader ecosystem awareness (Red Hat).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."