MEDIUM5.3
PYSEC-2026-2052
Weblate wlc has insecure API key configuration
Quick fix
PYSEC-2026-2052 — wlc: upgrade to the fixed version with the command below.
pip install --upgrade 'wlc>=1.17.0'Details
### Impact Historically, wlc supported providing unscoped API keys in the setting. This practice was discouraged for years, but the code was never removed. This might cause the API key to be used against different server.
### Patches * https://github.com/WeblateOrg/wlc/pull/1098
### Workarounds Remove unscoped `key` from wlc configuration. Only use URL-scoped keys in the `[keys]` sections.
### References This issue was reported to us by [wh1zee](https://hackerone.com/wh1zee) via HackerOne.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/WeblateOrg/wlc/security/advisories/GHSA-9rp8-h4g8-8766[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-22251[ADVISORY]
- https://github.com/WeblateOrg/wlc/pull/1098[WEB]
- https://github.com/WeblateOrg/wlc/commit/aafdb507a9e66574ade1f68c50c4fe75dbe80797[WEB]
- https://github.com/WeblateOrg/wlc[PACKAGE]
- https://pypi.org/project/wlc[PACKAGE]
- https://github.com/advisories/GHSA-9rp8-h4g8-8766[ADVISORY]