---
id: CVE-2025-28384
aliases:
  - PYSEC-2025-257
  - GHSA-p67j-387g-75wc
title: >-
  An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0
  allows attackers to execute a directory traversal.
summary: >-
  An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0
  allows attackers to execute a directory traversal.
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'
vendor: openc3
product: openc3
ecosystem: pip
affected:
  - openc3 <= 6.0.0
published: '2025-06-13'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2025-257'
references:
  - url: >-
      https://github.com/OpenC3/cosmos/pull/1828/commits/fc7e11310a7cdf9f1939886e1b29009db4d4b718
  - url: 'https://github.com/OpenC3/cosmos/releases/tag/v6.1.0'
  - url: 'https://openc3.com/'
  - url: 'https://github.com/OpenC3/cosmos/pull/1828'
  - url: >-
      https://visionspace.com/openc3-cosmos-a-security-assessment-of-an-open-source-mission-framework/
tags:
  - osv
  - pip
epss: 0.00886
epssPercentile: 0.57752
ingestedAt: '2026-07-13T18:58:06.758Z'
---

## Overview

An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0 allows attackers to execute a directory traversal.

## Affected packages

- `openc3 <= 6.0.0`

## Remediation

Refer to the advisory for the patched release.
