CVE-2026-22251: wlc may leak API keys due to an insecure API key configuration

Published Jan 12, 2026
·
Updated

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 via HackerOne.

Other sources

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.

— MITRE

Affected Software

10 affected componentsFixes available
npm/wlc<1.17.0
pip/wlc<1.17.0
1.17.0
Weblate wlc<1.17.0
ubuntu/wlc<0.8-1ubuntu0.1~esm1
0.8-1ubuntu0.1~esm1
ubuntu/wlc<1.2-1ubuntu0.20.04.1~esm1
1.2-1ubuntu0.20.04.1~esm1
ubuntu/wlc<1.2-1ubuntu0.22.04.1~esm1
1.2-1ubuntu0.22.04.1~esm1
ubuntu/wlc<1.13-2ubuntu0.1~esm1
1.13-2ubuntu0.1~esm1
ubuntu/wlc<1.15-2ubuntu0.1
1.15-2ubuntu0.1
ubuntu/wlc*
ubuntu/wlc*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/wlc to a version that resolves this vulnerability.

    Fixed in 1.17.0
  2. Upgrade

    Upgrade ubuntu/wlc to a version that resolves this vulnerability.

    Fixed in 0.8-1ubuntu0.1~esm1
  3. Upgrade

    Upgrade ubuntu/wlc to a version that resolves this vulnerability.

    Fixed in 1.2-1ubuntu0.20.04.1~esm1
  4. Upgrade

    Upgrade ubuntu/wlc to a version that resolves this vulnerability.

    Fixed in 1.2-1ubuntu0.22.04.1~esm1
  5. Upgrade

    Upgrade ubuntu/wlc to a version that resolves this vulnerability.

    Fixed in 1.13-2ubuntu0.1~esm1
  6. Upgrade

    Upgrade ubuntu/wlc to a version that resolves this vulnerability.

    Fixed in 1.15-2ubuntu0.1
  7. Configuration

    Remove the unscoped `key` from the wlc configuration and use only URL-scoped keys in `[keys]` sections.

    wlc API keys in the `[keys]` sections = Use only URL-scoped keys; remove the unscoped `key`

Event History

Jan 12, 2026
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:07 PM
Data Sourced
via GitHub·06:07 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Updated
via GitHub·08:07 PM
Weakness
Jan 27, 2026
Data Sourced
via NVD·08:35 PM
RemedyAffected Software
Updated
via NVD·08:35 PM
Severity
Event
via NVD·08:35 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-22251?

CVE-2026-22251 is considered a high-severity vulnerability due to the potential for API key leakage.

2

How do I fix CVE-2026-22251?

To fix CVE-2026-22251, upgrade to wlc version 1.17.0 or later.

3

What type of issue is CVE-2026-22251?

CVE-2026-22251 is an issue related to insecure API key configuration in the wlc software.

4

What could happen if CVE-2026-22251 is exploited?

If exploited, CVE-2026-22251 may allow unauthorized use of API keys against different servers.

5

Which versions of wlc are affected by CVE-2026-22251?

Versions of wlc prior to 1.17.0 are affected by CVE-2026-22251.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203