Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Python

CVE-2026-120013 — SAP Cloud SDK for Python

High · CVSS 7.5EPSS 0.5% First seen November 10, 2026

One of 2 SAP Cloud SDK for Python vulnerabilities published together by NVD.

PythonSAPWebCloud & containersIdentity & authVulnerabilities

Research article

SAP Cloud SDK for Python: tenant parameter path traversal can expose other tenants' secrets (CVE-2026-120013)

CVECVE-2026-120013
Vendor and productSAP Cloud SDK for Python
PublishedNovember 12, 2026 08:40 UTC
Research cut-offNovember 12, 2026 07:21 UTC
Sources reviewed3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10)

Executive summary

CVE-2026-120013 is a path traversal flaw (CWE-22) in the agentmemory module, which the vendor's CVE record places in SAP Cloud SDK for Python [1]. The caller-supplied tenant value is used to build filesystem paths for secret resolution without validation, so a crafted value can reach another tenant's secret files [1]. NIST NVD scores it CVSS 3.1 7.5 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, scored by the CNA cna@sap.com [1]. The vendor's range lists versions below 0.50.0 as affected, and the record's description implies 0.50.0 as the first unaffected release, though the vendor's fix text was not in the pack [1]. Exploitation requires an application path that passes attacker-influenced tenant values into createclient, which the reviewed sources do not establish [1]. The record is in Awaiting Analysis status, the flaw is not listed in CISA KEV as of 2026-11-12, and the FIRST EPSS estimate is 0.45%, with no confirmed in-the-wild exploitation reported in the pack [1][2][3]. Defenders should first identify installed SDK versions below 0.50.0 and any code path where tenant identifiers come from untrusted input, then upgrade to 0.50.0 or later and rotate tenant OAuth credentials where exposure is plausible [1].

Key points

  • CVE-2026-120013 is a CWE-22 path traversal in the tenant parameter of createclient, which the CNA says can expose another tenant's OAuth client credentials [1].
  • CVSS 3.1 base score 7.5 (High), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, scored by cna@sap.com [1].
  • Vendor range lists SAP Cloud SDK for Python versions below 0.50.0 as affected; 0.50.0 is inferred as the fixed boundary, pending the vendor's advisory text [1].
  • Not in CISA KEV as of 2026-11-12, EPSS 0.45%, and no confirmed exploitation is documented in the pack [2][3].
  • Application-level exposure, including whether caller input reaches createclient, is not established and must be checked per deployment [1].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-120013[1]
Vendor (CVE Numbering Authority)SAP[1]
Product (vendor range)SAP Cloud SDK for Python[1]
Component named in descriptionagentmemory module, tenant handling in createclient, secret resolution[1]
Affected platformNot established by the reviewed sourcesNone
Published2026-11-10T09:17:22[1]
Last modified2026-11-10T22:11:23[1]
Record statusAwaiting Analysis[1]
CWECWE-22, Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)[1]
CVSS 3.1 base score7.5 (High)[1]
CVSS 3.1 vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N[1]
CVSS scorercna@sap.com (Primary)[1]
Other CVSS versionsNone in the pack[1]
Related advisoryGHSA-28c8-457r-4cf6 (cited in the record; its content is not in the pack)[1]
Related vendor referenceSAP Security Patch Day page (cited in the record; its content is not in the pack)[1]
CISA KEV statusNot listed as of 2026-11-12[2]
EPSS0.0045 (0.45%), percentile 0.3909, dated 2026-11-10[3]

The record is in Awaiting Analysis status, so NVD's own analysis, including its CWE and scoring review, may still be pending [1]. The CVSS score shown is the CNA's score. The description refers to an agentmemory module and to a secrets path containing hana-agent-memory, while the vendor range names SAP Cloud SDK for Python [1]. The pack does not establish whether agentmemory is a component of that SDK, or whether it is shipped separately. The GitHub advisory and the SAP patch-day page are cited but their contents were not extracted into the pack, so no vendor-authored fix text, patch identifier or restart requirement can be confirmed from the reviewed sources [1].

Technical background

A software development kit (SDK) is a library that application code imports to call a vendor's services or to build vendor-compatible components. The pack does not describe the SDK's full purpose, so the role of the agentmemory module within it is an Analyst assessment based on the module name and the description [1].

Multi-tenant software serves several customers, called tenants, from shared code and infrastructure. Each tenant is normally assigned an identifier, and the software is expected to keep tenant data and credentials separate [1]. In this record, the tenant identifier is passed by the caller to createclient, which is the point where the component decides which secrets belong to a given tenant [1].

Secret resolution is the process of finding and loading credentials that an application needs at runtime. The record states that these credentials are stored as files under a fixed directory, /etc/secrets/appfnd/hana-agent-memory/, and are resolved by building a path from that base directory [1]. Whether the files are mounted into a container, copied to a host or provided by another mechanism is not established by the reviewed sources.

Path traversal is a class of flaw in which input containing directory navigation elements, such as dot-dot segments or path separators, causes a file access to resolve outside the directory the developer intended [1]. Canonicalization means converting a path to its normalized absolute form so that such navigation is resolved before any access check is made.

OAuth is an authorization framework in which a client holds a client identifier and a client secret used to obtain access tokens from an authorization server. A leaked client secret can allow another party to authenticate as that client, within the scope the authorization server grants [1]. The scope of the credentials referenced in this record is not established by the reviewed sources.

Vulnerability description

The affected security property is tenant isolation and confidentiality. According to the record, a tenant value that contains path traversal sequences can cause secret resolution to read files belonging to a different tenant, and the record states that the exposed secrets include OAuth client identifiers and client secrets [1].

The flawed component is the createclient function of the agentmemory module, specifically the step that turns the tenant parameter into a filesystem path for secret resolution. The record states that the parameter is not validated before this use in versions below 0.50.0 [1].

An attacker who can supply a tenant value to createclient could, according to the record, cause the component to read another tenant's secret files and obtain their OAuth credentials [1]. The record's CVSS vector shows high confidentiality impact and no integrity or availability impact [1]. Based on the description, the flaw does not establish write access, code execution or denial of service, and the reviewed sources do not describe any of these outcomes.

The following conditions must exist for the flaw to matter: the software version is below 0.50.0 [1]; an attacker-influenced tenant value reaches createclient [1]; secret files for another tenant exist under the path the component builds [1]; and the component reads them [1]. Whether a deployment exposes the tenant parameter to untrusted callers is not established by the reviewed sources.

Root cause analysis

Confirmed: The CVE record states that the tenant parameter is used to construct the secret-resolution path without prior validation, and it classifies the weakness as CWE-22 [1].

Analyst assessment: The most likely implementation fault is that the code joins the base directory and the tenant string and reads the result without canonicalizing the path and verifying that it remains inside the tenant's own directory. This is an inference from the CWE class and the description, not a disclosed code location [1].

Analyst assessment: The tenant identifier appears to be treated as an ordinary name at the API boundary, so downstream code assumes it is safe. Existing controls can fail in this pattern because identity values are often trusted once they pass an authentication check, even though the caller still controls the value.

Not established by the reviewed sources: the exact function and line, whether the fix changed validation, containment checks or the path design, whether the caller's identity is verified before the tenant value is trusted, and any root cause detail in the GitHub advisory, whose content is not in the pack [1].

Technical mechanics

The following numbered flow is an Illustrative model based on the record's description. Steps 1 and 2 are stated in the record; the rest are Analyst assessment unless marked otherwise.

  1. Application code calls createclient and supplies a tenant value [1].
  2. Versions below 0.50.0 do not validate that value before using it in path construction [1].
  3. Secret resolution combines the base directory /etc/secrets/appfnd/hana-agent-memory/ with the tenant value to form a path [1][Analyst assessment on the joining method].
  4. If the tenant value contains dot-dot segments or separators, the normalized path can name a sibling directory belonging to another tenant, which is outside the intended scope [1].
  5. The component opens the resolved files and loads their contents as secret values [1].
  6. The loaded OAuth client identifiers and client secrets are then available to the component for authentication. Whether they are returned to the caller or only used internally is not established by the reviewed sources [1].

Controls that should have stopped this flow:

  • Strict format validation of the tenant value against an allowlist pattern, rejecting separators and dot segments (Analyst assessment).
  • Canonicalization of the resolved path followed by a check that it stays under the tenant's own directory (Analyst assessment).
  • Mapping tenant identifiers to secret locations on the server side rather than building paths from caller text (Analyst assessment).
  • Filesystem permissions that give each service identity read access only to its own tenant's files (Analyst assessment).
Illustrative model
[Caller] --tenant value--> [createclient]
                              |
                              v
              base dir + tenant value (no validation)
                              |
                              v
              resolved path (may leave tenant directory)
                              |
                              v
              read secret files -> OAuth client ID and secret

Attack surface and exploitation prerequisites

FactorStatusSource
Network accessThe vector specifies network attack vector (AV:N). Whether an exposed application endpoint passes the tenant value into createclient is not established.[1]
Adjacent networkNot indicated by the vector. Not established as a requirement.[1]
Local or physical accessNot indicated by the vector. Not established as a requirement.[1]
AuthenticationThe vector specifies no privileges required (PR:N). This comes from the vector only. Whether application-level authentication gates the call path is not established.[1]
User interactionThe vector specifies none (UI:N).[1]
ScopeUnchanged (S:U) per vector.[1]
Required configurationRequires a deployment that resolves secrets from the affected path and stores secrets for more than one tenant under it. This is an Analyst assessment from the record's description.[1]
Attacker positionThe attacker must be able to control the tenant value that reaches createclient. This is an Analyst assessment.[1]
Dependencies and environmentNot established by the reviewed sources.None
LimitationsThe CVSS vector describes the base severity assuming a vulnerable component is reachable. It does not show whether a given application exposes the input. Exploitability must therefore be confirmed per deployment.[1]

Exploitation scenarios and attack lifecycle

Illustrative scenario: A multi-tenant service accepts a tenant identifier in a request and passes it to createclient. A party with a legitimate account for one tenant submits a crafted tenant value that points the path construction toward another tenant's secret directory. If the service reads those files, the party obtains the other tenant's OAuth client credentials. Whether those credentials could then be used against the other tenant's SAP-side resources depends on scopes that the reviewed sources do not describe. The starting position, the identity required and the presence of this path in any real application are not established.

Illustrative scenario: If an unauthenticated endpoint reaches createclient, the vector's no-privilege specification would describe exposure to an unauthenticated party. The pack does not confirm any such endpoint exists.

Lifecycle stages the reviewed sources support: the attacker supplies input at the API boundary, the component reads a file outside the intended tenant scope, and the credentials are exposed to the component's use context [1]. No source documents successful exploitation, post-exploitation activity or follow-on use of the credentials, so no chain is confirmed.

Defensive opportunities by stage:

  • Prevention: reject tenant values containing path separators or dot segments at the API boundary (Analyst assessment).
  • Detection: log rejected or unusual tenant values and file-open events under the secrets directory where logging is available (Analyst assessment).
  • Containment: rotate the OAuth client secrets for tenants whose files were reachable, and restrict the affected endpoint (Analyst assessment).

Impact analysis

AreaAssessmentBasis
ConfidentialityHigh. The vector specifies high confidentiality impact, and the record states that another tenant's OAuth credentials could be exposed.[1]
IntegrityNone indicated by the vector. The record does not describe modification of data or secrets.[1]
AvailabilityNone indicated by the vector. The record does not describe disruption.[1]
AuthenticationExposed OAuth client credentials could allow authentication as the affected client within the granted scope. Scope is not established.[1]
AuthorizationIf the exposed credentials are authorized for the other tenant's resources, access to those resources could follow. This is a plausible downstream consequence, not demonstrated.Analyst assessment
Privilege boundaryTenant isolation is the boundary affected, according to the record.[1]
Data and privacyDepends on the data reachable with the exposed credentials. Not established by the reviewed sources.None
Business operationsCredential rotation for affected tenants may interrupt integrations while secrets are replaced. This is an Analyst assessment.Analyst assessment
Regulatory or contractualNotification or contractual duties depend on jurisdiction, contracts and data types. Not established by the reviewed sources.None

Affected products and versions

VendorProduct or componentAffected versionsFixed versionPlatformSource and qualification
SAPSAP Cloud SDK for PythonBelow 0.50.00.50.0 (inferred from the range boundary; the vendor's fix statement is not in the pack)Not established[1] Vendor-published range in the CVE record; fixed version inferred from the boundary.
SAPagentmemory module (named in the description)Versions prior to 0.50.0Not established separatelyNot established[1] The description names the module but the vendor range names the SDK; the relationship is not confirmed.

No exclusions or configuration-specific exceptions are published in the reviewed sources. The vendor range does not state whether other SAP products share this code. Confirm with the GitHub advisory GHSA-28c8-457r-4cf6 and the SAP Security Patch Day page cited in [1], neither of which has extracted content in the pack.

Exploitation and threat intelligence status

  • Confirmed in-the-wild exploitation: Not established by the reviewed sources.
  • CISA KEV: Not listed as of 2026-11-12 [2]. Absence from the catalog is not evidence that exploitation has not occurred.
  • Public proof of concept: None referenced in the pack. The record cites the vendor advisory and patch-day page, not an exploit repository [1].
  • Threat actors, campaigns and sectors: Not established by the reviewed sources.
  • EPSS: 0.0045 (0.45%) with percentile 0.3909, dated 2026-11-10 [3]. EPSS is a statistical estimate of exploitation activity over 30 days and is not evidence of exploitation [3].
EvidenceDateReliabilityStatus
CVE record and CVSS2026-11-10Vendor-scored, Awaiting Analysis [1]Vulnerability established as described; exploitation not addressed
KEV check2026-11-12Authoritative catalog for known exploitation [2]Not listed
EPSS2026-11-10Statistical model [3]Low estimated probability

Indicators of compromise

The reviewed sources provide no indicators of compromise: no file hashes, domains, IP addresses, process names, log events or command lines. This is Not established by the reviewed sources. The secrets directory path in the record is a location of the affected design, not an indicator of attack, and it will appear on normal systems [1]. Any indicator added later must be validated against the organization's own logs before blocking, because indicators go stale quickly.

Detection and exposure assessment

  1. Inventory: list every workload, container image and virtual environment that includes SAP Cloud SDK for Python, and record the installed version. Use the Python tooling already in use, for example python -m pip show followed by the distribution name, which must be confirmed from the vendor's packaging because the pack does not provide it. Expected output includes a Version field; a version below 0.50.0 indicates the affected range [1]. Limitation: a version check shows presence and version only, not exploitability.
  2. Code review: search the codebase for createclient calls and trace where the tenant value originates, for example with grep -rn createclient over the source tree. Expected output is file and line references. Flag any value that originates from requests, headers, tokens not verified by the service, or other caller-controlled input (Analyst assessment).
  3. Filesystem review: on hosts or containers that run the service, list the secrets directory with ls -l /etc/secrets/appfnd/hana-agent-memory/ to see whether several tenant subdirectories sit under one readable parent. This is read-only. Limitation: the reviewed sources do not describe the directory layout, so the output must be interpreted by the owner.
  4. Log review: search application logs for tenant values containing path separators or dot segments, and for file-open events against the secrets directory where auditing is enabled. The log sources and formats are not established by the reviewed sources, so the owning team must confirm them (Analyst assessment).
  5. Scanning: check whether authenticated vulnerability scanners cover the Python package. Vendor detection guidance is not in the pack, so scanner coverage is Not established.

Immediate mitigation

The measures below are Analyst assessments that follow from CWE-22 and the record's description. None is a vendor-recommended measure, because the pack includes no vendor mitigation text.

MeasureProtects againstLimitationsSide effectsHow to verify
Replace caller-supplied tenant values with a server-side lookup from the authenticated session or a fixed mappingTraversal through the tenant parameterRequires code changes and testing; the workaround depends on the application's designCallers that send arbitrary tenant names will failCode review shows no caller text reaches createclient; a non-production test with separator characters is rejected
Enforce a strict allowlist pattern on tenant values at the API boundarySeparators and dot segments in tenant inputPattern must match real tenant identifiers; does not replace canonicalizationMay reject legitimate names if the pattern is too narrowTest rejection in a non-production environment
Restrict filesystem permissions so each service identity reads only its own tenant filesCross-tenant file reads at the operating system levelDepends on how secrets are mounted; the layout is not establishedMay break services that share directoriesCheck permissions with ls -l and confirm the service identity can read only its own files
Restrict network exposure of endpoints that reach createclientAttack from untrusted networksDoes not stop access from trusted callersMay affect integrationsConfirm access controls with a connection test from an authorized source
Increase monitoring of tenant values and secret-directory accessUndetected exploitation attemptsOnly as good as the log coverageAdditional log volumeConfirm alerts fire for a test value in non-production

Permanent remediation

Vendor-confirmed: Upgrade SAP Cloud SDK for Python to version 0.50.0 or later, because the vendor range identifies versions below 0.50.0 as affected [1]. The vendor's fix text, patch identifiers and any restart or reload requirement are not established by the reviewed sources; they should be taken from GHSA-28c8-457r-4cf6 and the SAP Security Patch Day page cited in [1].

Upgrade prerequisites and considerations: confirm dependency compatibility in a non-production environment, schedule a maintenance window for each service that loads the SDK, keep the previous package artifact to support rollback, and record the installed version after the change (Analyst assessment).

Configuration after updating: none is documented in the reviewed sources.

Recommended hardening, not vendor-confirmed: rotate the OAuth client secrets for tenants whose secret files were stored in the same parent directory as other tenants' files, especially if logs show suspicious tenant values or if the affected endpoint was reachable from untrusted networks (Analyst assessment).

Workarounds and compensating controls

The mitigations in the earlier section reduce exposure while the upgrade is scheduled. Their residual risk is that they rely on correct implementation: an allowlist can be bypassed by a pattern gap, and permission restrictions do not protect against trusted callers who send crafted tenant values. A workaround is not equivalent to a permanent fix because the defective path construction remains in code until the vendor's corrected version is installed [1]. Keep all workarounds in place until the version check and validation steps are complete.

Validation and verification

  1. Confirm the installed version of SAP Cloud SDK for Python in every workload is 0.50.0 or later, using the package manager output from the detection section.
  2. Confirm the code no longer passes caller-controlled tenant values into createclient, or that the value is validated and canonicalized before use.
  3. In a non-production environment, submit tenant values containing separators and dot segments through the same endpoint and confirm they are rejected, with no file read outside the tenant directory.
  4. Confirm filesystem permissions allow each service identity to read only its own tenant's secret files.
  5. Review application logs and file-access records for the period before and after the change, and confirm no unexpected reads under the secrets directory.
  6. Confirm compensating controls such as allowlists, monitoring and network restrictions remain in place where the owner has decided they are needed.
  7. If credential rotation was performed, confirm the old client secrets are revoked and the new ones are working in each integration.
  8. Record the evidence, owner, date and any exceptions. A single check does not show that a system is secure; the combination of version, code and configuration evidence is needed.

Incident response

Trigger: logs show tenant values containing separators or dot segments, file-open events outside a tenant's own directory, or unexpected use of OAuth client credentials.

  1. Triage and scope: identify the affected endpoints, tenants and time window, and compare SDK versions against the affected range [1].
  2. Containment: restrict the affected endpoint or disable the vulnerable code path, and avoid changes that would overwrite logs or files.
  3. Evidence preservation: export application logs, access logs and file metadata for the relevant period before any cleanup, and record their hashes and collection times (Analyst assessment).
  4. Investigation: review credential use for the affected OAuth clients, looking for authentication from unfamiliar sources, following the organization's identity logs (Analyst assessment).
  5. Credential rotation: rotate OAuth client secrets for tenants whose secrets were reachable, and revoke the old credentials after the new ones are confirmed (Analyst assessment).
  6. Eradication: upgrade to 0.50.0 or later and complete the validation steps above.
  7. Recovery and monitoring: restore normal service, keep the monitoring in place for a defined period, and review again after rotation.
  8. Notification: obligations depend on jurisdiction, contracts and whether personal data was accessed, which is Not established by the reviewed sources. Follow the organization's incident response plan.
  9. Lessons learned: record how the tenant value reached createclient and which control would have caught it.

Security hardening and prevention

Secure development measures for this flaw:

  • Treat every tenant identifier from callers as untrusted input, and validate it against an explicit allowlist pattern (Analyst assessment).
  • Map tenant identifiers to secret locations through a server-side lookup, so caller text never forms a filesystem path (Analyst assessment).
  • Canonicalize any constructed path and verify it stays inside the expected directory before opening the file (Analyst assessment).
  • Add regression tests with separator and dot-segment tenant values to the SDK's test suite (Analyst assessment).
  • Add static analysis rules that flag file paths built from function parameters (defence-in-depth, Analyst assessment).

Access and isolation measures:

  • Give each tenant's secrets a separate directory with permissions limited to that tenant's service identity (Analyst assessment).
  • Use a secrets manager with per-tenant access policies where the platform supports it (defence-in-depth, Analyst assessment).

Monitoring measures:

  • Log tenant identifiers that fail validation and alert on repeated failures, which can indicate probing (defence-in-depth, Analyst assessment).
  • Retain file-access audit records for secret directories for an agreed period (defence-in-depth, Analyst assessment).

Patch management:

  • Track SDK versions across all workloads and set a deadline to move every version below 0.50.0 to 0.50.0 or later (Analyst assessment, based on [1]).

Risk assessment

Technical severity: The CNA's CVSS 3.1 score is 7.5 (High) with a network, low-complexity, no-privilege, no-interaction vector and high confidentiality impact [1]. This is the base severity, not a measure of any organization's risk.

Exposure and asset criticality: Depends on whether the deployment uses the affected path for multi-tenant secrets and whether the endpoint is reachable from untrusted networks. Not established by the reviewed sources.

Prerequisites and attacker opportunity: The vector suggests a low barrier, but the application-level conditions are not established, so the vector alone does not show exploitability [1].

Evidence of exploitation: None established. The flaw is not in KEV as of 2026-11-12 [2], and the EPSS estimate is 0.45% [3]. These findings lower the likelihood of observed activity but do not establish that exploitation has not occurred.

Potential business impact: If exploited, the impact could include exposure of other tenants' OAuth credentials, with downstream access depending on credential scope and rotation delay (Analyst assessment).

Existing controls and residual risk: The pack does not describe any existing controls in deployments. Residual risk remains until the upgrade and validation are complete.

Recommended priority with assumptions: High priority for any multi-tenant deployment that resolves secrets from this path or accepts tenant values from callers, and for any internet-reachable endpoint that reaches the affected code. The assumptions are that the vulnerable version is in use and that the tenant value can be influenced by callers. The low KEV and EPSS signals do not justify deferring the fix, because the impact is cross-tenant credential exposure and the exposure cannot yet be ruled out (Analyst assessment). This priority is an organization-specific judgment and is not a CVSS score.

Conclusion

The core flaw is that a caller-supplied tenant value is used unvalidated to build a secret-resolution path, which can expose another tenant's OAuth client credentials [1]. Software and platform owners should act first by identifying SDK versions below 0.50.0 and any code path that carries caller-controlled tenant values [1]. The most urgent mitigation is to stop caller text from forming the path, through a server-side mapping or strict validation (Analyst assessment). The permanent fix is an upgrade to 0.50.0 or later, which the vendor range supports [1]. Closing the issue requires the installed version evidence, code and configuration review results, validation test results, log review results, and rotation records for any tenant whose credentials could have been reached, together with the vendor's advisory text that the pack does not contain.

Remediation checklist

  1. Inventory every workload, container image and virtual environment containing SAP Cloud SDK for Python and record the installed version; flag any version below 0.50.0 [1].
  2. Trace each createclient call to its source and flag any tenant value that originates from caller-controlled input (Analyst assessment).
  3. Replace caller-supplied tenant values with a server-side mapping or enforce a strict allowlist pattern at the API boundary, then verify rejection of separator and dot-segment values in a non-production environment (Analyst assessment).
  4. Restrict filesystem permissions on /etc/secrets/appfnd/hana-agent-memory/ so each service identity reads only its own tenant's files, and verify with ls -l (Analyst assessment, based on [1]).
  5. Upgrade SAP Cloud SDK for Python to 0.50.0 or later in each affected workload, in a maintenance window with the prior artifact kept for rollback [1].
  6. Obtain and review GHSA-28c8-457r-4cf6 and the SAP Security Patch Day page for vendor fix details, patch identifiers and restart requirements, which are not in the pack [1].
  7. Review application and file-access logs for tenant values containing separators or dot segments and for unexpected reads under the secrets directory, preserving logs before any cleanup (Analyst assessment).
  8. Rotate the OAuth client secrets for any tenant whose secret files were reachable from an affected deployment, and revoke the old secrets after the new ones are confirmed working (Analyst assessment, based on [1]).
  9. Re-check installed versions and rerun the code and configuration checks after the upgrade, and record the evidence, owner and date for each workload [1].

Evidence gaps

  • Vendor advisory text: the GitHub advisory GHSA-28c8-457r-4cf6 and the SAP Security Patch Day page are cited in the record but their contents are not in the pack; they would confirm the fixed version, patch identifiers and restart requirements [1].
  • Fixed version: 0.50.0 is inferred from the range boundary and the description; the vendor's explicit fix statement is not in the pack [1].
  • Product relationship: the pack does not establish whether the agentmemory module is part of SAP Cloud SDK for Python or ships separately [1].
  • Affected platforms and deployment types: not established by the reviewed sources [1].
  • NVD analysis: the record is in Awaiting Analysis, so NVD's own scoring and CWE review may still be pending; confirming it requires the NVD record after analysis is complete [1].
  • Exploitation evidence: no confirmed in-the-wild exploitation, public proof of concept or threat actor attribution is in the pack; these would be settled by vendor, KEV or threat intelligence updates [2][3].
  • Indicators of compromise: none provided; they would come from vendor guidance or incident reporting [1].
  • Credential scope and return path: the OAuth scopes granted to the exposed credentials and whether secret values are returned to callers are not established [1].
  • Vendor detection guidance and log sources: no vendor-provided detection or log guidance is in the pack; it would be settled by the vendor advisory [1].

References

  1. CVE-2026-120013 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-120013. Accessed 2026-11-12. CVE identity, record status and dates, official description of the tenant path traversal, CVSS 3.1 score and vector and CNA scorer, CWE-22 classification, the vendor affected range below 0.50.0, the secrets directory path, the described exposure of OAuth client credentials, and the cited advisory an
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12. CISA KEV status: CVE-2026-120013 not listed as of 2026-11-12, and the note that absence from the catalog does not rule out exploitation.
  3. EPSS score for CVE-2026-120013. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-120013. Accessed 2026-11-12. FIRST EPSS estimate of 0.0045 (0.45%) with percentile 0.3909 dated 2026-11-10, and the limitation that EPSS is a statistical estimate rather than evidence of exploitation.

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (sap.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality, none on integrity and availability

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected and fixed versions

ProductAffected versionsFixed in
SAP Cloud SDK for Python< 0.50.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • SAP Cloud SDK for Python

Frequently asked questions

What is CVE-2026-120013?

CVE-2026-120013 is a path traversal flaw (CWE-22) in the agentmemory module, which the vendor's CVE record places in SAP Cloud SDK for Python. The caller-supplied tenant value is used to build filesystem paths for secret resolution without validation, so a crafted value can reach another tenant's secret files. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).

How severe is CVE-2026-120013?

CVE-2026-120013 has a CVSS 3.1 base score of 7.5 (high), from the CNA (sap.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-120013 being exploited?

Not as far as is known: CVE-2026-120013 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-120013?

SAP Cloud SDK for Python < 0.50.0.

How do I fix CVE-2026-120013?

Inventory every workload, container image and virtual environment containing SAP Cloud SDK for Python and record the installed version; flag any version below 0.50.0. Trace each createclient call to its source and flag any tenant value that originates from caller-controlled input (Analyst assessment). Replace caller-supplied tenant values with a server-side mapping or enforce a strict allowlist pattern at the API boundary, then verify rejection of separator and dot-segment values in a non-production environment (Analyst assessment).

Timeline & sources

References

Related vulnerabilities & news