Steeltoe: Header-forwarded client cert lacks proof of private-key possession
Summary
When Steeltoe's certificate-based authorization (UseCertificateAuthorization) is configured, the default configuration of the middleware relies on the X-Client-Cert HTTP header to identify the client certificate, without verifying private-key possession. This header is not stripped by common Cloud Foundry routers (like Gorouter or Envoy) on inbound requests.
Impact
An attacker who obtains the public certificate of an application instance in the target organization or space can spoof the X-Client-Cert header. This allows the attacker to bypass SameOrg and SameSpace authorization policies, granting unauthorized access to protected endpoints for the duration of the certificate's validity period.
Affected configuration
- The application uses
AddOrgAndSpacePolicies()andUseCertificateAuthorization()for inter-service authorization. - Inbound requests are not restricted to a known trusted proxy source IP.
- The application's endpoints are network-accessible to the attacker (e.g., exposed to the internet via a public Cloud Foundry route, or the attacker has access to the internal Cloud Foundry network).
Mitigations
If an immediate upgrade to a patched version is not possible:
- Restrict
UseCertificateForwardingto trusted proxy source IPs usingForwardedHeadersOptions.KnownProxiesandKnownNetworks. - Change the forwarding header to
X-Forwarded-Client-Certso that Cloud Foundry Gorouter and Envoy header stripping mechanisms apply to inbound untrusted requests. - Add a secondary authorization layer (e.g., a shared secret or mutual TLS at the proxy layer) for sensitive endpoints.
- Ensure the application is not bound to a public route unless explicitly required. Use Cloud Foundry internal routes (e.g.,
.apps.internal) and container-to-container network policies to strictly limit network access to intended internal clients.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | Steeltoe.Security.Authorization.Certificate | < 4.3.0 | 4.3.0 |
References
- https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-5mq7-rwhj-4fh9
- https://nvd.nist.gov/vuln/detail/CVE-2026-81868
- https://github.com/SteeltoeOSS/Steeltoe/commit/b626ef3d60aaf19c68eeeed5ee81045406c8c6d0
- https://github.com/SteeltoeOSS/Steeltoe/releases/tag/4.3.0
- https://github.com/SteeltoeOSS/security-advisories
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N- Weakness (CWE)
CWE-288, CWE-295- Platform
- .NET (NuGet)
- Package
Steeltoe.Security.Authorization.Certificate- Disclosed
- 17.09.2026
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5mq7-rwhj-4fh9 - CC BY 4.0
Vulnerability history: Steeltoe.Security.Authorization.Certificate
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.