openssl-encrypt
Affected
- introduced
0, fixed1.4.0(ecosystem)
Fixed versions
1.4.0
Fix
- Fixed version
1.4.0pip install --upgrade openssl-encrypt==1.4.0
Advisory
Also known as: CVE-2026-74873, PYSEC-2026-3753
openssl-encrypt has visible password in process list via --password CLI argument
Summary
Passwords passed via the --password / -p CLI argument in openssl_encrypt/modules/crypt_cli_subparser.py at lines 150-154 are visible to any user on the system via ps aux or /proc/[pid]/cmdline.
Affected Code
subparser.add_argument(
"--password", "-p",
help="Password (will prompt if not provided, or use CRYPT_PASSWORD environment variable)",
)
Similarly, --keystore-password exposes the keystore password.
Impact
On multi-user systems, any user can observe the encryption password by listing processes. The CRYPT_PASSWORD environment variable alternative is also visible via /proc/[pid]/environ (though with slightly restricted access).
Recommended Fix
--password-fd) or reading from stdinFix
Fixed in commit e78a366 on branch releases/1.4.x — added --password-file and --password-fd arguments; added OPENSSL_ENCRYPT_PASSWORD env var support; --password now emits deprecation warning.
Medium Basis: The source's own band: MODERATE
0, fixed 1.4.0 (ecosystem)1.4.0
1.4.0pip install --upgrade openssl-encrypt==1.4.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0