Security advisory
To be able to analyze gradle projects, the build scripts need to be executed. Apache NetBeans follows this pattern. This causes the code of the build script to be invoked at load time of the project. Apache NetBeans up to and including 12.0 did not request consent from the user for the analysis of the project at load time. This in turn will run potentially malicious code, from an external source, without the consent of the user.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-11986
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:15 UTC · Revision 1
Source evidence
To be able to analyze gradle projects, the build scripts need to be executed. Apache NetBeans follows this pattern. This causes the code of the build script to be invoked at load time of the project. Apache NetBeans up to and including 12.0 did not request consent from the user for the analysis of the project at load time. This in turn will run potentially malicious code, from an external source, without the consent of the user.
osv:CVE-2020-11986
Complete source record
{
"id": "33273e8a403284c9f4fadf66fc22048223490b4cc2c7db266b2f0db748df514b",
"url": "https://osv.dev/vulnerability/CVE-2020-11986",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-11986",
"summary": "To be able to analyze gradle projects, the build scripts need to be executed. Apache NetBeans follows this pattern. This causes the code of the build script to be invoked at load time of the project. Apache NetBeans up to and including 12.0 did not request consent from the user for the analysis of the project at load time. This in turn will run potentially malicious code, from an external source, without the consent of the user.",
"evidence": "osv:CVE-2020-11986",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-11986",
"aliases": [
"CVE-2020-11986"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/netbeans",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "631bd69cd6112b1cc4c892c24e3e605b1ba04241"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:netbeans:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "12.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"12.0-vc1",
"12.0",
"9.0-rc1-rc1",
"9.0-beta-rc3",
"9.0-beta-rc1",
"9.0-beta-rc2",
"9.0-alpha-rc2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11986.json"
}
}
],
"modified": "2026-10-24T10:30:16.082681652Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r0fb2ba21a0469f64c2dff945dbe68f7b1122e1bff2b2b46271682406%40%3Cnotifications.netbeans.apache.org%3E",
"https://lists.apache.org/thread.html/ra81cdcf325bf4ea085c178f95ed6b50d4f1c095be50577b2f9b88984%40%3Cnotifications.netbeans.apache.org%3E",
"https://lists.apache.org/thread.html/rbb8ea1b684e73107a0a6a30245ad6112bec2e6e171368c808e69217e%40%3Cannounce.netbeans.apache.org%3E"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-11986",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429274,
"published_at": "2020-09-09T16:15:11.563+00:00"
}