Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Weblate
  4. ›
  5. CVE-2025-66407

CVE-2025-66407: Weblate has a Server-Side Request Forgery issue

May 26, 2026

The Create Component functionality in Weblate allows authorized users to add new translation components by specifying both a version control system and a source code repository URL to pull from. However, the repository URL field is not validated or sanitized, allowing an attacker to supply arbitrary protocols, hostnames, and IP addresses, including localhost, internal network addresses, and local filenames.

When the Mercurial version control system is selected, Weblate exposes the full server-side HTTP response for the provided URL. This effectively creates a server-side request forgery (SSRF) primitive that can probe internal services and return their contents. In addition to accessing internal HTTP endpoints, the behavior also enables local file enumeration by attempting file:// requests. While file contents may not always be returned, the application’s error messages clearly differentiate between files that exist and files that do not, revealing information about the server’s filesystem layout.

In cloud environments, this behavior is particularly dangerous, as internal-only endpoints such as cloud metadata services may be accessible, potentially leading to credential disclosure and full environment compromise.

References

  • github.com/WeblateOrg/weblate/pull/17102
  • github.com/WeblateOrg/weblate/pull/17103
  • github.com/WeblateOrg/weblate/security/advisories/GHSA-hfpv-mc5v-p9mm
  • github.com/advisories/GHSA-hfpv-mc5v-p9mm
  • github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2025-231.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-66407

Code Behaviors & Features

Detect and mitigate CVE-2025-66407 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.15.0

Fixed versions

  • 5.15.0

Solution

Upgrade to version 5.15.0 or above.

Impact 5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/Weblate/CVE-2025-66407.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:55 +0000.