CVE-2026-41654: Weblate Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url
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/ .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://).
Published Apr 30, 2026 · Updated May 8, 2026
Affected packages
weblate
- Ecosystem
- PyPI
- Affected
- < 5.17.1
- Fixed in
- 5.17.1
- Check
pip show weblate
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to fg0x0, nijel.
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://nvd.nist.gov/vuln/detail/CVE-2026-41654
- https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1
- https://github.com/advisories/GHSA-cwcx-382v-8m9g
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-55227
Private Weblate projects vulnerable to observable object existence disclosure via globally scoped object lookups
medium4.3Aug 28, 2026CVE-2026-50127
Weblate SSRF: outbound URL guard misses some private ranges
medium5.9Jul 7, 2026CVE-2026-45106
Weblate: Stored HTML injection in editor search preview
medium4.6May 15, 2026CVE-2026-44263
Weblate Vulnerable to Private Translation Enumeration via Screenshot API
medium4.3May 7, 2026CVE-2026-44264
Weblate vulnerable to XSS via crafted Markdown
medium4.3May 7, 2026CVE-2026-41519
Weblate Doesn't Invalidate API Token on Password Change
medium4.2Apr 30, 2026
