CVE-2020-15772 in Gradle Enterprise
An issue was discovered in Gradle Enterprise 2018.5 - 2020.2.4. When configuring Gradle Enterprise to integrate with a SAML identity provider, an XML metadata file can be uploaded by an administrator. The server side processing of this file dereferences XML External Entities (XXE), allowing a remote attacker with ad...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gradle | Enterprise | ≥ 2018.5, ≤ 2020.2.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in Gradle Enterprise 2018.5 - 2020.2.4. When configuring Gradle Enterprise to integrate with a SAML identity provider, an XML metadata file can be uploaded by an administrator. The server side processing of this file dereferences XML External Entities (XXE), allowing a remote attacker with administrative access to perform server side request forgery.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-15772 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-146326-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Published | 2020-09-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-611: CWE-611
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-221 Data Serialization External Entities Blowup via CWE-611
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Gradle Enterprise versions 2018.5 to 2020.2.4 allows an attacker with administrative privileges to perform server-side request forgery (SSRF) via XML External Entity (XXE) processing of an uploaded SAML metadata file.
The attack vector involves an administrator uploading a specially crafted SAML metadata XML file that includes external entity references. The server processes this file, dereferencing the entities, which can lead to SSRF.
Questions
What is CVE-2020-15772?
A vulnerability in Gradle Enterprise versions 2018.5 to 2020.2.4 allows an attacker with administrative privileges to perform server-side request forgery (SSRF) via XML External Entity (XXE) processing of an uploaded SAML metadata file.
What is the CVSS score for CVE-2020-15772?
CVE-2020-15772 has CVSS 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.2%.
Is CVE-2020-15772 actively exploited?
No confirmed active exploitation of CVE-2020-15772 as of 2026-09-25.
How do I remediate CVE-2020-15772?
Priority: MEDIUM. Advisory: https://security.gradle.com/advisory/CVE-2020-15772 PSIRT: [email protected]
What systems are affected by CVE-2020-15772?
CVE-2020-15772 affects Gradle Enterprise.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gradle","product":"Enterprise","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.