CVE-2026-81516 — Vulnerability in Steeltoe.Discovery.Consul
Steeltoe.Discovery.Consul: malformed 'secure' metadata aborts service instance lookup (DoS)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.61%). Schedule for your next planned update.
Does your project use an affected Steeltoe.Discovery.Consul version?
Paste your packages.lock.json to check it for CVE-2026-81516 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
Steeltoe'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.
This is the same "one malformed field aborts the whole batch" availability class as CVE-2026-50196, but affecting the Consul discovery client.
Impact
Any 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.
Affected configuration
- Application uses
ConsulDiscoveryClient(any deployment). - The Consul catalog contains at least one service instance with a
securemetadata value that is nottrueorfalse. - Mixed-platform environments where non-.NET clients register services with non-standard metadata values are more likely to encounter this condition.
Mitigations
If an immediate upgrade is not possible:
- Audit the Consul catalog for service registrations with non-standard
securemetadata values. - Restrict write access to the Consul service registration API to trusted services.
Advisory Timeline
- First published September 17, 2026 (70 days ago).
- Last revised September 17, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Steeltoe.Discovery.Consul --version 4.3.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| Steeltoe.Discovery.Consul NuGet · Affected: 4.0.0, 4.1.0, 4.2.0 | 4.3.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-755
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-67c9-f6v2-qv86WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-81516ADVISORY
- https://github.com/SteeltoeOSS/Steeltoe/commit/028569c4f4f0e9e393e3c22a4fa5d07987dd8673WEB
- https://github.com/SteeltoeOSS/Steeltoe/releases/tag/4.3.0WEB
- https://github.com/SteeltoeOSS/security-advisoriesPACKAGE
Frequently Asked Questions
- What is CVE-2026-81516?
- Steeltoe.Discovery.Consul: malformed 'secure' metadata aborts service instance lookup (DoS). This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-81516?
- CVE-2026-81516 affects Steeltoe.Discovery.Consul. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-81516 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 43.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion