CVE-2026-133835
Deferred Deferred - Pending Action

Path Traversal in HanLP TAR Archive Extraction

Vulnerability report for CVE-2026-133835, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-20

Last updated on: 2026-11-20

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-20
Last Modified
2026-11-20
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
hankcs hanlp to 2.1.6 (inc)
hankcs hanlp 2.1.7

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal flaw in the HanLP library up to version 2.1.6. It exists in the uncompress function of hanlp/utils/io_util.py, specifically in the TAR archive extraction handler. An attacker can exploit this remotely to access files outside the intended directory by manipulating the file path during extraction.

Detection Guidance

This vulnerability involves path traversal in the TAR archive extraction handler of HanLP versions up to 2.1.6. To detect it, check the installed version of HanLP using pip show hanlp or pip list. If the version is 2.1.6 or lower, the system is vulnerable.

Impact Analysis

An attacker could read sensitive files on your system, modify files, or execute arbitrary code if they can provide a malicious TAR archive. This could lead to data breaches, unauthorized access, or system compromise depending on the application's permissions and environment.

Compliance Impact

This vulnerability involves path traversal in the TAR archive extraction handler of HanLP, which could allow remote attackers to access unauthorized files. Such flaws may lead to unauthorized data exposure or manipulation, potentially violating GDPR (data protection) and HIPAA (health data privacy) requirements for secure data handling and access controls.

Mitigation Strategies

Upgrade HanLP to version 2.1.7 or later immediately. Use pip install --upgrade hanlp to apply the patch. Ensure no TAR archives from untrusted sources are processed until the upgrade is complete.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-133835. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...