Home / Security / Advisories / NTAP-20260522-0002
NTAP-20260522-0002 — CVE-2026-40021 Apache Log4Net Vulnerability in NetApp Products
Published 2026-05-22 · Updated 2026-06-08 · Status: Interim · Exploitation: Public · Severity: MEDIUM 5.3 · ONTAP affected: Yes
Product family: Other NetApp products · ONTAP | ONTAP-relevant | highest CVSS: 5.3
CVEs in this advisory
- CVE-2026-40021 — MEDIUM · CVSS 5.3 · site index
What the CVE records say
CVE-2026-40021 — Apache Log4net's XmlLayout https://logging.apache.org/log4net/manual/configuration/layouts.html#layout-list and XmlLayoutSchemaLog4J https://logging.apache.org/log4net/manual/configuration/layouts.html#layout-list , in versions before 3.3.0, fail to sanitize characters forbidden by the XML 1.0 specification https://www.w3.org/TR/xml/#charsets in MDC property keys and values, as well as the identity field that may carry attacker-influenced data. This causes an exception during serialization and the silent loss of the affected log event. An attacker who can influence any of these fields can exploit this to suppress individual log records, impairing audit trails and detection of malicious activity. Users are advised to upgrade to Apache Log4net 3.3.0, which fixes this issue.
Impact
Successful exploitation of this vulnerability could lead to addition or modification of data.
Affected products
- NetApp Manageability SDK
- NetApp ONTAP PowerShell Toolkit (PSTK)
References
What to do
- Check the affected products listed above against the official advisory's affected-versions table — that is where the exact ONTAP 9 release, ONTAP tool, or management product versions are named.
- If affected and a fixed release exists, plan the upgrade — see the ONTAP upgrade runbook.
- If exploitation is listed as "active", treat remediation as urgent and review exposure (management LIFs, ONTAP S3, SnapMirror endpoints).
- Harden in parallel: security hardening baseline and ransomware protection on ONTAP.
Related reading
- Common ONTAP problems (FAQ) — plain-language symptoms and fixes
- ONTAP security hardening — baseline lockdown guidance
- Ransomware protection on ONTAP — SnapLock, SnapMirror vaulting, Anomaly Detection
- ONTAP error messages index — EMS/WAFL/NFS/SnapMirror messages
- Every NetApp advisory published in 2026