Weblate CVE-2026-41654
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain project.add permission
-
DeliveryCraft malicious project backup ZIP
-
ExploitModify components/<name>.json with private/disallowed repo URL
-
InstallUpload backup
-
C2Trigger import
-
ExecuteBypass validate_repo_url via bulk_create()
-
ImpactWrite malicious URL to .git/config
-
Step 8Execute SSRF or protocol attack
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires: (1) authenticated user account with project.add permission granted (default for Weblate SaaS users with active billing/trial plans), (2) ability to craft and upload a malicious project backup ZIP file with a modified components/<name>.json containing attacker-controlled 'repo' or 'push' URL field, (3) an administrator or authorized user must trigger project backup import from the malicious ZIP file. Exploitation is limited to non-default, non-allowlisted URL schemes (file://, git://, custom schemes) or URLs pointing to private address ranges (127.0.0.1, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.x.x). The vulnerability does not require special network access or out-of-band communication; the attacker controls the ZIP payload directly. Self-hosted instances can mitigate by restricting project.add permission administratively, but SaaS instances are at higher risk due to default permission grants. |
| Impact | Real-world risk is moderate-to-high due to specific exploitation conditions. CVSS score is unavailable, but the vulnerability requires: (1) authenticated access with project.add permission (default for SaaS users with active plans), (2) ability to craft and upload a malicious backup ZIP, and (3) admin action to import the backup. However, the scope is limited - only users holding the project.add permission can exploit this. On Weblate SaaS, this permission is granted by default to users with active billing/trial plans, significantly broadening the attack surface. The vulnerability enables SSRF against internal services (Gogs, GitLab, GitHub, custom repos on private networks), port scanning, and potential protocol smuggling via file:// or git:// schemes. The patch (available as of 5.17.1) adds revalidation of repo and push URLs during backup restoration, closing the bulk_create() bypass. No public exploit code has been identified, but the technical requirements are straightforward. Absence of CVSS data limits automated risk scoring, but the attack vector is clearly network-accessible (remote upload via web interface) and the technical impact is direct (SSRF to internal systems). |
| Exploit ScenarioDerived | A malicious user with project.add permission on a Weblate instance (or a Weblate SaaS user with an active billing plan) downloads a legitimate project backup, modifies the components/<name>.json file to set the repo URL to http://127.0.0.1:9999/internal-git-service/, and re-uploads the tampered backup. When an administrator imports the backup, Weblate bypasses URL validation via bulk_create() and writes the malicious URL into .git/config. Subsequent Git operations or Weblate's configure_repo() call connect to the attacker's internal service, leaking information or enabling further attacks. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 30, 2026
Authenticated Server-Side Request Forgery (SSRF) in Weblate before 5.17.1 allows users with project.add permission to import crafted project backup ZIPs containing malicious repository URLs pointing to private addresses or using non-allowlisted schemes (file://, git://) that bypass URL validation. The vulnerability exists because bulk_create() circumvents Django's full_clean() validator; attackers can write arbitrary URLs into .git/config, enabling SSRF attacks against internal systems or protocol exploitation.
RemediationAI
Upgrade to Weblate 5.17.1 or later immediately, which includes patches from PR 19061 and 19062 that add validate_component_urls() calls during backup restoration. This method revalidates both 'repo' and 'push' URL fields against the validate_repo_url validator before import, preventing malicious URLs from being written to .git/config. For deployments unable to upgrade immediately, the primary compensating control is to restrict the project.add permission to trusted administrators only. On Weblate SaaS, this requires administrative intervention to revoke the permission from non-admin users. Remove or disable backup import functionality if not actively required. Monitor backup imports for unusual repository URLs (especially file://, git://, or private IP ranges like 127.0.0.1, 10.x.x.x, 192.168.x.x). Implement network egress filtering to prevent Git operations from accessing private address ranges or non-standard ports on internal systems.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Weblate's project backup import mechanism deserializes component metadata from ZIP archives without revalidating repository URLs during restoration. The vulnerability stems from CWE-20 (Improper Input Validation). When a component is persisted via Component.objects.bulk_create([component])[0], Django's full_clean() method is bypassed, so the validate_repo_url validator never executes. This validator normally enforces an allowlist of schemes (http, https, git+https, ssh) and blocks private/internal IP ranges (127.0.0.1, 169.254.x.x, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). The attacker-controlled URL is subsequently written verbatim into the Git configuration file (.git/config) by configure_repo(pull=False), where it can be accessed by the application or command-line Git operations, enabling SSRF or protocol-based attacks.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (https://github.com/WeblateOrg/weblate).
CVSS VectorVendor: https://github.com/WeblateOrg/weblate
Lifecycle Timeline
3DescriptionCVE.org
Impact
An authenticated user with project.add permission (default on hosted Weblate SaaS and for any user holding an active billing/trial plan) can import a crafted project backup ZIP whose components/<name>.json contains an attacker-chosen repo URL pointing at a private address (e.g. http://127.0.0.1:9999/) or using a non-allow-listed scheme (e.g. file://, git://). Weblate persists the component via Component.objects.bulk_create([component])[0], which bypasses Django's full_clean() and therefore never runs the validate_repo_url validator. The URL is subsequently written verbatim into .git/config by configure_repo(pull=False).
Patches
- https://github.com/WeblateOrg/weblate/pull/19061
- https://github.com/WeblateOrg/weblate/pull/19062
Workarounds
Limiting who can create projects limits the scope.
Resources
Weblate thanks @fg0x0 for reporting this vulnerability via GitHub.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-cwcx-382v-8m9g
NVD
CVE.org
EPSS
Exploit-DB