{"id":"CVE-2024-39303","published":"2024-07-01T18:46:18Z","modified":"2024-08-02T04:19:20Z","title":"Weblate vulnerabler to improper sanitization of project backups","vendor":"WeblateOrg","product":"weblate","tier":"tail","description":{"text":"Weblate is a web based localization tool. Prior to version 5.6.2, 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. This issue has been addressed in Weblate 5.6.2. As a workaround, do not allow untrusted users to create projects.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00546,"percentile":0.39339,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-jfgp-674x-6q4p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":7.87},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"weblateorg","affectedVersions":[{"vendor":"WeblateOrg","product":"weblate","versions":[">= 4.14, < 5.6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-01T20:50:23.895788Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Weblate","vulnerableRanges":[">=4.14, <5.6.2"],"patched":["5.6.2"],"from":["GHSA-jfgp-674x-6q4p","PYSEC-2026-2041"],"provenance":"source"}],"summary":{"text":"Weblate, a web-based localization tool from WeblateOrg, fails to properly validate filenames when restoring project backups, a flaw caused by external control of file names or paths. An attacker with network access and high-privilege authentication (able to create projects) can use a crafted ZIP file during backup restore to reach files on the server, without requiring any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:40Z"},"euvd":{"id":"EUVD-2024-2373","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-weblateorg-weblate-cve-2024-39303","children":[{"from":"CVE-2024-39303","to":"CVE-2025-68398","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["weblate/trans/backups.py"],"commits":["https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd","https://github.com/WeblateOrg/weblate/commit/4837a4154390f7c1d03c0e398aa6439dcfa361b4","https://github.com/WeblateOrg/weblate/commit/dd8c9d7b00eebe28770fa0e2cd96126791765ea7"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-24710","published":"2022-02-25","fixed":"4.11","kev":false},{"cve":"CVE-2022-23915","published":"2022-03-04","fixed":"4.11.1","kev":false},{"cve":"CVE-2024-39303","published":"2024-07-01","fixed":"5.6.2","kev":false},{"cve":"CVE-2025-58352","published":"2025-09-04","fixed":"5.13.1","kev":false,"link":{"from":"CVE-2024-39303","to":"CVE-2025-58352","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Weblate","fromFixed":"5.6.2","toFixed":"5.13.1","daysApart":430}]}},{"cve":"CVE-2025-64725","published":"2025-12-15","fixed":"5.15","kev":false},{"cve":"CVE-2025-66407","published":"2025-12-15","fixed":"5.15","kev":false}],"package":"PyPI:Weblate"}}