Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to AgenticScope persistence store
-
ExploitCraft malicious JSON abusing Jackson default typing
-
ExecutionApplication deserializes via AgenticScopeSerializer.fromJson
-
ImpactArbitrary class instantiation in JVM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires BOTH of the following, per the maintainer: (1) the application must have explicitly enabled AgenticScope persistence, which is opt-in and OFF by default; and (2) the attacker must already possess write access to the persistence store used by that feature. The root cause is Jackson deserialization with insecure default typing enabled in the LangChain4j-agentic module's AgenticScopeSerializer.fromJson path. Limiting factors: the opt-in non-default configuration, the requirement that the attacker already control the writable backing store (a significant pre-existing foothold), and high attack complexity (AC:H) with 'exploitability difficult' per the report. These preconditions substantially reduce realistic risk beyond the raw deserialization classification. |
| Impact | This is a genuinely low-priority issue despite the CWE-502 (deserialization) classification that superficially reads as dangerous. The vendor-supplied CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L) scores only 2.1, and every signal supports that: high attack complexity, high privileges required (PR:H), and only Low impact to confidentiality/integrity/availability. The maintainer explicitly states exploitation requires (1) an application to have opted into AgenticScope persistence and (2) an attacker who can ALREADY write to that persistence store - meaning the attacker must have effectively pre-compromised the trust boundary before the deserialization flaw adds any value. POC exploit code exists publicly (afish3201-debug GitHub writeup describing 'Insecure Jackson Default Typing Leads to Arbitrary Class Instantiation'), which raises awareness but the exploit is gated behind write access to the store. There is NO CISA KEV listing and no EPSS score provided; the E:P (Proof-of-Concept) exploit maturity in the vector is consistent with 'exploit published but not observed in the wild.' The signals are internally consistent - no conflict between network vector and the stated preconditions, because the 'network' reach is nullified by the requirement that the attacker already control the writable store. Bottom line: high-CVSS optics from the 'deserialization' label, but low real-world risk. |
| Exploit ScenarioDerived | In an application that has explicitly enabled the opt-in AgenticScope persistence feature, an attacker who already has write access to the backing store poisons a stored AgenticScope JSON blob to abuse Jackson's insecure default typing. When the application later deserializes it via AgenticScopeSerializer.fromJson, arbitrary class instantiation occurs. Public POC exploit code exists, but the attack requires pre-existing write access to the persistence store and the non-default persistence feature, so it is difficult to execute (AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Deserialization of untrusted data in the LangChain4j-agentic module's AgenticScopeSerializer.fromJson path allows an attacker who can already write to an AgenticScope persistence store to trigger arbitrary class instantiation through Jackson's insecure default typing. Affected versions are the 1.5.3, 1.11.10 and 1.18.1 beta lines up to and including 1.5.3-beta10, 1.11.10-beta18 and 1.18.1-beta27, with fixes released in 1.5.3-beta11, 1.11.10-beta19 and 1.18.1-beta28 under advisory GHSA-gmwr-7wmf-mrjm. Publicly available exploit code exists, but effective risk is low: exploitation requires that the application have explicitly enabled AgenticScope persistence (opt-in and off by default) and that the attacker already control the writable backing store, with attack complexity rated high; this issue is not confirmed actively exploited (not in CISA KEV), and EPSS-style scoring is negligible given the reported CVSS base of 2.1.
RemediationAI
Vendor-released patch: upgrade to langchain4j 1.18.1-beta28 (or the corresponding 1.18.1 release), 1.11.10-beta19, or 1.5.3-beta11 depending on your maintenance line; the fix is documented in GHSA-gmwr-7wmf-mrjm at https://github.com/langchain4j/langchain4j/security/advisories/GHSA-gmwr-7wmf-mrjm and the release tag https://github.com/langchain4j/langchain4j/releases/tag/1.18.1. Because exploitation requires both opt-in AgenticScope persistence and prior write access to its backing store, the most effective compensating control is to leave AgenticScope persistence disabled (its default state) if the feature is not needed - the trade-off being loss of scope persistence and any stateful agentic-scope workflows that depend on it. If persistence must stay on, treat the persistence store as a trusted, non-shared boundary: restrict write access to the store to the application's own service identity only, block or remove any external writers, and place a strict type allowlist (Jackson PolymorphicTypeValidator) in front of deserialization - the trade-off being that legitimate scope payloads referencing non-allowlisted types will fail to deserialize and require allowlist maintenance. Note also that the release notes for 1.18.1 list only version-bump changes, so validate the fix against the beta28 artifacts or the advisory rather than assuming the tagged 1.18.1 line alone is sufficient.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-502 insecure deserialization issue rooted in Jackson's default typing feature being enabled insecurely inside the LangChain4j-agentic component. When AgenticScopeSerializer.fromJson processes serialized agentic scope state, Jackson's polymorphic type handling can be induced to instantiate attacker-nominated classes rather than restricting types to an expected allowlist, which is the 'insecure Jackson default typing leads to arbitrary class instantiation' pattern described in the public write-up. The trigger surface is the test-named AgenticScopeJsonSerializationIT / AgenticScopeSerializer code path, and the affected artifact per CPE is langchain4j (cpe:2.3:a:n/a:langchain4j) across the beta lines enumerated by EUVD. The mitigating architecture is that this code path is only reachable when the application has turned on AgenticScope persistence, a non-default opt-in setting, and the malicious payload must already reside in the persistence store the application reads from, meaning the attacker must first obtain a write foothold on that store. Both the CVSS 4.0 vector (AC:H, PR:H, E:P) and the independent assessment (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L) agree on high complexity, high privileges required, and only limited confidentiality, integrity and availability impact with no scope change.
Know when Langchain4J gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Attacker must already have write access to the opt-in persistence store, so PR:H and AC:H; arbitrary class instantiation yields limited (Low) C/I/A impact absent a confirmed RCE gadget chain.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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."
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
EUVD-2026-87114
GHSA-hg7f-vffm-ppc6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB