CVE-2026-62364: wlc may disclose API tokens to project-configured URLs
Impact wlc could send an unscoped API token to an unintended server when run inside a directory tree containing attacker-controlled project configuration. If .weblate, .weblate.ini, or weblate.ini defines an API url, and the user supplies a token with WLCKEY or --key without also pinning the URL, wlc would send the token to the project-configured URL.
Published Sep 22, 2026
Affected packages
wlc
- Ecosystem
- PyPI
- Affected
- < 2.0.1
- Fixed in
- 2.0.1
- Check
pip show wlc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
wlc could send an unscoped API token to an unintended server when run inside a directory tree containing attacker-controlled project configuration.
If .weblate, .weblate.ini, or weblate.ini defines an API url, and the user supplies a token with WLC_KEY or --key without also pinning the URL, wlc would send the token to the project-configured URL.
Impacted users are those running wlc in untrusted repositories, pull request checkouts, or directories with untrusted ancestor configuration while using WLC_KEY or --key.
Patches
The issue is patched in wlc 2.0.1 via https://github.com/WeblateOrg/wlc/pull/1500.
The fix rejects unscoped keys when the API URL comes from automatically discovered project configuration:
WLC_KEYnow requiresWLC_URL.--keynow requires--url.- URL-scoped keys in the
[keys]configuration section remain supported.
Users should upgrade to wlc 2.0.1 or newer.
Workarounds
Without upgrading, users can avoid the issue by explicitly pinning the API URL whenever using an unscoped key:
WLC_URL=https://hosted.weblate.org/api/ WLC_KEY=... wlc ...
or:
wlc --url https://hosted.weblate.org/api/ --key ... ...
Alternatively, use URL-scoped keys in the [keys] section instead of WLC_KEY or --key, and avoid running wlc with secrets in untrusted checkouts.
Credited to nijel, type5afe, visionxstack.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-42150
wlc: print_html outputs API data without HTML escaping
medium5.1Apr 24, 2026CVE-2026-23535
Weblate wlc path traversal vulnerability: Unsanitized API slugs in download command
high8.0Jan 16, 2026CVE-2026-22250
Weblate command-line client susceptible to SSL verification skip
low2.5Jan 12, 2026CVE-2026-22251
Weblate wlc has insecure API key configuration
medium5.3Jan 12, 2026
