5.3medium
wlc may leak API keys due to an insecure API key configuration
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-9rp8-h4g8-8766PYSEC-2026-2052
Description
wlc is a Weblate command-line client using Weblate's REST API. Prior to 1.17.0, 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 leaked to different servers.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WeblateOrg wlc | < 1.17.0 | CVE List |
| wlc (PyPI) | before 1.17.0 | GitHub Advisory Database, PyPA Advisory Database |
| weblate wlc | before 1.17.0 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N |
Classification
What each source says
CVE List
wlc is a Weblate command-line client using Weblate's REST API. Prior to 1.17.0, 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 leaked to different servers.
GitHub Advisory Database
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
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 via HackerOne.
NVD (es)
wlc es un cliente de línea de comandos de Weblate que utiliza la API REST de Weblate. Antes de la versión 1.17.0, wlc admitía proporcionar claves de API sin ámbito en la configuración. Esta práctica fue desaconsejada durante años, pero el código nunca fue eliminado. Esto podría causar que la clave de API se filtre a diferentes servidores.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22251 changed 2026-01-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9rp8-h4g8-8766 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-22251 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2052 changed 2026-07-07 | CC-BY-4.0 |