# CVE-2025-66407: Weblate SSRF in Create Component functionality

Source: https://junglewise.ai/threats/cve-2025-66407-weblate-ssrf-in-create-component-functionality  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-16. Updated: 2026-05-26  
License: CC BY 4.0 with a link back

CVE-2025-66407 · Severity: medium · CVSS 5 · Published 2025-12-16

Weblate, a web-based translation platform, contains a vulnerability in its component creation feature. Authorized users can provide a malicious URL that forces the server to make requests to internal systems or local files. This could allow an attacker to steal sensitive information from internal services or cloud metadata endpoints, potentially leading to a full environment compromise.

Technologies: [weblate (PyPI)](https://junglewise.ai/threats/technologies/weblate), [Weblate](https://junglewise.ai/threats/technologies/weblate-weblate). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi), [Weblate](https://junglewise.ai/threats/vendors/weblate).

## Quick answers

**Is CVE-2025-66407 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-66407 being exploited in the wild.

**How severe is CVE-2025-66407?** Medium severity, with a CVSS score of 5, published 16 December 2025.

**Which products and versions are affected?** weblate (PyPI) < 5.15, ECOSYSTEM:introduced=0,fixed=5.15.

**Is there a fix for CVE-2025-66407?** Yes. weblate (PyPI): upgrade to 5.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-66407 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-66407?** Check whether you run weblate (PyPI) or Weblate at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- weblate (PyPI): upgrade to 5.15 or later

  ```sh
  pip install "weblate>=5.15"
  ```


## Technical details

A Server-Side Request Forgery (SSRF) vulnerability exists in Weblate's 'Create Component' functionality due to insufficient validation of the repository URL field. When the Mercurial VCS backend is selected, an authenticated attacker can provide URLs using arbitrary protocols (such as file:// or http://) to probe internal network services or enumerate local files. Unlike the Git backend, the Mercurial implementation exposes the full server-side HTTP response or detailed error messages in the UI, allowing for data exfiltration or filesystem layout discovery. In cloud environments, this can be used to access IMDS endpoints for credential theft. The issue is fixed in version 5.15; a workaround involves disabling the Mercurial backend in configuration.

## Affected products

- WeblateOrg Weblate < 5.15

## Identifiers

- CVE-2025-66407
- GHSA-hfpv-mc5v-p9mm
- PYSEC-2025-231

## Timeline

- 2025-12-15: disclosed: Initial disclosure to WeblateOrg
- 2025-12-16: advisory: NVD publication date
- 2026-05-26: advisory: GitHub Advisory published/updated

## References

- [https://api.github.com/users/secjson](https://api.github.com/users/secjson)
- [https://github.com/secjson](https://github.com/secjson)
- [https://api.github.com/users/secjson/gists%7B/gist_id%7D](https://api.github.com/users/secjson/gists%7B/gist_id%7D)
- [https://api.github.com/users/secjson/repos](https://api.github.com/users/secjson/repos)
- [https://avatars.githubusercontent.com/u/194551337?v=4](https://avatars.githubusercontent.com/u/194551337?v=4)
- [https://api.github.com/users/secjson/events%7B/privacy%7D](https://api.github.com/users/secjson/events%7B/privacy%7D)

## Related threats

- [Weblate argument injection in Mercurial backend](https://junglewise.ai/threats/cve-2026-86035-weblate-is-a-web-based-continuous-localization-platform-used-to)
- [Weblate IDOR in GroupViewSet authorization bypass](https://junglewise.ai/threats/cve-2026-55228-weblate-idor-in-groupviewset-authorization-bypass)
- [Weblate observable object existence disclosure via HTTP status codes](https://junglewise.ai/threats/cve-2026-55227-weblate-observable-object-existence-disclosure-via-http-status)
- [PYSEC-2026-2037 - Weblate leaks information via screenshots](https://junglewise.ai/threats/cve-2026-21889-weblate-information-disclosure-via-unprotected-screenshots)
- [PYSEC-2026-2040 - Weblate has an arbitrary file read via symbolic links](https://junglewise.ai/threats/cve-2025-68279-weblate-has-an-arbitrary-file-read-via-symbolic-links)
