Skip to main content

CVE-2026-103831: CWE-502 Deserialization of untrusted data in TrueLayer TrueLayer Magento 2 Plugin

0
High
VulnerabilityCVE-2026-103831cvecve-2026-103831cwe-502
Published: 10/06/2026 (10/06/2026, 10:28:32 UTC)
Source: CVE Database V5
Vendor/Project: TrueLayer
Product: TrueLayer Magento 2 Plugin

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.

CVSS v4.0

Score 7.5high

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

TrueLayer

TrueLayer Magento 2 Plugin

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 11:03:13 UTC

Technical Analysis

This vulnerability (CVE-2026-103831) affects the TrueLayer Magento 2 Plugin's Psr16CacheAdapter component. The plugin uses PHP's unserialize() function without limiting the classes that can be deserialized when reading cached data. If an attacker can write manipulated data to the cache backend (such as Redis or Memcached), they can inject specially crafted PHP objects. When these objects are deserialized by the plugin, it may lead to arbitrary code execution via gadget chains present in the application environment. Exploitation requires the attacker to have write access to the cache infrastructure, which might be possible through local file system access or access to the cache service accessible from Magento.

Potential Impact

Successful exploitation can lead to arbitrary code execution on the server running the TrueLayer Magento 2 Plugin, potentially compromising the entire Magento environment. However, exploitation requires a prerequisite condition: the attacker must already have the ability to write manipulated data to the cache backend, which limits the attack surface.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to the cache backend (e.g., Redis, Memcached) to trusted users and services only. Monitor and secure the cache infrastructure to prevent unauthorized writes. Avoid using unserialize() on untrusted data or implement strict class whitelisting if modifying the plugin code is possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
INCIBE
Date Reserved
2026-10-01T11:25:37.315Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac4d2222cdf04f6569c4ee4

Added to database: 10/06/2026, 10:49:06 UTC

Last enriched: 10/06/2026, 11:03:13 UTC

Last updated: 10/06/2026, 11:19:05 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses