Path Traversal in Agent Memory Module of SAP Cloud SDK for Python
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 10, 2026
- Updated
- Nov 12, 2026
- Reserved
- Oct 30, 2026
Description
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.
| Product | Versions |
|---|---|
| SAP Cloud SDK for Python SAP_SE | < 0.50.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | sap |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.