Skip to main content

TensorZero Gateway CVE-2026-54457

| EUVDEUVD-2026-64144 HIGH
Files or Directories Accessible to External Parties (CWE-552)
2026-07-15 https://github.com/tensorzero/tensorzero GHSA-824w-x939-6cmc PYSEC-2026-3541
7.7
CVSS 3.1 · Vendor: https://github.com/tensorzero/tensorzero
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed /internal/object_storage endpoint
  2. Delivery
    Send JSON storage_path overriding object_storage config
  3. Exploit
    Select filesystem or s3_compatible backend
  4. Execution
    Read local credential files or SSRF to metadata endpoint
  5. Persist
    Harvest cloud/IAM credentials
  6. Impact
    Pivot to internal systems

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling File access restriction
MITRE ATT&CK

2 techniques across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires network reachability to the gateway's /internal/object_storage endpoint and the ability to send a JSON body containing a storage_path that overrides [object_storage]; abuse of the filesystem type enables arbitrary file read and abuse of the s3_compatible type enables SSRF to attacker-chosen internal/cloud-metadata endpoints. The decisive limiting factor is the deployment's authentication setting: if TensorZero authentication is DISABLED, any untrusted caller can exploit it unauthenticated; if authentication is ENABLED, only authenticated callers can. Exploitation is further limited to gateways that are actually exposed to untrusted callers - internal-only gateways behind network controls that block the endpoint are not practically exploitable. No user interaction is required.

Impact

The vendor CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N (7.7 High) describes a network, low-complexity attack with a scope change (S:C, reflecting the SSRF pivot into internal/metadata systems) and high confidentiality impact, no integrity or availability impact. The PR:L in the official vector conflicts with the advisory text, which states that when authentication is disabled ANY caller can exploit it - i.e. effectively PR:N for the common default/no-auth deployment; verify auth posture per deployment. No EPSS score, SSVC decision, KEV entry, or POC was provided, so real-world exploitation pressure is currently unquantified. The realistic priority is high for any TensorZero gateway reachable by untrusted networks without authentication (credential theft plus cloud-metadata SSRF is a classic lateral-movement and privilege-escalation primitive), but drops substantially for gateways that are internal-only or that enforce authentication.

Exploit ScenarioDerived

An attacker who can reach an unauthenticated TensorZero gateway sends a request to /internal/object_storage with a JSON storage_path that sets the filesystem storage type and points at a sensitive path (for example a config or credentials file), retrieving its contents. Alternatively they set the s3_compatible type with an endpoint of http://169.254.169.254/ to make the gateway fetch cloud instance-metadata and harvest temporary IAM credentials. No public POC is identified, but the low attack complexity (AC:L) and network reachability make exploitation straightforward once the endpoint is exposed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Arbitrary file read and server-side request forgery in TensorZero Gateway (pip package tensorzero, versions < 2026.6.0) let callers of the /internal/object_storage endpoint override the gateway's [object_storage] configuration via a caller-supplied storage_path JSON parameter. Using the filesystem storage type an attacker reads arbitrary files (including credential files) from the gateway host, while the s3_compatible type coerces the gateway into outbound requests to attacker-chosen internal or cloud-metadata endpoints. There is no public exploit identified at time of analysis and the flaw is not in CISA KEV; exploitability hinges on whether the deployment has authentication enabled.

RemediationAI

Vendor-released patch: upgrade the tensorzero package to version 2026.6.0 or later (fix in commit 0abbc838 / PR #7527), per advisory GHSA-824w-x939-6cmc and release https://github.com/tensorzero/tensorzero/releases/tag/2026.6.0. If immediate upgrade is not possible for a gateway exposed to untrusted callers, block external access to the /internal/object_storage endpoint at a reverse proxy, ingress, or firewall (the vendor's recommended workaround); side effect is that any legitimate internal tooling relying on that endpoint must be sourced from a trusted network segment. Additionally, enable the gateway's authentication so only authenticated callers can reach the endpoint, and constrain the host's outbound network egress and IMDS access (e.g. enforce IMDSv2 / block 169.254.169.254 from the gateway) to blunt the SSRF-to-metadata path, accepting that egress restrictions may break legitimate S3-compatible object storage traffic.

Affected VersionsENISA

tensorzero < 2026.6.0

Affected Packages

pypi tensorzero fix: 2026.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TensorZero is an open-source LLM gateway/observability stack whose Rust gateway persists model artifacts (e.g. images) through a pluggable [object_storage] backend supporting filesystem and s3_compatible (S3-style) storage kinds. The internal /internal/object_storage endpoint was designed to resolve StoragePath objects, but it trusted a client-supplied storage_path that dynamically replaced the operator-configured store rather than binding resolution to the gateway's own configuration. This maps to CWE-552 (Files or Directories Accessible to External Parties): untrusted input selects both the storage backend type and the path/target, so a filesystem override yields path/file disclosure and an s3_compatible override yields SSRF. The patched code (commit 0abbc838, PR #7527) hardens the Client::resolve path so the gateway only fetches from its own configured [object_storage], and adds an object-storage-disabled test configuration; affected package identity is pkg:pip/tensorzero.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/tensorzero/tensorzero) PRIMARY 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 8.6 HIGH

Default TensorZero deployments run without authentication so PR:N is the realistic worst case; network low-complexity file read plus SSRF pivot gives S:C and C:H with no integrity/availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (https://github.com/tensorzero/tensorzero).

CVSS VectorVendor: https://github.com/tensorzero/tensorzero

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

TensorZero Gateway versions before 2026.6.0 contain flaws allowing attackers to read sensitive files and access internal infrastructure, exposing credentials and secrets. While currently no public exploitation has been identified, this poses significant risk of unauthorized access to cloud resources and internal systems for any organization using affected versions.

Business Impact: High
Compensating Controls

Apply vendor patch (tensorzero version 2026.6.0 or later). Pending patch deployment: restrict network access to /internal/object_storage endpoint via firewall rules, enable authentication on the endpoint if not already configured, and disable object storage functionality if operationally unnecessary.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche open-source LLM gateway, limited production deployment footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy