Vulnerability · Published May 7, 2026 · Assigned by GitHub_M
CVE-2026-41654Weblate is Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url
Medium 5.3
In plain English
A medium-severity improper input validation in weblate from WeblateOrg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Weblate is a web based localization tool. Prior to version 5.17.1, 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). This issue has been patched in version 5.17.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | weblate | 5.17.1 | GHSA-cwcx-382v-8m9g |
| PyPI | weblate | 5.17.1 | PYSEC-2026-2317 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WeblateOrg | weblate | < 5.17.1 |
Weakness: CWE-20, CWE-918 · Vector: 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
References
- https://github.com/WeblateOrg/weblate/security/advisories/GHSA-cwcx-382v-8m9g x_refsource_CONFIRM
- https://github.com/WeblateOrg/weblate/pull/19061 x_refsource_MISC
- https://github.com/WeblateOrg/weblate/pull/19062 x_refsource_MISC
- https://github.com/WeblateOrg/weblate/commit/e1eff1f517c1ee315d69581910baaabb724e5ef0 x_refsource_MISC
- https://github.com/WeblateOrg/weblate/commit/e4b67a76d95d5165ecb9937f7485fd79223b7f14 x_refsource_MISC
- https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1 x_refsource_MISC