CVE-2026-59362 PUBLISHED

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

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

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

Product Status

Vendor Spring
Product Spring Integration
Versions
  • affected from 7.1.0 to 7.1.2.1 (excl.)
  • affected from 7.0.0 to 7.0.7.1 (excl.)
  • affected from 6.5.0 to 6.5.12 (excl.)
  • affected from 6.4.0 to 6.4.14 (excl.)
  • affected from 7.1.0 to 7.1.3 (excl.)
  • affected from 7.0.0 to 7.0.8 (excl.)

References