NetSight
high7.5

CVE-2026-120013

The agent_memory module accepts a caller-supplied tenant parameter in create_client(tenant=...).

Impact

The agent_memory module accepts a caller-supplied tenant parameter in create_client(tenant=...). Prior to version 0.50.0, the tenant parameter was not validated before being used to construct filesystem paths for secret resolution. A value containing path traversal sequences (for example, attacker-corp/../victim-corp) could cause the resolved path to escape the intended directory and access another tenant's secrets under:Plain Text/etc/secrets/appfnd/hana-agent-memory/<tenant>/Successful exploitation could allow unauthorized access to another tenant's mounted credentials, including OAuth client IDs and client secrets. This vulnerability could enable cross-tenant access to sensitive credentials.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read.

Affected products · SAP SE

ProductAffected versions
SAP Cloud SDK for Python
before 0.50.0
Version < 0.50.0

Weakness classification

References