CVE-2026-133835 Details
Description
A flaw has been found in hankcs HanLP up to 2.1.6. Impacted is the function uncompress of the file hanlp/utils/io_util.py of the component TAR Archive Extraction Handler. This manipulation causes path traversal. The attack is possible to be carried out remotely. The exploit has been published and may be used. Upgrading to version 2.1.7 is recommended to address this issue. Patch name: feb0f82d12762cf4e687b9926efd90c672857780. You should upgrade the affected component.
A path traversal vulnerability has been identified in hankcs HanLP versions through 2.1.6, specifically within the TAR archive extraction handler. The issue arises in the 'uncompress' function of 'hanlp/utils/io_util.py', where TAR archives are extracted without proper validation of member paths. This flaw allows crafted archive members to be written outside the intended destination directory, creating a potential for arbitrary file writes. The vulnerability can be exploited remotely, and has been publicly disclosed along with a proof of concept.
Users are advised to upgrade to HanLP version 2.1.7 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/zewolkt3939/8f665b80c0878e5efde324c255d1abcd | [email protected] | BundleExploitTechnical Analysis |
| https://github.com/hankcs/HanLP/ | [email protected] | Vendor |
| https://github.com/hankcs/HanLP/commit/feb0f82d12762cf4e687b9926efd90c672857780 | [email protected] | Source CodeVendor |
| https://vuldb.com/cve/CVE-2026-133835 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1051821 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/441458 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/441458/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hankcs HanLP | 2.1.6 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | New CVE Received | [email protected] |
Volerion