# CVE-2026-120013: Path Traversal in Agent Memory Module of SAP Cloud SDK for Python

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.52% (percentile 38, 2026-11-28)
- **CWE:** CWE-22
- **Published:** 2026-11-10T08:05:17.340Z
- **Modified:** 2026-11-12T18:17:17.220Z

## Who should check

- Anyone running SAP\_SE SAP Cloud SDK for Python \< 0.50.0

## 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.

## Affected and fixed versions

- SAP\_SE SAP Cloud SDK for Python: \< 0.50.0 (cvelist)

## Technologies

SAP

## Mitigation

- Upgrade SAP Cloud SDK for Python to 0.50.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-120013. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120013.md
Affected: SAP_SE SAP Cloud SDK for Python < 0.50.0
Fixed in: SAP_SE SAP Cloud SDK for Python 0.50.0

Steps:
1. Search this machine and project for SAP_SE SAP Cloud SDK for Python: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-120013 being exploited?

There is no confirmed exploitation: CVE-2026-120013 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-120013?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-120013?

SAP\_SE SAP Cloud SDK for Python \< 0.50.0.

### Is there a fix for CVE-2026-120013?

Yes. Fixed in SAP\_SE SAP Cloud SDK for Python 0.50.0. Upgrade SAP Cloud SDK for Python to 0.50.0 or later.

### How do I check if I'm affected by CVE-2026-120013?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/SAP/cloud-sdk-python/security/advisories/GHSA-28c8-457r-4cf6>
- other: <https://url.sap/sapsecuritypatchday>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-120013>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-120013> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-120013>
