# CVE-2026-120013: SAP Cloud SDK for Python path traversal in agent_memory module

Source: https://junglewise.ai/threats/cve-2026-120013-the-agent-memory-module-accepts-a-caller-supplied-tenant  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-10. Updated: 2026-11-10  
License: CC BY 4.0 with a link back

CVE-2026-120013 · Severity: high · CVSS 7.5 · Published 2026-11-10

The SAP Cloud SDK for Python agent_memory module is used to manage credentials across multi-tenant cloud deployments. A path traversal vulnerability allows attackers to bypass tenant isolation by crafting malicious tenant identifiers, potentially exposing OAuth credentials and other secrets belonging to other tenants on the same system.

Technologies: [SAP Cloud SDK for Python](https://junglewise.ai/threats/technologies/cloud-sdk-for-python). Vendors: [SAP](https://junglewise.ai/threats/vendors/sap).

## Quick answers

**Is CVE-2026-120013 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-120013 being exploited in the wild.

**How severe is CVE-2026-120013?** High severity, with a CVSS score of 7.5, published 10 November 2026.

**Which products and versions are affected?** SAP Cloud SDK for Python prior to 0.50.0.

**Is there a fix for CVE-2026-120013?** Yes: fixed in 0.50.0. Until then: As a temporary workaround, validate tenant values against an allowlist of registered tenant subdomains before passing them to SDK APIs until upgrading to version 0.50.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-120013 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-120013?** Check whether you run SAP Cloud SDK for Python at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 0.50.0

As a temporary workaround, validate tenant values against an allowlist of registered tenant subdomains before passing them to SDK APIs until upgrading to version 0.50.0 or later.

## Technical details

The agent_memory module's create_client() function accepts an unsanitized tenant parameter and uses it directly in filesystem path construction for secret resolution. An attacker can inject path traversal sequences (e.g., attacker-corp/../victim-corp) to escape the intended /etc/secrets/appfnd/hana-agent-memory/ directory and access other tenants' credentials. This is a CWE-23 relative path traversal vulnerability requiring only network access and no authentication or user interaction.

## Affected products

- SAP Cloud SDK for Python prior to 0.50.0

## Timeline

- 2026-11-10: disclosed

## References

- [https://github.com/SAP/cloud-sdk-python/security/advisories/GHSA-28c8-457r-4cf6](https://github.com/SAP/cloud-sdk-python/security/advisories/GHSA-28c8-457r-4cf6)
- [https://url.sap/sapsecuritypatchday](https://url.sap/sapsecuritypatchday)

## Related threats

- [SAP Cloud SDK for Python improper JWT signature verification in IASContextProvider](https://junglewise.ai/threats/cve-2026-109799-the-sap-cloud-sdk-for-python-contains-an-improper-cryptographic)
- [SAP Cloud SDK for Python OAuth2 SSRF vulnerability](https://junglewise.ai/threats/cve-2026-89111-the-sap-cloud-sdk-for-python-contains-an-oauth2-ssrf)
