CVE-2026-54457
JSON

7.7high

TensorZero: Arbitrary file read and SSRF in TensorZero Gateway's internal object storage endpoint

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-824w-x939-6cmcPYSEC-2026-3541

Description

TensorZero is an open-source LLMOps platform that unifies an LLM gateway, observability, evaluation, optimization, and experimentation. Prior to 2026.6.0, the TensorZero Gateway /internal/object_storage endpoint accepts a caller-supplied JSON storage_path parameter that dynamically overrides the [object_storage] configuration. Selecting the filesystem storage type allows arbitrary files on the gateway filesystem to be read, including credential files. Selecting the s3_compatible storage type causes outbound object-storage requests to attacker-chosen internal or cloud-metadata endpoints. Exploitation requires access to the gateway, which can be authenticated or unauthenticated depending on deployment configuration. This issue is fixed in version 2026.6.0.

Affected

Product or packageVersionsReported by
tensorzero tensorzero< 2026.6.0CVE List
tensorzero (PyPI)before 2026.6.0GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
PyPA Advisory Database7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-552CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

TensorZero is an open-source LLMOps platform that unifies an LLM gateway, observability, evaluation, optimization, and experimentation. Prior to 2026.6.0, the TensorZero Gateway /internal/object_storage endpoint accepts a caller-supplied JSON storage_path parameter that dynamically overrides the [object_storage] configuration. Selecting the filesystem storage type allows arbitrary files on the gateway filesystem to be read, including credential files. Selecting the s3_compatible storage type causes outbound object-storage requests to attacker-chosen internal or cloud-metadata endpoints. Exploitation requires access to the gateway, which can be authenticated or unauthenticated depending on deployment configuration. This issue is fixed in version 2026.6.0.

GitHub Advisory Database
Impact

The /internal/object_storage endpoint accepts a caller-supplied JSON storage_path parameter that dynamically overrides the TensorZero [object_storage] configuration.

By abusing the filesystem storage type, a caller can read arbitrary files from the gateway filesystem, including files that may contain sensitive credentials. Similarly, by abusing the s3_compatible storage type, the caller can coerce the gateway into making outbound object storage requests to attacker-chosen internal/cloud-metadata endpoints.

This vulnerability only applies when the gateway can be accessed by untrusted callers. If a developer's TensorZero deployment has authentication enabled, only authenticated callers can exploit this vulnerability. If a developer's deployment has authentication disabled, any caller can exploit this vulnerability.

Remediation

The vulnerability has been patched in version 2026.6.0. See PR #7527.

Workarounds

If developers are unable to upgrade a gateway that is exposed to untrusted callers, please block external access to the /internal/object_storage endpoint.

NVD (es)

TensorZero es una plataforma LLMOps de código abierto que unifica una pasarela LLM, observabilidad, evaluación, optimización y experimentación. Antes de la versión 2026.6.0, el endpoint /internal/object_storage de TensorZero Gateway acepta un parámetro JSON storage_path proporcionado por el llamador que anula dinámicamente la configuración [object_storage]. Seleccionar el tipo de almacenamiento filesystem permite que archivos arbitrarios en el sistema de archivos de la pasarela sean leídos, incluyendo archivos de credenciales. Seleccionar el tipo de almacenamiento s3_compatible provoca que las solicitudes salientes de almacenamiento de objetos se dirijan a endpoints internos o de metadatos de la nube elegidos por el atacante. La explotación requiere acceso a la pasarela, que puede ser autenticado o no autenticado dependiendo de la configuración de despliegue. Este problema está solucionado en la versión 2026.6.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54457 changed 2026-08-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-824w-x939-6cmc changed 2026-07-23CC-BY-4.0
NVDCVE-2026-54457 changed 2026-10-14Public domain
PyPA Advisory DatabasePYSEC-2026-3541 changed 2026-07-23CC-BY-4.0