CVE-2026-133836
hankcs HanLP contextual_string_embedding.py RNNLanguageModel.load_language_model deserialization
CVSS Score
6.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-502 CWE-20 |
| Vendor | hankcs |
| Product | hanlp |
| Published | Nov 20, 2026 |
| Last Updated | Nov 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for hankcs hanlp
Be the first to know when new medium vulnerabilities affecting hankcs hanlp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
hankcs / HanLP
2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6
References
vuldb.com: https://vuldb.com/vuln/441459 vuldb.com: https://vuldb.com/vuln/441459/cti vuldb.com: https://vuldb.com/cve/CVE-2026-133836 vuldb.com: https://vuldb.com/submit/1051822 gist.github.com: https://gist.github.com/zewolkt3939/8f665b80c0878e5efde324c255d1abcd github.com: https://github.com/hankcs/HanLP/commit/6962907e37dfa467fa6dee164b5b1d0a904b24db github.com: https://github.com/hankcs/HanLP/
Credits
Truong Bao Nguyen ๐ kubao4664 (VulDB User) kubao4664 (VulDB User)