Vulnerabilities in pkg:pypi/tensorzero
PACKAGECVE-2026-54457 is a HIGH (CVSS 7.7) arbitrary file read and ssrf vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting TensorZero Gateway libraries in the PyPI ecosystem. The issue involves arbitrary file read and ssrf in internal object storage endpoint. Remediation is available by upgrading affected packages to version 2026.6.0.
pkg:pypi/tensorzero
Vulnerability advisories affecting package pkg:pypi/tensorzero. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-824w-x939-6cmc | CVE-2026-54457 | HIGH | TensorZero Gateway: Arbitrary file read and SSRF in internal object storage endpoint |
CVE-2026-54457 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-54457
To remediate this vulnerability, upgrade all affected TensorZero Gateway dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install tensorzero>=2026.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show tensorzero
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-54457, inspect your installed packages using pip:
pip show tensorzero
Analyze the terminal output to locate any version of TensorZero Gateway in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.6.0), your application is affected.
Note: The pip show tensorzero command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In TensorZero Gateway, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-54457 Affected TensorZero Gateway Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tensorzero
|
PyPI |
< 2026.6.0
|
2026.6.0
|
References
Frequently Asked Questions
What is CVE-2026-54457?
Which TensorZero Gateway versions are affected?
What version fixes CVE-2026-54457?
Is tensorzero affected?
What is the CVSS score of CVE-2026-54457?
What CWE is associated with CVE-2026-54457?
How can I check PyPI dependencies for CVE-2026-54457?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-824w-x939-6cmc",
"modified" : "2026-07-15T21:59:40Z",
"published" : "2026-07-15T21:59:40Z",
"aliases" : [ "CVE-2026-54457" ],
"summary" : "TensorZero Gateway: Arbitrary file read and SSRF in internal object storage endpoint",
"details" : "### Impact\n\nThe `/internal/object_storage` endpoint accepts a caller-supplied JSON `storage_path` parameter that dynamically overrides the TensorZero `[object_storage]` configuration.\n\nBy 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.\n\nThis 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.\n\n### Remediation\n\nThe vulnerability has been patched in version `2026.6.0`. See PR #7527.\n\n### Workarounds\n\nIf developers are unable to upgrade a gateway that is exposed to untrusted callers, please block external access to the `/internal/object_storage` endpoint.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "tensorzero"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2026.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tensorzero/tensorzero/security/advisories/GHSA-824w-x939-6cmc"
}, {
"type" : "WEB",
"url" : "https://github.com/tensorzero/tensorzero/commit/0abbc838bae3394fe7491dad7009670d4e3b6cf8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tensorzero/tensorzero"
}, {
"type" : "WEB",
"url" : "https://github.com/tensorzero/tensorzero/releases/tag/2026.6.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-552", "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-15T21:59:40Z",
"nvd_published_at" : null
}
}