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

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2025-09-17T17:50:34.877Z
- Modified: 2026-06-17T09:45:56.060Z
- Weaknesses: CWE-325
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ovh the-bastion: < 3.22.00

## References

- <https://github.com/ovh/the-bastion/security/advisories/GHSA-h66q-g57p-rgg6>
- <https://github.com/ovh/the-bastion/commit/9bc85ec3f4b724f903773ba64909777c4826a13f>

## Sources

- CVE List: [CVE-2025-59339](https://www.cve.org/CVERecord?id=CVE-2025-59339), CVE Terms of Use, modified 2025-09-17
- NVD: [CVE-2025-59339](https://nvd.nist.gov/vuln/detail/CVE-2025-59339), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59339 · Whole record: https://cve.day/CVE-2025-59339.json · Rebuilt by cve.day 2026-11-25T22:59:04.794Z
