BreachSpiderVerified, not vibes

CVE-2025-59339 in Rsync products

Medium 4.4

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

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.14.4
EPSS0.1%
EPSS percentile2th
FixUnknown

Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Rsync — —
Script — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-59339
BreachSpider IDBS-2025-GLOBAL-298985-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Published2025-09-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-325: CWE-325

Related attack patterns (CAPEC)

CAPEC-68 Subvert Code-signing Facilities via CWE-325

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-59339 affects the session-recording ttyrec files handling in The Bastion, specifically through the osh-encrypt-rsync script. The vulnerability could allow unauthorized access to sensitive SSH session recordings if the script is not properly configured or secured.

An attacker with access to the system where the osh-encrypt-rsync script is executed could potentially exploit this vulnerability to access or manipulate session-recording ttyrec files before they are encrypted and moved to remote storage.

Questions

What is CVE-2025-59339?

CVE-2025-59339 affects the session-recording ttyrec files handling in The Bastion, specifically through the osh-encrypt-rsync script. The vulnerability could allow unauthorized access to sensitive SSH session recordings if the script is not properly configured or secured.

What is the CVSS score for CVE-2025-59339?

CVE-2025-59339 has CVSS 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.1%.

Is CVE-2025-59339 actively exploited?

No confirmed active exploitation of CVE-2025-59339 as of 2026-09-25.

How do I remediate CVE-2025-59339?

Priority: MEDIUM.

What systems are affected by CVE-2025-59339?

CVE-2025-59339 affects Rsync; Script.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Rsync","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.