{"id":"CVE-2026-41654","aliases":["GHSA-cwcx-382v-8m9g","PYSEC-2026-2317"],"title":"Weblate Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url","summary":"Weblate Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url","severity":"medium","vendor":"weblate","product":"weblate","ecosystem":"pip","affected":["weblate < 5.17.1"],"patched":["weblate 5.17.1"],"published":"2026-04-30","updated":"2026-07-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-cwcx-382v-8m9g","references":[{"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-cwcx-382v-8m9g"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41654"},{"url":"https://github.com/WeblateOrg/weblate/pull/19061"},{"url":"https://github.com/WeblateOrg/weblate/pull/19062"},{"url":"https://github.com/WeblateOrg/weblate/commit/e1eff1f517c1ee315d69581910baaabb724e5ef0"},{"url":"https://github.com/WeblateOrg/weblate/commit/e4b67a76d95d5165ecb9937f7485fd79223b7f14"},{"url":"https://github.com/WeblateOrg/weblate"},{"url":"https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1"}],"tags":["osv","pip"],"epss":0.00371,"epssPercentile":0.31053,"ingestedAt":"2026-07-13T18:57:56.936Z","slug":"CVE-2026-41654","body":"## Overview\n\n### 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.\n\n## Affected packages\n\n- `weblate < 5.17.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `weblate 5.17.1`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}