CVE-2026-81516: Steeltoe.Discovery.Consul Denial of Service Vulnerability
HIGHCVE-2026-81516 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Steeltoe.Discovery.Consul libraries in the NuGet ecosystem. The issue involves malformed 'secure' metadata aborts service instance lookup (dos). Remediation is available by upgrading affected packages to version 4.3.0.
CVE-2026-81516 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-81516
To remediate this vulnerability, upgrade all affected Steeltoe.Discovery.Consul dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Steeltoe.Discovery.Consul to 4.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Steeltoe.Discovery.Consul
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-81516, inspect your project dependencies for Steeltoe.Discovery.Consul:
inspect dependencies for Steeltoe.Discovery.Consul
Analyze the terminal output to locate any version of Steeltoe.Discovery.Consul in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In Steeltoe.Discovery.Consul, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-81516 Affected Steeltoe.Discovery.Consul Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Steeltoe.Discovery.Consul
|
NuGet |
≥ 4.0.0
< 4.3.0
|
4.3.0
|
References
Frequently Asked Questions
What is CVE-2026-81516?
Which Steeltoe.Discovery.Consul versions are affected?
What version fixes CVE-2026-81516?
Is Steeltoe.Discovery.Consul affected?
What is the CVSS score of CVE-2026-81516?
What CWE is associated with CVE-2026-81516?
How can I check NuGet dependencies for CVE-2026-81516?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-67c9-f6v2-qv86",
"modified" : "2026-09-17T20:30:54Z",
"published" : "2026-09-17T20:30:54Z",
"aliases" : [ "CVE-2026-81516" ],
"summary" : "Steeltoe.Discovery.Consul: malformed 'secure' metadata aborts service instance lookup (DoS)",
"details" : "## Summary\n\nSteeltoe's Consul discovery client parses the `secure` metadata field on each registered service instance using `bool.Parse`, which throws on any value other than `true` or `false`. A single service instance registered with a malformed `secure` value (for example `yes` or `1`) aborts construction of the entire instance list for that service, making the service undiscoverable. When `GetAllInstancesAsync` is used, one malformed instance in any service can abort enumeration across all services.\nThis is the same \"one malformed field aborts the whole batch\" availability class as [CVE-2026-50196](https://github.com/advisories/GHSA-j8ph-6fxj-g533), but affecting the Consul discovery client.\n\n## Impact\n\nAny principal that can register a service in the Consul catalog can trigger a service-discovery outage for all Steeltoe applications resolving that service. The outage affects all instances of the targeted service — not just the malformed one — and persists until the offending registration is removed.\n\n## Affected configuration\n\n- Application uses `ConsulDiscoveryClient` (any deployment).\n- The Consul catalog contains at least one service instance with a `secure` metadata value that is not `true` or `false`.\n- Mixed-platform environments where non-.NET clients register services with non-standard metadata values are more likely to encounter this condition.\n\n## Mitigations\n\nIf an immediate upgrade is not possible:\n\n- Audit the Consul catalog for service registrations with non-standard `secure` metadata values.\n- Restrict write access to the Consul service registration API to trusted services.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Steeltoe.Discovery.Consul"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.3.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-67c9-f6v2-qv86"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-81516"
}, {
"type" : "WEB",
"url" : "https://github.com/SteeltoeOSS/Steeltoe/commit/028569c4f4f0e9e393e3c22a4fa5d07987dd8673"
}, {
"type" : "WEB",
"url" : "https://github.com/SteeltoeOSS/Steeltoe/releases/tag/4.3.0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/SteeltoeOSS/security-advisories"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-755" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-17T20:30:54Z",
"nvd_published_at" : "2026-09-17T16:17:46Z"
}
}