CVE-2026-103831 Insecure deserialization in the TrueLayer Magento 2 plugin
An attacker with cache write access can inject malicious PHP objects into the TrueLayer Magento 2 plugin cache, leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-103831?
CVE-2026-103831 is a high-severity unsafe deserialization vulnerability in TrueLayer Magento 2 Plugin, published on 6 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
CVE-2026-103831: Insecure deserialization vulnerability in the Psr16CacheAdapter component of the TrueLayer Magento 2 Plugin, due to the use of PHP's native unserialize() function without restrictions on the classes allowed when retrieving data stored in the cache. An attacker who already has the ability to write manipulated data to the cache backend used by Magento—such as Redis or Memcached—could inject specially crafted PHP objects and trigger their deserialization, potentially leading to arbitrary code execution via gadget strings available in the application environment. Exploitation therefore requires a prerequisite condition that allows writing to the cache infrastructure, either through access to the local file system or to a cache infrastructure accessible from the Magento environment.
Weakness: CWE-502
Which versions are affected by CVE-2026-103831?
How do I fix CVE-2026-103831?
No fix has been published for CVE-2026-103831 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2026-103831 being exploited?
There is no known exploitation of CVE-2026-103831 in the wild and no public exploit code.
Sources
Also known as GHSA-x69j-rqv7-gx25.