CVE-2025-66407
Weblate has Server-Side Request Forgery vulnerability
Also known as GHSA-hfpv-mc5v-p9mm, PYSEC-2025-231
Mitigation
- Upgrade weblate to 5.15 or later.
Who should check
- Projects that depend on PyPI package weblate (< 5.15)
- Anyone running WeblateOrg weblate < 5.15
Vulnerability facts
- Affected
- weblate < 5.15
- Fixed in
- 5.15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-352
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI weblate | < 5.15 | 5.15 | osv |
| WeblateOrg weblate | < 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-66407. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-66407.md Affected: weblate < 5.15 Fixed in: 5.15 Steps: 1. Search this machine and project for weblate (PyPI), WeblateOrg weblate: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2025-66407 being exploited?
There is no confirmed exploitation: CVE-2025-66407 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-66407?
Medium: CVSS 5.0 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-66407?
weblate < 5.15.
Is there a fix for CVE-2025-66407?
Yes. Fixed in 5.15. Upgrade weblate to 5.15 or later.
How do I check if I'm affected by CVE-2025-66407?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.