Skip to content

vulnerability in agents Project #518

@ankitdn

Description

@ankitdn

While working on agents project, I identified a critical serialization injection vulnerability in the langchain-core package. The issue exists in the dumps() and dumpd() serialization methods, which fail to escape user-controlled dictionaries containing lc keys. During deserialization, these structures are treated as valid LangChain objects, which may allow attackers to extract environment secrets or instantiate internal classes with controlled parameters.

CVE Link
CVE Report

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions