DHI-lldp-remp-jtcj-mwtl
### Impact
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-27
- Product
- gradle-8
Description
### Impact Gradle can resolve dependencies from, and publish to, Maven and Ivy repositories accessed over **SFTP** (`sftp://` URLs), authenticating with a username and password. SSH authenticates the server to the client with the server's host key, which the client checks against the keys it already knows, usually in `~/.ssh/known_hosts`. This advisory is about a vulnerability in how Gradle connects to SFTP repositories. Gradle accepts any host key presented by the server. It does not read `known_hosts`, and no setting enables verification. An attacker who can make the build connect to them instead of the real server, through an on-path network position, DNS or ARP spoofing, or by taking over the address of a decommissioned server, can impersonate the repository without any warning to the user. The attacker can then: * obtain the repository password, which Gradle sends as its only authentication method. Credentials of a publishing repository give write access to that repository, and to everything that consumes it; * serve arbitrary module metadata, plugins and jars, which run in the build with the privileges of the user running it; * alter or swallow artifacts being published. Chec
Sources
- OSV · first seen 11d ago · CC-BY 4.0