langchain4j LangChain4j-agentic AgenticScopeJsonSerializationIT.java AgenticScopeSerializer.fromJson deserialization
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."
CVE-2026-97869
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97869
langchain4j
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"cpes": [
"cpe:2.3:a:langchain4j:langchain4j:*:*:*:*:*:*:*:*"
],
"vendor": "n/a",
"modules": [
"LangChain4j-agentic"
],
"product": "langchain4j",
"versions": [
{
"status": "affected",
"version": "1.5.3-beta10"
},
{
"status": "affected",
"version": "1.11.10-beta18"
},
{
"status": "affected",
"version": "1.18.1-beta27"
},
{
"status": "unaffected",
"version": "1.5.3-beta11"
},
{
"status": "unaffected",
"version": "1.11.10-beta19"
},
{
"status": "unaffected",
"version": "1.18.1-beta28"
}
]
}
]- Related CVEs
- CVE-2026-97869
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #2183 · Revision 1
- Added to Heist Feed
- Publisher date