Advisory

PYSEC-2026-2317

Also known as: CVE-2026-41654, GHSA-cwcx-382v-8m9g

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-05-07 15:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

weblate

PyPI · All systems

Affected

  • introduced 0, fixed 5.17.1 (ecosystem)

Fixed versions

5.17.1

Fix

  • Fixed version 5.17.1
    pip install --upgrade weblate==5.17.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences