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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| WeblateOrg | weblate | < 5.17.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | weblate | 5.17.1-1.1 | openSUSE-SU-2026:10929-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | weblate | < 5.17.1 | 5.17.1 | GHSA-cwcx-382v-8m9g |
Advisories 1
- openSUSE-SU-2026:10929-1 weblate-5.17.1-1.1 on GA media SUSE / openSUSE Security Updates · Jun 2, 2026
References
- https://github.com/WeblateOrg/weblate/security/advisories/GHSA-cwcx-382v-8m9g
- https://github.com/WeblateOrg/weblate/pull/19061
- https://github.com/WeblateOrg/weblate/pull/19062
- https://github.com/WeblateOrg/weblate/commit/e1eff1f517c1ee315d69581910baaabb724e5ef0
- https://github.com/WeblateOrg/weblate/commit/e4b67a76d95d5165ecb9937f7485fd79223b7f14
- https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1