MEDIUM5.9
PYSEC-2026-3416
Weblate SSRF: outbound URL guard misses some private ranges
Quick fix
PYSEC-2026-3416 — weblate: upgrade to the fixed version with the command below.
pip install --upgrade 'weblate>=2026.6'Details
### Impact
Weblate's `VCS_RESTRICT_PRIVATE` did not properly account for some transitional IPv6 ranges, multicast addresses, or some semi-private IPv4 ranges, which allowed some addresses to bypass private range restrictions.
### Patches
* https://github.com/WeblateOrg/weblate/pull/19768
### Resources
The issue was reported by @tonghuaroot via GitHub, and the same user also provided the initial patch.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/WeblateOrg/weblate/security/advisories/GHSA-vmfc-9982-2m45[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-50127[ADVISORY]
- https://github.com/WeblateOrg/weblate/pull/19768[WEB]
- https://github.com/WeblateOrg/weblate[PACKAGE]
- https://github.com/WeblateOrg/weblate/releases/tag/weblate-2026.6[WEB]
- https://pypi.org/project/weblate[PACKAGE]
- https://github.com/advisories/GHSA-vmfc-9982-2m45[ADVISORY]