CVE-2025-47951: Weblate Weblate Lacks Rate Limiting When Vulnerability

MODERATE
Advisory Identifier: GHSA-57jg-m997-cx3q
CVSS 4.9
CWE-307
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-47951
GHSA Identifier GHSA-57jg-m997-cx3q
Severity MODERATE
CVSS v3.1 Base Score 4.9
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Weblate
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

weblate fixed: 5.12
pip install weblate>=5.12
Verify Direct and Transitive Dependencies

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

### Impact The 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. ### Patches This issue has been addressed in Weblate 5.12 via https://github.com/WeblateOrg/weblate/pull/14918. ### References Thanks to [obscuredeer](https://hackerone.com/obscuredeer) for reporting this [issue at HackerOne](https://hackerone.com/reports/3150564).

CVE-2025-47951 Affected Weblate Versions

1 component(s)
Fixed Versions:
5.12
Product / Package Ecosystem Affected Versions Fixed Version
weblate
PyPI
< 5.12
5.12

References

Frequently Asked Questions

What is CVE-2025-47951?
CVE-2025-47951 is a security vulnerability in Weblate involving Weblate lacks rate limiting when verifying second factor under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Weblate versions are affected?
Affected versions include releases prior to 5.12 across affected packages: weblate.
What version fixes CVE-2025-47951?
Upgrading to 5.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is weblate affected?
Yes, weblate is affected in releases prior to 5.12. Upgrade your dependency to 5.12 or later.
What is the CVSS score of CVE-2025-47951?
CVE-2025-47951 has a CVSS v3.1 base score of 4.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2025-47951?
CVE-2025-47951 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check PyPI dependencies for CVE-2025-47951?
Run the dependency tree command: 'pip show weblate'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}