Skip to content
MediumVulnerability

CVE-2026-133836: hankcs HanLP deserialization via model_file in RNNLanguageModel

Identifier
CVE-2026-133836
Published
Record updated
View JSON
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.