Skip to content
Heist/ feed
Back to feed
Low

langchain4j LangChain4j-agentic AgenticScopeJsonSerializationIT.java AgenticScopeSerializer.fromJson deserialization

Type: advisorySources: OSV

A flaw has been found in langchain4j up to 1.5.3-beta10/1.11.10-beta18/1.18.1-beta27. This vulnerability affects the function AgenticScopeSerializer.fromJson of the file AgenticScopeJsonSerializationIT.java of the component LangChain4j-agentic. This manipulation causes deserialization. Remote exploitation of the attack is possible. The attack's complexity is rated as high. It is stated that the exploitability is difficult. The exploit has been published and may be used. Upgrading to version 1.5.3-beta11, 1.11.10-beta19 and 1.18.1-beta28 is able to resolve this issue. Upgrading the affected component is advised. The project maintainer kindly explains: "The issue was reported to us privately on 23 July 2026 and fixed in releases published on 29 July 2026. It is tracked as GHSA-gmwr-7wmf-mrjm. Exploitation requires an application to have enabled AgenticScope persistence, which is opt-in, and an attacker who can already write to that store. All maintained release lines have been patched."

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-97869
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 06:16 UTC · Revision 1

Source evidence

langchain4j LangChain4j-agentic AgenticScopeJsonSerializationIT.java AgenticScopeSerializer.fromJson deserialization

core-osv · Original source

Published 25 Sept 2026, 15:15 UTC

A flaw has been found in langchain4j up to 1.5.3-beta10/1.11.10-beta18/1.18.1-beta27. This vulnerability affects the function AgenticScopeSerializer.fromJson of the file AgenticScopeJsonSerializationIT.java of the component LangChain4j-agentic. This manipulation causes deserialization. Remote exploitation of the attack is possible. The attack's complexity is rated as high. It is stated that the exploitability is difficult. The exploit has been published and may be used. Upgrading to version 1.5.3-beta11, 1.11.10-beta19 and 1.18.1-beta28 is able to resolve this issue. Upgrading the affected component is advised. The project maintainer kindly explains: "The issue was reported to us privately on 23 July 2026 and fixed in releases published on 29 July 2026. It is tracked as GHSA-gmwr-7wmf-mrjm. Exploitation requires an application to have enabled AgenticScope persistence, which is opt-in, and an attacker who can already write to that store. All maintained release lines have been patched."

osv:CVE-2026-97869
Complete source record
{
  "id": "8737ebf038112f6b6ff81fdecbe5ba3b260d8ea5584d40c4974e98a202415cf5",
  "url": "https://osv.dev/vulnerability/CVE-2026-97869",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "langchain4j LangChain4j-agentic AgenticScopeJsonSerializationIT.java AgenticScopeSerializer.fromJson deserialization",
    "summary": "A flaw has been found in langchain4j up to 1.5.3-beta10/1.11.10-beta18/1.18.1-beta27. This vulnerability affects the function AgenticScopeSerializer.fromJson of the file AgenticScopeJsonSerializationIT.java of the component LangChain4j-agentic. This manipulation causes deserialization. Remote exploitation of the attack is possible. The attack's complexity is rated as high. It is stated that the exploitability is difficult. The exploit has been published and may be used. Upgrading to version 1.5.3-beta11, 1.11.10-beta19 and 1.18.1-beta28 is able to resolve this issue. Upgrading the affected component is advised. The project maintainer kindly explains: \"The issue was reported to us privately on 23 July 2026 and fixed in releases published on 29 July 2026. It is tracked as GHSA-gmwr-7wmf-mrjm. Exploitation requires an application to have enabled AgenticScope persistence, which is opt-in, and an attacker who can already write to that store. All maintained release lines have been patched.\"",
    "evidence": "osv:CVE-2026-97869",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-97869",
      "aliases": [
        "CVE-2026-97869",
        "GHSA-gmwr-7wmf-mrjm"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/langchain4j/langchain4j",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c06ebd9a65b7dc11b31f61832008a1901db8fcb0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "c06ebd9a65b7dc11b31f61832008a1901db8fcb0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.18.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.18.0",
            "1.17.0",
            "1.16.0",
            "1.15.0",
            "1.14.0",
            "1.13.0",
            "1.0.0-beta2",
            "1.0.0-beta1",
            "1.0.0-alpha1",
            "0.36.2",
            "0.36.1",
            "0.36.0",
            "0.35.0",
            "0.34.0",
            "0.33.0",
            "0.32.0",
            "0.31.0",
            "0.30.0",
            "0.29.1",
            "0.29.0",
            "0.28.0",
            "0.27.1",
            "0.27.0",
            "0.26.1",
            "0.26.0",
            "0.25.0",
            "0.24.0",
            "0.23.0",
            "0.22.0",
            "0.21.0",
            "0.20.0",
            "0.19.0",
            "0.18.0",
            "0.17.0",
            "0.16.0",
            "0.15.0",
            "0.14.0",
            "0.13.0",
            "0.12.0",
            "0.11.0",
            "0.10.0",
            "0.9.0",
            "0.8.0",
            "0.7.0",
            "0.6.0",
            "0.5.0",
            "0.4.0",
            "0.3.0",
            "0.2.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97869.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.980044758Z",
      "provider": "osv",
      "references": [
        "https://github.com/langchain4j/langchain4j/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97869.json",
        "https://github.com/langchain4j/langchain4j/security/advisories/GHSA-gmwr-7wmf-mrjm",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-97869",
        "https://vuldb.com/cve/CVE-2026-97869",
        "https://vuldb.com/submit/911825",
        "https://vuldb.com/vuln/409886",
        "https://vuldb.com/vuln/409886/cti",
        "https://github.com/langchain4j/langchain4j/releases/tag/1.18.1",
        "https://github.com/afish3201-debug/CVE/blob/main/Insecure%20Jackson%20Default%20Typing%20Leads%20to%20Arbitrary%20Class%20Instantiation%20in%20LangChain4j%20Agentic%20Module.md"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20",
          "CWE-502"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.5.3-beta10"
                  },
                  {
                    "last_affected": "1.5.3-beta10"
                  },
                  {
                    "introduced": "1.11.10-beta18"
                  },
                  {
                    "last_affected": "1.11.10-beta18"
                  },
                  {
                    "introduced": "1.18.1-beta27"
                  },
                  {
                    "last_affected": "1.18.1-beta27"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4j"
                  },
                  {
                    "last_affected": "1.5.3-beta10"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97869.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-97869",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518463,
  "published_at": "2026-09-25T15:15:10.459+00:00"
}