# CVE-2026-41519: Weblate insufficient session expiration for API tokens on password change

Source: https://junglewise.ai/threats/cve-2026-41519-weblate-insufficient-session-expiration-for-api-tokens-on  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-07. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-41519 · Severity: medium · CVSS 4.2 · Published 2026-05-07

Weblate is a web-based platform used by organizations to manage software translation and localization. A security issue was identified where changing a user's password failed to revoke existing API tokens. If an account is compromised, an attacker with a stolen API token could maintain access to the platform even after the legitimate user resets their password, potentially allowing unauthorized modifications to translation data.

Technologies: [weblate (PyPI)](https://junglewise.ai/threats/technologies/weblate). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-41519 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-41519 being exploited in the wild.

**How severe is CVE-2026-41519?** Medium severity, with a CVSS score of 4.2, published 7 May 2026.

**Which products and versions are affected?** weblate (PyPI) ECOSYSTEM:introduced=0,fixed=5.17.1.

**Is there a fix for CVE-2026-41519?** Yes. weblate (PyPI): upgrade to 5.17.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-41519 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-41519?** Check whether you run weblate (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- weblate (PyPI): upgrade to 5.17.1 or later

  ```sh
  pip install "weblate>=5.17.1"
  ```


## Technical details

In Weblate versions prior to 5.17.1, the password change process correctly invalidates browser sessions using 'cycle_session_keys()', but fails to revoke DRF API tokens (prefixed with 'wlu_*') stored in the 'authtoken_token' table. This results in a session management vulnerability (CWE-613) where an attacker who has obtained a user's API token can maintain access to the Weblate API even after the user has updated their credentials. The vulnerability is exploitable by an authenticated attacker who has previously compromised a token. The issue is resolved in version 5.17.1 by ensuring API tokens are regenerated by default during a password reset.

## Affected products

- WeblateOrg Weblate < 5.17.1

## Identifiers

- CVE-2026-41519
- GHSA-6j8j-4qp3-36p2
- PYSEC-2026-2316

## Timeline

- 2026-04-17: patched: Fix merged into main branch
- 2026-04-30: advisory: Release of version 5.17.1
- 2026-05-07: disclosed: CVE published

## References

- [https://github.com/WeblateOrg/weblate/commit/649a2da81700542f95c0807b3c625fc3bb0eaf95](https://github.com/WeblateOrg/weblate/commit/649a2da81700542f95c0807b3c625fc3bb0eaf95)
- [https://github.com/WeblateOrg/weblate/pull/19057](https://github.com/WeblateOrg/weblate/pull/19057)
- [https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1](https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.17.1)
- [https://github.com/WeblateOrg/weblate/security/advisories/GHSA-6j8j-4qp3-36p2](https://github.com/WeblateOrg/weblate/security/advisories/GHSA-6j8j-4qp3-36p2)

## Related threats

- [Weblate IDOR in GroupViewSet authorization bypass](https://junglewise.ai/threats/cve-2026-55228-weblate-idor-in-groupviewset-authorization-bypass)
- [Weblate observable object existence disclosure via HTTP status codes](https://junglewise.ai/threats/cve-2026-55227-weblate-observable-object-existence-disclosure-via-http-status)
- [PYSEC-2026-2037 - Weblate leaks information via screenshots](https://junglewise.ai/threats/cve-2026-21889-weblate-information-disclosure-via-unprotected-screenshots)
- [PYSEC-2026-2040 - Weblate has an arbitrary file read via symbolic links](https://junglewise.ai/threats/cve-2025-68279-weblate-has-an-arbitrary-file-read-via-symbolic-links)
- [PYSEC-2026-2036 - Weblate has a long session expiry when verifying second factor](https://junglewise.ai/threats/cve-2025-58352-weblate-weak-session-expiry-during-second-factor-verification)
