---
id: CVE-2025-28381
aliases:
  - PYSEC-2025-255
title: >-
  A credential leak in OpenC3 COSMOS before v6.0.2 allows attackers to access
  service credentials as environment variables stored in all co…
summary: >-
  A credential leak in OpenC3 COSMOS before v6.0.2 allows attackers to access
  service credentials as environment variables stored in all containers.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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-255'
references:
  - url: >-
      https://github.com/OpenC3/cosmos/pull/1816/commits/cce64c213fd2e6a70e2ccbf3622949fe8f9dcaef
  - url: 'https://github.com/OpenC3/cosmos/releases/tag/v6.0.2'
  - url: 'https://openc3.com/'
  - url: 'https://github.com/OpenC3/cosmos/pull/1816'
  - url: >-
      https://visionspace.com/openc3-cosmos-a-security-assessment-of-an-open-source-mission-framework/
tags:
  - osv
  - pip
epss: 0.00522
epssPercentile: 0.41808
ingestedAt: '2026-07-13T18:58:06.722Z'
---

## Overview

A credential leak in OpenC3 COSMOS before v6.0.2 allows attackers to access service credentials as environment variables stored in all containers.

## Affected packages

- `openc3 <= 6.0.0`

## Remediation

Refer to the advisory for the patched release.
