CVE-2025-59339 MEDIUM

CVE-2025-59339: The Bastion ttyrec files are not signed after encryption by the osh-encrypt-rsync script

Vendor Ovh
Product the-bastion
Weakness CWE-325
Published September 17, 2025
Last update September 17, 2025

CVSS base score

4.4/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 17, 2025 CVE published
September 17, 2025 Record updated