CVE-2026-50127: Weblate SSRF Outbound URL Guard Misses Some Vulnerability
MODERATECVE-2026-50127 is a MODERATE (CVSS 5.9) outbound url guard misses some vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Weblate SSRF libraries in the PyPI ecosystem. The issue involves outbound url guard misses some private ranges. Remediation is available by upgrading affected packages to version 2026.6.
CVE-2026-50127 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-50127
To remediate this vulnerability, upgrade all affected Weblate SSRF dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install weblate>=2026.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show weblate
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-50127, inspect your installed packages using pip:
pip show weblate
Analyze the terminal output to locate any version of Weblate SSRF in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.6), your application is affected.
Note: The pip show weblate command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Weblate SSRF, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-50127 Affected Weblate SSRF Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
weblate
|
PyPI |
≥ 5.15
< 2026.6
|
2026.6
|
References
Frequently Asked Questions
What is CVE-2026-50127?
Which Weblate SSRF versions are affected?
What version fixes CVE-2026-50127?
Is weblate affected?
What is the CVSS score of CVE-2026-50127?
What CWE is associated with CVE-2026-50127?
How can I check PyPI dependencies for CVE-2026-50127?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vmfc-9982-2m45",
"modified" : "2026-07-07T23:46:33Z",
"published" : "2026-07-07T23:46:33Z",
"aliases" : [ "CVE-2026-50127" ],
"summary" : "Weblate SSRF: outbound URL guard misses some private ranges",
"details" : "### Impact\n\nWeblate's `VCS_RESTRICT_PRIVATE` did not properly account for some transitional IPv6 ranges, multicast addresses, or some semi-private IPv4 ranges, which allowed some addresses to bypass private range restrictions.\n\n### Patches\n\n* https://github.com/WeblateOrg/weblate/pull/19768\n\n### Resources\n\nThe issue was reported by @tonghuaroot via GitHub, and the same user also provided the initial patch.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "weblate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.15"
}, {
"fixed" : "2026.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-vmfc-9982-2m45"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-50127"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/pull/19768"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WeblateOrg/weblate"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/releases/tag/weblate-2026.6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-07T23:46:33Z",
"nvd_published_at" : "2026-06-10T20:17:29Z"
}
}