CVE-2025-59339
The Bastion ttyrec files are not signed after encryption by the osh-encrypt-rsync script
- State
- Published
- Severity
- 4.4 Medium
- Published
- Sep 17, 2025
- Updated
- Sep 17, 2025
- Reserved
- Sep 12, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.4 Medium | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
Weaknesses
- CWE-325 Missing Cryptographic Step
Affected Products
| Product | Versions |
|---|---|
the-bastionovh |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.