CVE-2026-41654: Weblate Weblate Vulnerable To Authenticated SSRF Vulnerability
MODERATECVE-2026-41654 is a MODERATE weblate vulnerable to authenticated ssrf vulnerability (CWE-20: Improper Input Validation) affecting Weblate libraries in the PyPI ecosystem. The issue involves weblate vulnerable to authenticated ssrf via project backup import bypassing validate_repo_url. Remediation is available by upgrading affected packages to version 5.17.1.
CVE-2026-41654 at a Glance
How to Fix CVE-2026-41654
To remediate this vulnerability, upgrade all affected Weblate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install weblate>=5.17.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show weblate
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-41654, inspect your installed packages using pip:
pip show weblate
Analyze the terminal output to locate any version of Weblate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.17.1), your application is affected.
Note: The pip show weblate command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Weblate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-41654 Affected Weblate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
weblate
|
PyPI |
< 5.17.1
|
5.17.1
|
References
Frequently Asked Questions
What is CVE-2026-41654?
Which Weblate versions are affected?
What version fixes CVE-2026-41654?
Is weblate affected?
What CWE is associated with CVE-2026-41654?
How can I check PyPI dependencies for CVE-2026-41654?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cwcx-382v-8m9g",
"modified" : "2026-05-08T21:47:36Z",
"published" : "2026-04-30T17:28:41Z",
"aliases" : [ "CVE-2026-41654" ],
"summary" : "Weblate Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url",
"details" : "### Impact\nAn 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)`.\n\n### Patches\n* https://github.com/WeblateOrg/weblate/pull/19061\n* https://github.com/WeblateOrg/weblate/pull/19062 \n\n### Workarounds\nLimiting who can create projects limits the scope.\n\n### Resources\nWeblate thanks @fg0x0 for reporting this vulnerability via GitHub.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "weblate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.17.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-cwcx-382v-8m9g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41654"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/pull/19061"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/pull/19062"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/commit/e1eff1f517c1ee315d69581910baaabb724e5ef0"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/commit/e4b67a76d95d5165ecb9937f7485fd79223b7f14"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WeblateOrg/weblate"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-30T17:28:41Z",
"nvd_published_at" : "2026-05-07T15:16:07Z"
}
}