Skip to main content

TrueLayer Magento Plugin CVE-2026-103831

| EUVDEUVD-2026-93363 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-10-06 INCIBE GHSA-x69j-rqv7-gx25
7.5
CVSS 4.0 · Vendor: INCIBE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to Redis/Memcached cache
  2. Delivery
    Inject crafted serialized PHP object into cache key
  3. Exploit
    Plugin retrieves value via Psr16CacheAdapter
  4. Execution
    Unrestricted unserialize() instantiates gadget chain
  5. Impact
    Achieve arbitrary code execution in Magento context

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

Requires the attacker to already have write access to the cache backend (Redis or Memcached) used by the Magento installation - achievable via local filesystem access or network reachability to an exposed/misconfigured cache service - plus the presence of an exploitable PHP gadget chain in the deployed Magento/Adobe Commerce environment to convert deserialization into code execution. Exploitation is strongly LIMITED by these prerequisites: it is not possible against a Magento deployment where the cache infrastructure is properly network-isolated and authenticated, and it presupposes a prior foothold or a cache-exposure misconfiguration. No Magento application-level authentication or user interaction is required once cache-write capability exists.

Impact

This is a high-CVSS flaw (7.5, CVSS 4.0) whose real-world risk is materially lower than the number suggests once prerequisites are considered. The vendor-supplied CVSS 4.0 vector is internally consistent with the description: AV:L (local/non-network vector), AC:H and AT:P (a specific precondition - write access to the cache backend - must already be met), yielding full VC/VI/VA:H impact via potential RCE. The critical limiting signal is that exploitation is NOT self-contained: an attacker must already be able to write arbitrary data into Redis/Memcached, which normally implies an existing foothold (local filesystem access or reachability of an unauthenticated/misconfigured cache service). PR:N in the 4.0 vector reflects that no Magento application authentication is needed, but it should not be read as 'unauthenticated internet-facing RCE' - the AT:P requirement is the real gate. No EPSS score, KEV listing, or POC is present in the provided data: there is no public exploit identified at time of analysis and no evidence of active exploitation. Net: treat as a defense-in-depth / chained-escalation issue (meaningful where cache infrastructure is exposed or co-tenant), not a standalone emergency. Conflict to verify with vendor: the vector is AV:L yet the description also contemplates 'a cache infrastructure accessible from the Magento environment,' which could be network-adjacent - confirm whether a remotely reachable, unauthenticated Redis/Memcached changes the effective attack vector.

Exploit ScenarioDerived

An attacker who has already compromised or can reach an unsecured Redis/Memcached instance backing a Magento store writes a maliciously crafted PHP serialized object into a cache key consumed by the TrueLayer plugin's Psr16CacheAdapter. When the plugin later retrieves that value and calls PHP's unrestricted unserialize(), a gadget chain present in the Magento/Adobe Commerce codebase is instantiated, leading to arbitrary code execution. No public exploit code was identified in the provided data, and success additionally depends on a usable gadget chain existing in the deployed application.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

Insecure deserialization in the TrueLayer Magento 2 Plugin's Psr16CacheAdapter component allows an attacker who already has write access to the Magento cache backend (Redis or Memcached) to achieve arbitrary code execution via crafted PHP objects. The flaw arises from PHP's unserialize() being called without class restrictions, and exploitation requires both cache-write capability-obtainable through local filesystem access or an exposed cache service-and the presence of a usable gadget chain in the deployed Magento/Adobe Commerce environment. Although rated CVSS 7.5, real-world risk is materially lower because the attack preconditions are stringent; no public exploit code has been identified at time of analysis, and the issue is not confirmed as actively exploited.

RemediationAI

No vendor-released patch has been identified at time of analysis. To mitigate the risk, focus on preventing unauthorized write access to the cache backend: bind Redis and Memcached to localhost or a private network interface, enforce authentication (Redis AUTH, Memcached SASL), and restrict network access via firewall rules so only the Magento application servers can reach the cache service. If the plugin is not essential, consider disabling or removing it to eliminate the vulnerable code path; however, this may break functionality that relies on the PSR-16 cache adapter. Additionally, ensure the Magento file system is not writable by untrusted users, as local file access to cache files can also enable the attack. Monitor for signs of cache tampering or unusual PHP object deserialization in logs, and apply the principle of least privilege to all services that can write to the cache. For further guidance, refer to the INCIBE advisory at the provided URL, and monitor the TrueLayer Magento 2 Plugin repository or vendor channels for an official fix; once a patched version is released, upgrade immediately.

Affected VersionsENISA

TrueLayer Magento 2 Plugin versions 2.4.0 through 2.4.2.

Affected Packages

euvd truelayer_magento_2_plugin_versions_2_4_0_through no fix

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 PHP object injection (CWE-502) in the Psr16CacheAdapter component of the TrueLayer Magento 2 Plugin. The adapter uses PHP's native unserialize() function when retrieving data from the PSR-16 cache, without passing the allowed_classes option to restrict which classes can be instantiated. An attacker who can write to the cache backend-Redis or Memcached, or the local file system where cache files are stored-can place a serialized payload containing malicious objects. When Magento later reads and unserializes that payload, the objects are instantiated and their magic methods (e.g., __wakeup, __destruct) may be triggered, potentially chaining through existing gadget classes in the Magento/Adobe Commerce codebase to execute arbitrary code. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) reflects that the attack requires local or adjacent access to the cache infrastructure, has high complexity due to the need for a working gadget chain and prior cache-write capability, but no privileges or user interaction once those preconditions are met. The independent assessment using CVSS 3.1 (AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) concurs, highlighting that the flaw is not remotely exploitable against properly isolated and authenticated cache services.

Know when Truelayer Magento 2 Plugin 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

Vendor (INCIBE) PRIMARY 7.5 HIGH
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
vuln.today AI 7.4 HIGH

Local/config-dependent vector (AV:L) with a mandatory cache-write precondition and gadget-chain dependency modeled as AC:H; no app authentication needed (PR:N); successful RCE yields full C/I/A impact.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (INCIBE).

CVSS VectorVendor: INCIBE

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The TrueLayer Magento 2 Plugin contains a high-severity insecure deserialization flaw that could allow an attacker with existing cache-write access to execute arbitrary code and compromise the e-commerce environment. Exploitation requires write access to Redis or Memcached and a usable gadget chain, and no public exploit identified at time of analysis, so immediate risk to most organizations is limited. No vendor-released patch identified at time of analysis; leadership should prioritize inventorying affected deployments, hardening cache services, and monitoring for cache tampering.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to Redis/Memcached to trusted application hosts only, enforce authentication and TLS where supported, isolate the cache backend from untrusted networks, rotate cache credentials, monitor for unauthorized cache writes or unusual serialized payloads, and disable the TrueLayer Magento 2 Plugin if it is not business-critical.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche TrueLayer payment integration plugin for Magento 2, limited install base
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy