---
id: CVE-2024-6577
aliases:
  - GHSA-xx7c-j7h3-vjcq
  - PYSEC-2026-1973
title: >-
  TorchServe script references S3 bucket without ensuring ownership or
  confirming accessibility
summary: >-
  TorchServe script references S3 bucket without ensuring ownership or
  confirming accessibility
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'
vendor: torchserve
product: torchserve
ecosystem: pip
affected:
  - torchserve <= 0.11.0
published: '2025-03-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-xx7c-j7h3-vjcq'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-6577'
  - url: 'https://github.com/pytorch/serve'
  - url: 'https://huntr.com/bounties/20917570-8328-428f-bd1d-4fcd71fb2359'
tags:
  - osv
  - pip
epss: 0.00388
epssPercentile: 0.3005
ingestedAt: '2026-07-08T18:25:54.710Z'
---

## Overview

In the latest version of pytorch/serve, the script 'upload_results_to_s3.sh' references the S3 bucket 'benchmarkai-metrics-prod' without ensuring its ownership or confirming its accessibility. This could lead to potential security vulnerabilities or unauthorized access to the bucket if it is not properly secured or claimed by the appropriate entity. The issue may result in data breaches, exposure of proprietary information, or unauthorized modifications to stored data.

## Affected packages

- `torchserve <= 0.11.0`

## Remediation

Refer to the advisory for the patched release.
