CVE-2026-34242: Weblate Arbitrary File Read Vulnerability
HIGHCVE-2026-34242 is a HIGH (CVSS 7.7) arbitrary file read vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Weblate libraries in the PyPI ecosystem. The issue involves arbitrary file read via symlink. Remediation is available by upgrading affected packages to version 5.17.
CVE-2026-34242 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-34242
To remediate this vulnerability, upgrade all affected Weblate 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>=5.17
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-34242, inspect your installed packages using pip:
pip show weblate
Analyze the terminal output to locate any version of Weblate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.17), 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-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Weblate, 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-34242 Affected Weblate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
weblate
|
PyPI |
< 5.17
|
5.17
|
References
Frequently Asked Questions
What is CVE-2026-34242?
Which Weblate versions are affected?
What version fixes CVE-2026-34242?
Is weblate affected?
What is the CVSS score of CVE-2026-34242?
What CWE is associated with CVE-2026-34242?
How can I check PyPI dependencies for CVE-2026-34242?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hv99-mxm5-q397",
"modified" : "2026-04-16T20:43:11Z",
"published" : "2026-04-16T20:43:11Z",
"aliases" : [ "CVE-2026-34242" ],
"summary" : "Weblate: Arbitrary File Read via Symlink",
"details" : "### Impact\n\nThe ZIP download feature didn't verify downloaded file and it could follow symlinks outside the repository.\n\n### Patches\n\n* https://github.com/WeblateOrg/weblate/pull/18683\n\n### References\n\nThanks to @DavidCarliez for reporting this vulnerability via GitHub.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "weblate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.17"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-hv99-mxm5-q397"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34242"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/commit/5db3a2a2e047ecaab627a8731cd744a30b2f51d3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WeblateOrg/weblate"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-22", "CWE-59" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-16T20:43:11Z",
"nvd_published_at" : "2026-04-15T19:16:35Z"
}
}