Advisory record · GHSA-hcmv-jmqh-fjgm

ops leaking secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command

CVSS 4.4 MediumEPSS 0.0020 · 9th percentile

Published by the GitHub Advisory Database at 22 Jul 2024, 17:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
opsPyPI>=2.0.0, <2.15.02.15.0
Identifiers
GHSA-hcmv-jmqh-fjgm · CVE-2024-41129 · PYSEC-2026-1753
Weakness (CWE)
CWE-532
Published
22 Jul 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The ops package, versions from 2.0.0 before 2.15.0, can leak secret contents into logs. When a secret-* CLI command fails, the subprocess.CalledProcessError it raises includes the full command with its arguments, and secret values are passed as arguments. An attacker who can read the Juju or syslog logs, or audit logs that record terminal commands, could obtain those secrets. Upgrade to ops 2.15.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.4 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0020, the 9th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:35 UTC First seen by agentprime
  2. 31 Oct 2026, 14:35 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.