CVE-2026-133836
Deferred Deferred - Pending Action

Remote Code Execution in HanLP

Vulnerability report for CVE-2026-133836, 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 vulnerability has been found in hankcs HanLP up to 2.1.6. The affected element is the function RNNLanguageModel.load_language_model of the file hanlp/layers/embeddings/contextual_string_embedding.py. Such manipulation of the argument model_file leads to deserialization. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. Upgrading to version 2.1.7 is sufficient to fix this issue. The name of the patch is 6962907e37dfa467fa6dee164b5b1d0a904b24db. The affected component should be upgraded.

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-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a deserialization issue in the HanLP library up to version 2.1.6. It exists in the RNNLanguageModel.load_language_model function where manipulating the model_file argument allows deserialization attacks. This can be exploited remotely.

Detection Guidance

This vulnerability involves deserialization in the RNNLanguageModel.load_language_model function of HanLP. To detect it, check if your system is running HanLP versions up to 2.1.6. Use commands like pip show hanlp to verify the installed version. Inspect logs for unusual deserialization attempts or remote access patterns.

Impact Analysis

An attacker could remotely execute arbitrary code on your system by exploiting this deserialization flaw. This may lead to data breaches, system compromise, or unauthorized access depending on the application's context.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection principles or HIPAA's security requirements. Non-compliance risks include fines and legal penalties.

Mitigation Strategies

Upgrade HanLP to version 2.1.7 or later immediately. The patch is available at 6962907e37dfa467fa6dee164b5b1d0a904b24db. Remove or restrict access to the vulnerable function if upgrading is not feasible. Monitor network traffic for signs of exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-133836. 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...