{"id":"CVE-2024-39303","aliases":["GHSA-jfgp-674x-6q4p","PYSEC-2026-2041"],"url":"https://o3.security/vulnerability/CVE-2024-39303","summary":"Weblate vulnerabler 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","published":"2024-07-01T18:46:18.183Z","modified":"2026-08-12T03:51:08.543951234Z","cvss":{"score":4.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"weblate","fixedVersion":"5.6.2"}],"fix":{"url":"https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd","label":"WeblateOrg/weblate@b6a7eac"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39303.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd"},{"type":"PACKAGE","url":"https://github.com/WeblateOrg/weblate"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:08.543951234Z"}}