Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-22816

Type: advisorySource: OSV1 source record

Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs. When resolving dependencies in versions before 9.3.0, some exceptions were not treated as fatal errors and would not cause a repository to be disabled. If a build encountered one of these exceptions, Gradle would continue to the next repository in the list and potentially resolve dependencies from a different repository. If a Gradle build used an unresolvable host name, Gradle would continue to work as long as all dependencies could be resolved from another repository. An unresolvable host name could be caused by allowing a repository's domain name registration to lapse or typo-ing the real domain name. This behavior could allow an attacker to register a service under the host name used by the build and serve malicious artifacts. The attack requires the repository to be listed before others in the build configuration. Gradle has introduced a change in behavior in Gradle 9.3.0 to stop searching other repositories when encountering these errors.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-22816

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-22816

gradle

Source reference: /affected/0/package/name

Affected versions
4.4.1-18

Source reference: /affected/0/versions

4.4.1-19

Source reference: /affected/0/versions

4.4.1-20

Source reference: /affected/0/versions

4.4.1-21

Source reference: /affected/0/versions

4.4.1-22

Source reference: /affected/0/versions

4.4.1-23

Source reference: /affected/0/versions

4.5.1-1

Source reference: /affected/0/versions

4.6-1

Source reference: /affected/0/versions

4.6-2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gradle

Source reference: /affected/1/package/name

Affected versions
4.4.1-22

Source reference: /affected/1/versions

4.4.1-23

Source reference: /affected/1/versions

4.5.1-1

Source reference: /affected/1/versions

4.6-1

Source reference: /affected/1/versions

4.6-2

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gradle

Source reference: /affected/2/package/name

Affected versions
4.4.1-22

Source reference: /affected/2/versions

4.4.1-23

Source reference: /affected/2/versions

4.5.1-1

Source reference: /affected/2/versions

4.6-1

Source reference: /affected/2/versions

4.6-2

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "gradle",
      "purl": "pkg:deb/debian/gradle?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "4.4.1-18",
      "4.4.1-19",
      "4.4.1-20",
      "4.4.1-21",
      "4.4.1-22",
      "4.4.1-23",
      "4.5.1-1",
      "4.6-1",
      "4.6-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22816.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "gradle",
      "purl": "pkg:deb/debian/gradle?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "4.4.1-22",
      "4.4.1-23",
      "4.5.1-1",
      "4.6-1",
      "4.6-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22816.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "gradle",
      "purl": "pkg:deb/debian/gradle?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "4.4.1-22",
      "4.4.1-23",
      "4.5.1-1",
      "4.6-1",
      "4.6-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22816.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56203 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement