{"id":"DHI-lldp-remp-jtcj-mwtl","aliases":[],"title":"### Impact","originalDescription":"### 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","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-lldp-remp-jtcj-mwtl","type":"advisory"},{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-4mf6-7pm2-6wm8","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-27T10:57:35.836Z","url":"https://osv.dev/vulnerability/DHI-lldp-remp-jtcj-mwtl","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T13:40:35.023Z"}],"firstSeenAt":"2026-11-20T13:40:35.023Z","publishedAt":"2026-11-20T13:17:39.000Z","modifiedAt":"2026-11-27T10:45:07.823Z"}