{"id":"CVE-2026-41654","aliases":["CVE-2026-41654","GHSA-cwcx-382v-8m9g","PYSEC-2026-2317"],"related":[],"kind":"vulnerability","state":"published","title":"Weblate is Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Weblate es una herramienta de localización basada en web. Antes de la versión 5.17.1, un usuario autenticado con permiso project.add (por defecto en Weblate SaaS alojado y para cualquier usuario con un plan de facturación/prueba activo) puede importar un ZIP de copia de seguridad de proyecto manipulado cuyo components/[name].json contiene una URL de repositorio elegida por el atacante que apunta a una dirección privada (por ejemplo, http://127.0.0.1:9999/) o que utiliza un esquema no permitido (por ejemplo, file: //, git://). Weblate persiste el componente a través de Component.objects.bulk_create([component])[0], lo que omite el full_clean() de Django y por lo tanto nunca ejecuta el validador validate_repo_url. La URL se escribe posteriormente textualmente en .git/config por configure_repo(pull=False). Este problema ha sido parcheado en la versión 5.17.1.","source":"nvd"}],"published":"2026-04-30T17:28:41.000Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-20","CWE-918"],"affected":[{"ranges":[{"version":"< 5.17.1","status":"affected"}],"vendor":"WeblateOrg","product":"weblate","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.17.1"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.17.1"}],"vendor":"weblate","product":"weblate","cpe":"cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.17.1"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","source":"pysec"}],"references":[{"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-cwcx-382v-8m9g","tags":["fix","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/WeblateOrg/weblate/pull/19061","tags":["fix","issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/WeblateOrg/weblate/pull/19062","tags":["fix","issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/WeblateOrg/weblate/commit/e1eff1f517c1ee315d69581910baaabb724e5ef0","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/WeblateOrg/weblate/commit/e4b67a76d95d5165ecb9937f7485fd79223b7f14","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1","tags":["advisory","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41654","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/WeblateOrg/weblate","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-08T14:23:34.840Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41654","url":"https://www.cve.org/CVERecord?id=CVE-2026-41654","licence":"CVE Terms of Use","modified":"2026-05-08T14:23:41.296Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cwcx-382v-8m9g","url":"https://github.com/advisories/GHSA-cwcx-382v-8m9g","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:39.185Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41654","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41654","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2317","url":"https://osv.dev/vulnerability/PYSEC-2026-2317","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:48.299Z"}],"updatedAt":"2026-11-25T22:59:20.887Z","epss":{"score":0.00371,"percentile":0.33116,"date":"2026-12-01T12:00:22.000Z"}}