Skip to content

Weblate vulnerable to improper sanitization of project backups

Moderate severity GitHub Reviewed Published Jul 1, 2024 in WeblateOrg/weblate • Updated Aug 21, 2024

Package

pip Weblate (pip)

Affected versions

>= 4.14, < 5.6.2

Patched versions

5.6.2

Description

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 WeblateOrg/weblate@b6a7eac.

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:

References

@nijel nijel published to WeblateOrg/weblate Jul 1, 2024
Published by the National Vulnerability Database Jul 1, 2024
Published to the GitHub Advisory Database Jul 1, 2024
Reviewed Jul 1, 2024
Last updated Aug 21, 2024

Severity

Moderate

EPSS score

0.045%
(15th percentile)

Weaknesses

CVE ID

CVE-2024-39303

GHSA ID

GHSA-jfgp-674x-6q4p

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.