CVE-2026-59362

Spring Integration SFTP Revoked known_hosts Entry Does Not Veto Server Key Acceptance

Published Dec 2, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
If an administrator marks a compromised SFTP server key as @revoked in the known_hosts resource but the original (non-revoked) line for that key is still present, Spring Integration continues to accept the compromised key. An attacker who has stolen that server's private key can therefore continue to impersonate the SFTP server despite the revocation.

ResourceKnownHostsServerKeyVerifier accepts a server key if any matching known_hosts entry is not revoked. Under OpenSSH semantics, a @revoked marker is an explicit deny that must take precedence over any other matching entry.

An application is affected if it uses setKnownHostsResource() with a known_hosts file containing both a @revoked entry and a residual non-revoked entry for the same host key, and the attacker can intercept the application's outbound SFTP connection while holding the compromised private key.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description If an administrator marks a compromised SFTP server key as @revoked in the known_hosts resource but the original (non-revoked) line for that key is still present, Spring Integration continues to accept the compromised key. An attacker who has stolen that server's private key can therefore continue to impersonate the SFTP server despite the revocation. ResourceKnownHostsServerKeyVerifier accepts a server key if any matching known_hosts entry is not revoked. Under OpenSSH semantics, a @revoked marker is an explicit deny that must take precedence over any other matching entry. An application is affected if it uses setKnownHostsResource() with a known_hosts file containing both a @revoked entry and a residual non-revoked entry for the same host key, and the attacker can intercept the application's outbound SFTP connection while holding the compromised private key.
Title Spring Integration SFTP Revoked known_hosts Entry Does Not Veto Server Key Acceptance
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 2, 2026, 7:09 AM
Reserved
Jul 4, 2026, 6:14 PM
Status
Awaiting Analysis
Published
Dec 2, 2026, 8:17 AM
Modified
Dec 2, 2026, 7:26 PM