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.
Published: 2026-10-06
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary code execution via insecure deserialization
Action: Immediate Patch
AI Analysis

Impact

An attacker with write access to the Magento cache backend can inject specially crafted PHP objects into the cache data. The TrueLayer Magento 2 Plugin’s Psr16CacheAdapter uses PHP’s native unserialize() function without restricting allowed classes. When untrusted data is retrieved, the unserialization process instantiates these objects, allowing the attacker to trigger gadget strings present in the application environment and ultimately execute arbitrary code.

Affected Systems

TrueLayer Magento 2 Plugin, versions 2.4.0 through 2.4.2, running on Magento 2 e‑commerce platforms.

Risk and Exploitability

The CVSS base score of 7.5 indicates a high severity level. The EPSS score is currently unavailable, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the attacker to have the ability to write to the cache infrastructure, either through local filesystem access or via a remotely accessible cache service such as Redis or Memcached. If these conditions are met, the attacker can inject malicious serialized payloads that are processed during cache retrieval, leading to arbitrary code execution. Therefore, the risk is significant for deployments where cache write permissions are not tightly constrained.

Generated by OpenCVE AI on October 6, 2026 at 14:12 UTC.

Remediation

Vendor Solution

The vulnerability has been fixed by the TrueLayer team in version 2.4.3 of the TrueLayer Magento 2 Plugin, which has been publicly available since August 3, 2026. The fix removes the use of the unserialize() function in the Psr16CacheAdapter component and adopts a JSON-based serialization mechanism, in line with the security practices implemented in the Magento 2 core. It is recommended to update the plugin to version 2.4.3 or later. It is also recommended to ensure that the caching infrastructure used by Magento does not allow unauthorized write access.


OpenCVE Recommended Actions

  • Upgrade the TrueLayer Magento 2 Plugin to version 2.4.3 or later.
  • Ensure the cache backend (Redis, Memcached, etc.) does not allow unauthorized write access; restrict it to a dedicated service account with minimal permissions.
  • Review Magento’s cache configuration and disable any legacy settings that permit remote writes, and implement ACL controls for cache operations.

Generated by OpenCVE AI on October 6, 2026 at 14:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title Insecure deserialization in the TrueLayer Magento 2 plugin
First Time appeared Truelayer
Truelayer truelayer Magento 2 Plugin
Weaknesses CWE-502
CPEs cpe:2.3:a:truelayer:truelayer_magento_2_plugin:versions_2.4.0_through_2.4.2.:*:*:*:*:*:*:*
Vendors & Products Truelayer
Truelayer truelayer Magento 2 Plugin
References
Metrics cvssV4_0

{'score': 7.5, 'vector': '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'}


Subscriptions

Truelayer Truelayer Magento 2 Plugin
cve-icon MITRE

Status: PUBLISHED

Assigner: INCIBE

Published:

Updated: 2026-10-06T10:48:42.187Z

Reserved: 2026-10-01T11:25:37.315Z

Link: CVE-2026-103831

cve-icon Vulnrichment

Updated: 2026-10-06T10:48:29.151Z

cve-icon NVD

Status : Deferred

Published: 2026-10-06T11:17:13.783

Modified: 2026-10-06T15:18:12.170

Link: CVE-2026-103831

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:00:04Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data