Advisory

PYSEC-2026-2041

Also known as: CVE-2024-39303, GHSA-jfgp-674x-6q4p

Summary

Weblate vulnerable to improper sanitization of project backups

Details

Impact
Weblate didn't correctly validate filenames when restoring project backup. It may be possible to gain unauthorized access to
files on the server using a crafted ZIP file.

Patches
This issue has been addressed in Weblate 5.6.2 via https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd.

Workarounds
Do not allow project creation to untrusted users.

References
Thanks to Bryan Cahill for bringing this issue to our attention.

For more information
If you have any questions or comments about this advisory:

Severity

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

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

weblate

PyPI · All systems

Affected

  • introduced 4.14, fixed 5.6.2 (ecosystem)

Fixed versions

5.6.2

Fix

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

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