CVE-2025-59339: ovh the-bastion · Missing Cryptographic Step
Affects ovh the-bastionSource CVE Database V5
Not known to be exploited · CVSS 4.4 Medium : upgrade to 3.22.00 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 0% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.22.00
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade ovh the-bastion to 3.22.00.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ovh the-bastion | Affected
| Fixed in
|
AI-suggested
1. Upgrade the-bastion to version 3.22.00 or later once available, where the signing functionality in osh-encrypt-rsync is correctly implemented. 2. If you cannot patch yet, implement compensating controls such as: - Manually verifying the integrity of session recordings using alternative cryptographic methods or external tools. - Restricting access to the session recording files and the osh-encrypt-rsync script to trusted administrators only. - Enhancing monitoring and alerting around SSH access and session recording processes to detect suspicious activity. 3. Review and harden the configuration of the-bastion, ensuring that encryption and signing options are correctly set and tested. 4. Consider integrating additional logging and audit mechanisms that provide independent verification of session integrity. 5. Conduct regular audits of session recording files to detect any unauthorized modifications. 6. Educate security teams about the limitations of current session recording integrity until the vulnerability is fixed.
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.