CVE-2026-81516
JSON

7.5high

Steeltoe.Discovery.Consul: malformed 'secure' metadata aborts service instance lookup (DoS)

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-67c9-f6v2-qv86

Description

Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. From 4.0.0 until 4.3.0, ConsulDiscoveryClient constructs ConsulServiceInstance objects by parsing each registration's secure metadata with a strict Boolean conversion. A principal that can register a Consul service can supply a secure value other than true or false, causing the exception from one instance to abort construction of the entire instance list and make the targeted service undiscoverable. When GetAllInstancesAsync enumerates all services, one malformed instance can abort enumeration across every service. The outage persists until the offending registration is removed. This issue is fixed in version 4.3.0.

Affected

Product or packageVersionsReported by
SteeltoeOSS security-advisories>= 4.0.0, < 4.3.0CVE List
Steeltoe.Discovery.Consul (NuGet)from 4.0.0 before 4.3.0GitHub Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-755

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. From 4.0.0 until 4.3.0, ConsulDiscoveryClient constructs ConsulServiceInstance objects by parsing each registration's secure metadata with a strict Boolean conversion. A principal that can register a Consul service can supply a secure value other than true or false, causing the exception from one instance to abort construction of the entire instance list and make the targeted service undiscoverable. When GetAllInstancesAsync enumerates all services, one malformed instance can abort enumeration across every service. The outage persists until the offending registration is removed. This issue is fixed in version 4.3.0.

GitHub Advisory Database

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 secure metadata value that is not true or false.
  • 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 secure metadata values.
  • Restrict write access to the Consul service registration API to trusted services.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-81516 changed 2026-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-67c9-f6v2-qv86 changed 2026-09-17CC-BY-4.0
NVDCVE-2026-81516 changed 2026-09-30Public domain