{"id":"PYSEC-2026-2041","summary":"Weblate vulnerable to improper sanitization of project backups","details":"### Impact\nWeblate didn't correctly validate filenames when restoring project backup. It may be possible to gain unauthorized access to\nfiles on the server using a crafted ZIP file.\n\n### Patches\nThis issue has been addressed in Weblate 5.6.2 via https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd.\n\n### Workarounds\nDo not allow project creation to untrusted users.\n\n### References\nThanks to Bryan Cahill for bringing this issue to our attention.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a topic in [discussions](https://github.com/WeblateOrg/weblate/discussions)\n* Email us at [care@weblate.org](mailto:care@weblate.org)\n","aliases":["CVE-2024-39303","GHSA-jfgp-674x-6q4p"],"modified":"2026-07-07T17:47:55.601289014Z","published":"2026-07-07T14:34:36.062688Z","references":[{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-jfgp-674x-6q4p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39303"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd"},{"type":"PACKAGE","url":"https://github.com/WeblateOrg/weblate"},{"type":"PACKAGE","url":"https://pypi.org/project/weblate"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jfgp-674x-6q4p"}],"affected":[{"package":{"name":"weblate","ecosystem":"PyPI","purl":"pkg:pypi/weblate"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14"},{"fixed":"5.6.2"}]}],"versions":["4.14","4.14.1","4.14.2","4.15","4.15.1","4.15.2","4.16","4.16.1","4.16.2","4.16.3","4.16.4","4.17","4.18","4.18.1","4.18.2","5.0","5.0.1","5.0.2","5.1","5.1.1","5.2","5.2.1","5.3","5.3.1","5.4","5.4.1","5.4.2","5.4.3","5.5","5.5.2","5.5.3","5.5.4","5.5.5","5.6","5.6.1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/weblate/PYSEC-2026-2041.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}