PatchSiren cyber security CVE debrief
CVE-2026-22816 gradle CVE debrief
CVE-2026-22816 is a vulnerability in Gradle that causes a failure to disable repositories, potentially exposing builds to malicious artifacts. When resolving dependencies, Gradle searches repositories in declaration order and disables a repository if it encounters connection errors. However, in previous versions of Gradle, some exceptions were not treated as fatal errors, allowing Gradle to continue to the next repository and potentially resolve dependencies from a different repository.
- Vendor
- gradle
- Product
- org.gradle:gradle-core
- CVSS
- HIGH 8.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-23
- Original CVE updated
- 2026-11-23
- Advisory published
- 2026-11-23
- Advisory updated
- 2026-11-23
Who should care
Defenders responsible for managing Gradle configurations and builds should be aware of this vulnerability and take steps to verify their configurations and update to a fixed version of Gradle.
Why it matters
CVE-2026-22816 is a vulnerability in Gradle that causes a failure to disable repositories, potentially exposing builds to malicious artifacts. Defenders should prioritize verifying their Gradle configurations and updating to a fixed version to prevent potential exposure.
- Defenders need to verify their Gradle configurations to prevent potential exposure to malicious artifacts
- Updating to a fixed version of Gradle (8.14.4 or 9.3.0) is necessary to prevent exploitation
- Build scripts may need to be reviewed and updated to handle unresolvable host names properly
Technical summary
The vulnerability is caused by Gradle's failure to disable repositories in case of connection errors, potentially exposing builds to malicious artifacts. This can happen when a Gradle build uses an unresolvable host name, allowing Gradle to continue working as long as all dependencies can be resolved from another repository. Affected product deployments should be verified in managed environments, and owners should be assigned for follow-up. The official advisory or CVE record should be reviewed to validate affected scope, severity, and vendor guidance. Updating to a fixed version of Gradle (8.14.4 or 9.3.0) is necessary to prevent exploitation. Build scripts may need to be reviewed and updated to handle unresol
Defensive priority
Defenders should prioritize verifying their Gradle configurations and updating to a fixed version to prevent potential exposure to malicious artifacts.
Recommended defensive actions
- Verify Gradle configurations to ensure that repositories are properly disabled in case of connection errors
- Update to a fixed version of Gradle (8.14.4 or 9.3.0) to prevent potential exposure to malicious artifacts
- Review and update build scripts to handle unresolvable host names properly
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The vulnerability is caused by unresolvable host names, which can be caused by DNS misconfiguration, host name typos, or any problem that prevents host name resolution. 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.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-22816 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-22816
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-22816 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-22816
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gradle causes Failure to disable repositories can expose builds to malicious artifacts
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/Maven/GHSA-w78c-w6vf-rw82.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/gradle/gradle/security/advisories/GHSA-w78c-w6vf-rw82
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/gradle/gradle/commit/4f2e3bbee4d0cee307dd97b684f11cfbe711b6f3
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/gradle/gradle/commit/e5707d0d8fce3d768c9c489004700d78eab1773a
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://docs.gradle.org/8.14.4/release-notes.html
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://docs.gradle.org/9.3.0/release-notes.html
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/gradle/gradle
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/gradle/gradle/releases/tag/v8.14.4
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.