CVE-2025-58352: Weblate Weblate Has A Long Session Vulnerability
LOWCVE-2025-58352 is a LOW weblate has a long session vulnerability (CWE-613: Insufficient Session Expiration) affecting Weblate libraries in the PyPI ecosystem. The issue involves weblate has a long session expiry when verifying second factor. Remediation is available by upgrading affected packages to version 5.13.1.
CVE-2025-58352 at a Glance
How to Fix CVE-2025-58352
To remediate this vulnerability, upgrade all affected Weblate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install Weblate>=5.13.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Weblate
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-58352, inspect your installed packages using pip:
pip show Weblate
Analyze the terminal output to locate any version of Weblate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.13.1), your application is affected.
Note: The pip show Weblate command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Weblate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-58352 Affected Weblate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Weblate
|
PyPI |
< 5.13.1
|
5.13.1
|
References
Frequently Asked Questions
What is CVE-2025-58352?
Which Weblate versions are affected?
What version fixes CVE-2025-58352?
Is Weblate affected?
What CWE is associated with CVE-2025-58352?
How can I check PyPI dependencies for CVE-2025-58352?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-377j-wj38-4728",
"modified" : "2025-09-05T16:10:49Z",
"published" : "2025-09-04T14:06:15Z",
"aliases" : [ "CVE-2025-58352" ],
"summary" : "Weblate has a long session expiry when verifying second factor",
"details" : "### Impact\nThe verification of the second factor had too long a session expiry. The long session expiry could be used to circumvent rate limiting of the second factor.\n\n\n### Patches\nThis issue has been addressed in Weblate 5.13.1 via https://github.com/WeblateOrg/weblate/pull/16002.\n\n### References\nThanks to Nahid Hasan Limon for reporting this issue responsibly.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Weblate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.13.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-377j-wj38-4728"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58352"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/pull/16002"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/commit/0b46fe596231dd456283ead66699ae5516f23908"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WeblateOrg/weblate"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-04T14:06:15Z",
"nvd_published_at" : "2025-09-05T00:15:32Z"
}
}