CVE-2024-39303: Weblate vulnerabler to improper sanitization of project backups

Published Jul 1, 2024
·
Updated

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

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
pip/Weblate>=4.14<5.6.2
5.6.2
Weblate weblate>=4.14<5.6.2

Event History

Jul 1, 2024
CVE Published
via MITRE·06:46 PM
Data Sourced
via MITRE·06:46 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:02 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-39303?

CVE-2024-39303 is considered a high severity vulnerability due to the potential for unauthorized access to server files through crafted ZIP files.

2

How do I fix CVE-2024-39303?

To fix CVE-2024-39303, upgrade Weblate to version 5.6.2 or later.

3

Which versions of Weblate are affected by CVE-2024-39303?

CVE-2024-39303 affects Weblate versions between 4.14 and 5.6.1.

4

What types of attacks are possible with CVE-2024-39303?

CVE-2024-39303 may allow attackers to exploit improper filename validation to access unauthorized server files.

5

How does CVE-2024-39303 affect server security?

CVE-2024-39303 poses a risk to server security by enabling potential attackers to gain access to sensitive files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203