---
id: CVE-2026-103831
title: >-
  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 retrievi…
summary: >-
  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 retrievi…
severity: high
cvss: 7.5
cvssVector: 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'
cwe:
  - CWE-502
vendor: TrueLayer
product: TrueLayer Magento 2 Plugin
affected:
  - magento_2_plugin versions 2.4.0 through 2.4.2.
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T11:17:13.783'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103831'
references:
  - url: >-
      https://www.incibe.es/en/incibe-cert/notices/aviso/insecure-deserialization-truelayer-magento-2-plugin
    label: cve-coordination@incibe.es
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-06T10:48:14.713541Z'
cvssSource: cna
ingestedAt: '2026-10-06T10:55:47.392Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
