VDB
Sign up
MEDIUM5.0

PYSEC-2026-2314

Quick fix

PYSEC-2026-2314 — weblate: upgrade to the fixed version with the command below.

pip install --upgrade 'weblate>=5.17'

Details

Weblate is a web based localization tool. In versions prior to 5.17, a user with the project.edit permission (granted by the per-project "Administration" role) can configure machine translation service URLs pointing to arbitrary internal network addresses. During configuration validation, Weblate makes an HTTP request to the attacker-controlled URL and reflects up to 200 characters of the response body back to the user in an error message. This constitutes a Server-Side Request Forgery (SSRF) with partial response read. This issue has been fixed in version 5.17. If developers are unable to immediately upgrade, they can limit available machinery services via WEBLATE_MACHINERY setting.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/weblate
Introduced in: 0Fixed in: 5.17
Fixpip install --upgrade 'weblate>=5.17'

References