Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2018-0786

HIGH 7.5EPSS 90%

Improper Certificate Validation in Microsoft .NET Framework components

Also known as GHSA-jc8g-xhw5-6x46

Mitigation

  • Upgrade Microsoft.NETCore.UniversalWindowsPlatform to one of 5.2.4, 5.3.5, 5.4.2, 6.0.6 (or later in the same release line).
  • Upgrade System.ServiceModel.Primitives to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line).
  • Upgrade System.ServiceModel.Http to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line).
  • Upgrade System.ServiceModel.NetTcp to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line).
  • Upgrade System.ServiceModel.Duplex to one of 4.4.1, 4.3.1, 4.0.2 (or later in the same release line).
  • Upgrade System.ServiceModel.Security to one of 4.4.1, 4.3.1, 4.0.2 (or later in the same release line).
  • Upgrade System.Private.ServiceModel to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line).

Who should check

  • Projects that depend on NuGet package Microsoft.NETCore.UniversalWindowsPlatform (>= 5.2.0, < 5.2.4)
  • Projects that depend on NuGet package System.ServiceModel.Primitives (>= 4.4.0, < 4.4.1)
  • Projects that depend on NuGet package System.ServiceModel.Http (>= 4.4.0, < 4.4.1)
  • Projects that depend on NuGet package System.ServiceModel.NetTcp (>= 4.4.0, < 4.4.1)
  • Projects that depend on NuGet package System.ServiceModel.Duplex (>= 4.4.0, < 4.4.1)
  • Projects that depend on NuGet package System.ServiceModel.Security (>= 4.4.0, < 4.4.1)
  • Projects that depend on NuGet package System.Private.ServiceModel (>= 4.4.0, < 4.4.1)
  • Anyone running Microsoft Corporation .NET Framework, .NET Core, and PowerShell Core Microsoft .NET Framework 2.0 SP2, 3.0 SP2, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, .NET Core 1.0 and 2.0, PowerShell Core 6.0.0

Vulnerability facts

Affected
Microsoft.NETCore.UniversalWindowsPlatform >= 5.2.0, < 5.2.4; System.ServiceModel.Primitives >= 4.4.0, < 4.4.1; System.ServiceModel.Http >= 4.4.0, < 4.4.1; System.ServiceModel.NetTcp >= 4.4.0, < 4.4.1; System.ServiceModel.Duplex >= 4.4.0, < 4.4.1; System.ServiceModel.Security >= 4.4.0, < 4.4.1; System.Private.ServiceModel >= 4.4.0, < 4.4.1
Fixed in
5.2.4, 5.3.5, 5.4.2, 6.0.6, 4.4.1, 4.3.1, 4.1.1, 4.0.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
EPSS
3.69% chance of exploitation in 30 days (percentile 90, 2026-11-26)
CWE
CWE-295
Published
Modified

Description

Microsoft .NET Framework 2.0 SP2, 3.0 SP2, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, .NET Core 1.0 and 2.0, and PowerShell Core 6.0.0 allow a security feature bypass vulnerability due to the way certificates are validated, aka ".NET Security Feature Bypass Vulnerability."

Affected and fixed versions

Package / productAffectedFixedSource
NuGet Microsoft.NETCore.UniversalWindowsPlatform>= 5.2.0, < 5.2.45.2.4, 5.3.5, 5.4.2, 6.0.6osv
NuGet System.ServiceModel.Primitives>= 4.4.0, < 4.4.14.4.1, 4.3.1, 4.1.1osv
NuGet System.ServiceModel.Http>= 4.4.0, < 4.4.14.4.1, 4.3.1, 4.1.1osv
NuGet System.ServiceModel.NetTcp>= 4.4.0, < 4.4.14.4.1, 4.3.1, 4.1.1osv
NuGet System.ServiceModel.Duplex>= 4.4.0, < 4.4.14.4.1, 4.3.1, 4.0.2osv
NuGet System.ServiceModel.Security>= 4.4.0, < 4.4.14.4.1, 4.3.1, 4.0.2osv
NuGet System.Private.ServiceModel>= 4.4.0, < 4.4.14.4.1, 4.3.1, 4.1.1osv
Microsoft Corporation .NET Framework, .NET Core, and PowerShell CoreMicrosoft .NET Framework 2.0 SP2, 3.0 SP2, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, .NET Core 1.0 and 2.0, PowerShell Core 6.0.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2018-0786. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-0786.md
Affected: Microsoft.NETCore.UniversalWindowsPlatform >= 5.2.0, < 5.2.4; System.ServiceModel.Primitives >= 4.4.0, < 4.4.1; System.ServiceModel.Http >= 4.4.0, < 4.4.1; System.ServiceModel.NetTcp >= 4.4.0, < 4.4.1; System.ServiceModel.Duplex >= 4.4.0, < 4.4.1; System.ServiceModel.Security >= 4.4.0, < 4.4.1; Sys…
Fixed in: 5.2.4, 5.3.5, 5.4.2, 6.0.6, 4.4.1, 4.3.1, 4.1.1, 4.0.2

Steps:
1. Search this machine and project for Microsoft.NETCore.UniversalWindowsPlatform (NuGet), System.ServiceModel.Primitives (NuGet), System.ServiceModel.Http (NuGet), System.ServiceModel.NetTcp (NuGet), System.ServiceModel.Duplex (NuGet), System.ServiceModel.Security (NuGet): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2018-0786 being exploited?

There is no confirmed exploitation: CVE-2018-0786 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.69% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2018-0786?

High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2018-0786?

Microsoft.NETCore.UniversalWindowsPlatform >= 5.2.0, < 5.2.4; System.ServiceModel.Primitives >= 4.4.0, < 4.4.1; System.ServiceModel.Http >= 4.4.0, < 4.4.1; System.ServiceModel.NetTcp >= 4.4.0, < 4.4.1; System.ServiceModel.Duplex >= 4.4.0, < 4.4.1; System.ServiceModel.Security >= 4.4.0, < 4.4.1; System.Private.ServiceModel >= 4.4.0, < 4.4.1.

Is there a fix for CVE-2018-0786?

Yes. Fixed in 5.2.4, 5.3.5, 5.4.2, 6.0.6, 4.4.1, 4.3.1, 4.1.1, 4.0.2. Upgrade Microsoft.NETCore.UniversalWindowsPlatform to one of 5.2.4, 5.3.5, 5.4.2, 6.0.6 (or later in the same release line). Upgrade System.ServiceModel.Primitives to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line). Upgrade System.ServiceModel.Http to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line). Upgrade System.ServiceModel.NetTcp to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line). Upgrade System.ServiceModel.Duplex to one of 4.4.1, 4.3.1, 4.0.2 (or later in the same release line). Upgrade System.ServiceModel.Security to one of 4.4.1, 4.3.1, 4.0.2 (or later in the same release line). Upgrade System.Private.ServiceModel to one of 4.4.1, 4.3.1, 4.1.1 (or later in the same release line).

How do I check if I'm affected by CVE-2018-0786?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors