4.4medium
Weblate vulnerabler to improper sanitization of project backups
- Severity
- 4.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.32% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jfgp-674x-6q4pPYSEC-2026-2041
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WeblateOrg weblate | >= 4.14, < 5.6.2 | CVE List |
| weblate (PyPI) | from 4.14 before 5.6.2 | GitHub Advisory Database, PyPA Advisory Database |
| weblate weblate | from 4.14 before 5.6.2 | NVD |
All scores
| GitHub_M | 4.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 4.4low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
| GitHub | low CVSS:4.0 | 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 |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| PyPA Advisory Database | 4.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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:
- Open a topic in discussions
- Email us at care@weblate.org
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39303 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jfgp-674x-6q4p changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-39303 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2041 changed 2026-07-07 | CC-BY-4.0 |