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/<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
Workarounds
Limiting who can create projects limits the scope.
Resources
Weblate thanks @fg0x0 for reporting this vulnerability via GitHub.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | weblate | < 5.17.1 | 5.17.1 |
References
- https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1
- https://github.com/WeblateOrg/weblate/commit/e1eff1f517c1ee315d69581910baaabb724e5ef0
- https://github.com/WeblateOrg/weblate/commit/e4b67a76d95d5165ecb9937f7485fd79223b7f14
- https://github.com/WeblateOrg/weblate/pull/19061
- https://github.com/WeblateOrg/weblate/pull/19062
- https://github.com/WeblateOrg/weblate/security/advisories/GHSA-cwcx-382v-8m9g
- https://nvd.nist.gov/vuln/detail/CVE-2026-41654
- https://github.com/WeblateOrg/weblate
- CVSS 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- Weakness (CWE)
CWE-20, CWE-918- Platform
- Python (PyPI)
- Package
weblate- Disclosed
- 30.04.2026
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2317 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-cwcx-382v-8m9g - CC BY 4.0
Vulnerability history: weblate
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 36
- First → latest
- 03.2017 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 6
- Medium 22
- Low 7
Disclosures per year
- 2017: 1
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 1
- 2023: 0
- 2024: 1
- 2025: 12
- 2026: 21
-
Weblate Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.