# CVE-2025-66407: Weblate has Server-Side Request Forgery vulnerability

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-12-15T23:36:25.682Z
- Modified: 2026-10-07T19:10:00.160Z
- Also known as: GHSA-hfpv-mc5v-p9mm, PYSEC-2025-231
- Weaknesses: CWE-352, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- WeblateOrg weblate: < 5.15
- weblate (PyPI): before 5.15
- weblate weblate: before 5.15

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://github.com/WeblateOrg/weblate/security/advisories/GHSA-hfpv-mc5v-p9mm> (advisory, vendor-advisory, web)
- <https://github.com/WeblateOrg/weblate/pull/17102> (fix, issue-tracking, patch, web)
- <https://github.com/WeblateOrg/weblate/pull/17103> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66407> (advisory)
- <https://github.com/WeblateOrg/weblate> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2025-231.yaml> (web)

## Sources

- CVE List: [CVE-2025-66407](https://www.cve.org/CVERecord?id=CVE-2025-66407), CVE Terms of Use, modified 2025-12-16
- GitHub Advisory Database: [GHSA-hfpv-mc5v-p9mm](https://github.com/advisories/GHSA-hfpv-mc5v-p9mm), CC-BY-4.0, modified 2026-05-26
- NVD: [CVE-2025-66407](https://nvd.nist.gov/vuln/detail/CVE-2025-66407), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2025-231](https://osv.dev/vulnerability/PYSEC-2025-231), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-66407 · Whole record: https://cve.day/CVE-2025-66407.json · Rebuilt by cve.day 2026-11-25T22:59:09.426Z
