Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.9CVE-2026-133835

CVE-2026-133835: hankcs HanLP TAR Archive Extraction io_util.py uncompress path traversal

hankcs HanLP

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133835: medium-severity vulnerability (CVSS 6.9) in hankcs HanLP.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.9.

Affected products and versions

hankcs HanLP 2.1.0; hankcs HanLP 2.1.1; hankcs HanLP 2.1.2; hankcs HanLP 2.1.3; hankcs HanLP 2.1.4; hankcs HanLP 2.1.5; hankcs HanLP 2.1.6; hankcs HanLP 2.1.7 (fixed in 2.1.7)

ProductVersionsFixed in
hankcs HanLP2.1.0—
hankcs HanLP2.1.1—
hankcs HanLP2.1.2—
hankcs HanLP2.1.3—
hankcs HanLP2.1.4—
hankcs HanLP2.1.5—
hankcs HanLP2.1.6—
hankcs HanLP2.1.72.1.7

Action recommended by the source

Upgrade to a fixed version: 2.1.7.

Fixed in: 2.1.7

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-22

Relevant change history

  1. Published

    Preliminary advisory published.