MediumVulnerability
CVE-2026-133836: hankcs HanLP deserialization via model_file in RNNLanguageModel
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-133836
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
CVE-2026-133836 affects hankcs HanLP up to 2.1.6, in the function RNNLanguageModel.load_language_model in hanlp/layers/embeddings/contextual_string_embedding.py. Manipulating the model_file argument leads to deserialization, and the attack may be performed remotely. The exploit has been publicly disclosed and may be used.
Mitigation
Upgrading to version 2.1.7 is sufficient to fix this issue. The name of the patch is 6962907e37dfa467fa6dee164b5b1d0a904b24db, and the affected component should be upgraded.
Related items
- HighCVE-2026-134172: audio-separator insecure deserialization of malicious Demucs model filesSimilar attack · NVD/CVE Database
- MediumCVE-2026-128136: NLTK pickle loading lets crafted models read or truncate local filesSimilar attack · NVD/CVE Database
- HighCVE-2026-76818: Axon rtkx bootstrap runs unverified downloaded binarySimilar attack · NVD/CVE Database
- MediumMicrosoft’s Agent Framework PyPI package compromised to steal credentialsSimilar attack · BleepingComputer
- InfoOX Security Launches OX Radar and Response Center to Show Companies Which Cyber Threats Actually Affect ThemSimilar attack · CSO Online