NuGet (.NET)Worst: Critical3 advisories

log4net: known vulnerabilities

log4net has 3 reviewed security advisories in the GitHub Advisory Database — 1 critical, 2 moderate. The most recent was published 2026-04-10. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the log4net versions running across your servers, containers and images, and ranks what to patch first.

How to fix log4net

Upgrade log4net to a release at or above the fixed version shown for each advisory below. For NuGet (.NET):

Update the package to 3.3.0 (dotnet add package log4net --version 3.3.0)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Apache Log4net: Silent log event loss in XmlLayout and XmlLayoutSchemaLog4J due to unescaped XML 1.0 forbidden characters Moderate 5.3 CWE-116 — Affected: before 3.3.0. Fixed in 3.3.0. Published 2026-04-10. GHSA-4f7c-pmjv-c25w · CVE-2026-40021
XML External Entity attack in log4net Critical 9.8 CWE-611 — Affected: before 2.0.10. Fixed in 2.0.10. Published 2020-05-11. GHSA-2cwj-8chv-9pp9 · CVE-2018-1285
Apache log4net format string vulnerability causes DoS Moderate CWE-134 — Affected: before 1.2.10. Fixed in 1.2.10. Published 2006-03-09. GHSA-f9fr-w54q-772h · CVE-2006-0743

Find log4net across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.