{"id":"CVE-2024-39303","aliases":["CVE-2024-39303","GHSA-jfgp-674x-6q4p","PYSEC-2026-2041"],"related":[],"kind":"vulnerability","state":"published","title":"Weblate vulnerabler to improper sanitization of project backups","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Weblate es una herramienta de localización basada en web. Antes de la versión 5.6.2, Weblate no validaba correctamente los nombres de archivos al restaurar la copia de seguridad del proyecto. Es posible obtener acceso no autorizado a archivos en el servidor utilizando un archivo ZIP manipulado. Este problema se ha solucionado en Weblate 5.6.2. Como workaround, no permita que usuarios que no sean de confianza creen proyectos.","source":"nvd"}],"published":"2024-07-01T18:46:18.183Z","modified":"2026-09-10T03:50:16.927Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"version":">= 4.14, < 5.6.2","status":"affected"}],"vendor":"WeblateOrg","product":"weblate","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.14","status":"affected","fixed":"5.6.2"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.14","fixed":"5.6.2"}],"vendor":"weblate","product":"weblate","cpe":"cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"4.14","status":"affected","fixed":"5.6.2"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","source":"pysec"}],"references":[{"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-jfgp-674x-6q4p","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/WeblateOrg/weblate/commit/b6a7eace155fa0feaf01b4ac36165a9c5e63bfdd","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39303","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/WeblateOrg/weblate","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/weblate","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-jfgp-674x-6q4p","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-01T20:50:23.895Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39303","url":"https://www.cve.org/CVERecord?id=CVE-2024-39303","licence":"CVE Terms of Use","modified":"2024-08-02T04:19:20.681Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jfgp-674x-6q4p","url":"https://github.com/advisories/GHSA-jfgp-674x-6q4p","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39303","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39303","licence":"Public domain","modified":"2026-06-17T07:41:40.657Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2041","url":"https://osv.dev/vulnerability/PYSEC-2026-2041","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:55.601Z"}],"updatedAt":"2026-11-25T22:58:42.419Z","epss":{"score":0.00318,"percentile":0.267,"date":"2026-12-01T12:00:22.000Z"}}