Skip to main content

Weblate CVE-2026-41654

MEDIUM
Improper Input Validation (CWE-20)
2026-04-30 https://github.com/WeblateOrg/weblate GHSA-cwcx-382v-8m9g
5.3
CVSS 4.0 · Vendor: https://github.com/WeblateOrg/weblate
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain project.add permission
  2. Delivery
    Craft malicious project backup ZIP
  3. Exploit
    Modify components/<name>.json with private/disallowed repo URL
  4. Install
    Upload backup
  5. C2
    Trigger import
  6. Execute
    Bypass validate_repo_url via bulk_create()
  7. Impact
    Write malicious URL to .git/config
  8. Step 8
    Execute 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi weblate fix: 5.17.1

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

Vendor (https://github.com/WeblateOrg/weblate) PRIMARY 5.3 MEDIUM
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
SUSE 8.1 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 07, 2026 - 15:22 NVD
5.3 (MEDIUM)
Patch released
Apr 30, 2026 - 17:30 nvd
Patch available
CVE Published
Apr 30, 2026 - 17:28 nvd
MEDIUM

DescriptionCVE.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

EPSS Score
0.1%
Top 74% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

pkg:pip/weblate

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy