What’s Vulnerable › Vulnerabilities
CVE-2025-59339: The Bastion ttyrec files are not signed after encryption by the osh-encrypt-rsync script
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-17 · updated 2026-06-17
- Weakness: CWE-325
Description
The Bastion provides authentication, authorization, traceability and auditability for SSH accesses. Session-recording ttyrec files, may be handled by the provided osh-encrypt-rsync script that is a helper to rotate, encrypt, sign, copy, and optionally move them to a remote storage periodically, if configured to. When running, the script properly rotates and encrypts the files using the provided GPG key(s), but silently fails to sign them, even if asked to.
Affected products
- ovh the-bastion: before 3.22.00
References
- https://github.com/ovh/the-bastion/commit/9bc85ec3f4b724f903773ba64909777c4826a13f
- https://github.com/ovh/the-bastion/security/advisories/GHSA-h66q-g57p-rgg6
Get alerted when CVE-2025-59339 or the next vulnerability affects your stack