---
id: CVE-2026-120013
title: Path Traversal in Agent Memory Module of SAP Cloud SDK for Python
summary: >-
  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 val…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-22
vendor: SAP_SE
product: SAP Cloud SDK for Python
affected:
  - sap_cloud_sdk_for_python < 0.50.0
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-11-12T17:43:25.914828Z'
published: '2026-11-10'
updated: '2026-11-12'
sourceUpdated: '2026-11-12T17:43:43.190Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120013'
references:
  - url: >-
      https://github.com/SAP/cloud-sdk-python/security/advisories/GHSA-28c8-457r-4cf6
  - url: 'https://url.sap/sapsecuritypatchday'
tags:
  - cve.org
epss: 0.00446
epssPercentile: 0.39325
ingestedAt: '2026-11-10T08:38:38.340Z'
---

## Overview

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.

## Affected

- `sap_cloud_sdk_for_python < 0.50.0`

## Remediation

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