CVE-2025-47951: Weblate Weblate Lacks Rate Limiting When Vulnerability
MODERATECVE-2025-47951 is a MODERATE (CVSS 4.9) weblate lacks rate limiting when vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Weblate libraries in the PyPI ecosystem. The issue involves weblate lacks rate limiting when verifying second factor. Remediation is available by upgrading affected packages to version 5.12.
CVE-2025-47951 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2025-47951
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.12
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-47951, 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.12), 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-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. 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-47951 Affected Weblate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
weblate
|
PyPI |
< 5.12
|
5.12
|
References
Frequently Asked Questions
What is CVE-2025-47951?
Which Weblate versions are affected?
What version fixes CVE-2025-47951?
Is weblate affected?
What is the CVSS score of CVE-2025-47951?
What CWE is associated with CVE-2025-47951?
How can I check PyPI dependencies for CVE-2025-47951?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-57jg-m997-cx3q",
"modified" : "2025-06-16T21:47:01Z",
"published" : "2025-06-16T14:52:53Z",
"aliases" : [ "CVE-2025-47951" ],
"summary" : "Weblate lacks rate limiting when verifying second factor",
"details" : "### Impact\n\nThe verification of the second factor was not subject to rate limiting. The absence of rate limiting on the second factor endpoint allows an attacker with valid credentials to automate OTP guessing. \n\n### Patches\n\nThis issue has been addressed in Weblate 5.12 via https://github.com/WeblateOrg/weblate/pull/14918.\n\n### References\n\nThanks to [obscuredeer](https://hackerone.com/obscuredeer) for reporting this [issue at HackerOne](https://hackerone.com/reports/3150564).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "weblate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-57jg-m997-cx3q"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47951"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/pull/14918"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/commit/f806293451248c5d95e45b3b507e9d158bc4f384"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/3150564"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WeblateOrg/weblate"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.12.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-307" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-16T14:52:53Z",
"nvd_published_at" : "2025-06-16T21:15:24Z"
}
}