CVE-2025-66407

Source
https://cve.org/CVERecord?id=CVE-2025-66407
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66407.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-66407
Aliases
  • GHSA-hfpv-mc5v-p9mm
Published
2025-12-15T23:36:25.682Z
Modified
2026-01-14T06:50:06.797736Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Weblate has Server-Side Request Forgery vulnerability
Details

Weblate is a web based localization tool. 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, prior to version 5.15, 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. This has been addressed in the Weblate 5.15 release. As a workaround, remove Mercurial from VCS_BACKENDS; the Git backend is not affected. The Git backend was already configured to block the file protocol and does not expose the HTTP response content in the error message.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66407.json",
    "cwe_ids": [
        "CWE-352"
    ]
}
References

Affected packages

Git / github.com/weblateorg/weblate

Affected ranges

Type
GIT
Repo
https://github.com/weblateorg/weblate
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

weblate-0.*
weblate-0.1
weblate-0.2
weblate-0.3
weblate-0.4
weblate-0.5
weblate-0.6
weblate-0.7
weblate-0.8
weblate-0.9
weblate-1.*
weblate-1.0
weblate-1.1
weblate-1.2
weblate-1.3
weblate-1.4
weblate-1.5
weblate-1.6
weblate-1.7
weblate-1.8
weblate-1.9
weblate-2.*
weblate-2.0
weblate-2.1
weblate-2.10
weblate-2.10.1
weblate-2.11
weblate-2.12
weblate-2.13
weblate-2.13.1
weblate-2.14
weblate-2.14.1
weblate-2.15
weblate-2.16
weblate-2.17
weblate-2.18
weblate-2.19
weblate-2.19.1
weblate-2.2
weblate-2.20
weblate-2.3
weblate-2.4
weblate-2.5
weblate-2.6
weblate-2.7
weblate-2.8
weblate-2.9
weblate-3.*
weblate-3.0
weblate-3.0.1
weblate-3.1
weblate-3.1.1
weblate-3.10
weblate-3.10.1
weblate-3.10.2
weblate-3.10.3
weblate-3.11
weblate-3.11.1
weblate-3.11.2
weblate-3.11.3
weblate-3.2
weblate-3.2.1
weblate-3.2.2
weblate-3.3
weblate-3.4
weblate-3.5
weblate-3.5.1
weblate-3.6
weblate-3.6.1
weblate-3.7
weblate-3.7.1
weblate-3.8
weblate-3.9
weblate-3.9.1
weblate-4.*
weblate-4.0
weblate-4.0.1
weblate-4.0.2
weblate-4.0.3
weblate-4.0.4
weblate-4.1
weblate-4.1.1
weblate-4.10
weblate-4.10.1
weblate-4.11
weblate-4.11.1
weblate-4.11.2
weblate-4.12
weblate-4.12.1
weblate-4.12.2
weblate-4.13
weblate-4.13.1
weblate-4.14
weblate-4.14.1
weblate-4.14.2
weblate-4.15
weblate-4.15.1
weblate-4.15.2
weblate-4.16
weblate-4.16.1
weblate-4.16.2
weblate-4.16.3
weblate-4.16.4
weblate-4.17
weblate-4.18
weblate-4.18.1
weblate-4.18.2
weblate-4.2
weblate-4.2.1
weblate-4.2.2
weblate-4.3
weblate-4.3.1
weblate-4.3.2
weblate-4.4
weblate-4.4.1
weblate-4.4.2
weblate-4.5
weblate-4.5.1
weblate-4.5.2
weblate-4.5.3
weblate-4.6
weblate-4.6.1
weblate-4.6.2
weblate-4.7
weblate-4.7.1
weblate-4.7.2
weblate-4.8
weblate-4.8.1
weblate-4.9
weblate-4.9.1
weblate-5.*
weblate-5.0
weblate-5.0.1
weblate-5.0.2
weblate-5.1
weblate-5.1.1
weblate-5.10
weblate-5.10.1
weblate-5.10.2
weblate-5.10.3
weblate-5.10.4
weblate-5.11
weblate-5.11.1
weblate-5.11.2
weblate-5.11.3
weblate-5.11.4
weblate-5.12
weblate-5.12.1
weblate-5.12.2
weblate-5.13
weblate-5.13.1
weblate-5.13.2
weblate-5.13.3
weblate-5.14
weblate-5.14.1
weblate-5.14.2
weblate-5.14.3
weblate-5.2
weblate-5.2.1
weblate-5.3
weblate-5.3.1
weblate-5.4
weblate-5.4.1
weblate-5.4.2
weblate-5.4.3
weblate-5.5
weblate-5.5.1
weblate-5.5.2
weblate-5.5.3
weblate-5.5.4
weblate-5.5.5
weblate-5.6
weblate-5.6.1
weblate-5.6.2
weblate-5.7
weblate-5.7.1
weblate-5.7.2
weblate-5.8
weblate-5.8.1
weblate-5.8.2
weblate-5.8.3
weblate-5.8.4
weblate-5.9
weblate-5.9.1
weblate-5.9.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66407.json"