6.5medium
Steeltoe: Header-forwarded client cert lacks proof of private-key possession
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5mq7-rwhj-4fh9
Description
Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. Prior to 4.3.0, Steeltoe.Security.Authorization.Certificate deployments using AddOrgAndSpacePolicies() and UseCertificateAuthorization() trust the public certificate supplied in the X-Client-Cert request header without proving possession of the corresponding private key. Common Cloud Foundry routers do not remove this header from inbound requests. When inbound requests are not restricted to a known trusted proxy source IP, an attacker who obtains the public certificate of an application instance in the target organization or space and can reach the application can spoof X-Client-Cert to bypass the SameOrg and SameSpace policies for the certificate validity period. This issue is fixed in version 4.3.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SteeltoeOSS security-advisories | < 4.3.0 | CVE List |
| Steeltoe.Security.Authorization.Certificate (NuGet) | before 4.3.0 | GitHub Advisory Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
Classification
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. Prior to 4.3.0, Steeltoe.Security.Authorization.Certificate deployments using AddOrgAndSpacePolicies() and UseCertificateAuthorization() trust the public certificate supplied in the X-Client-Cert request header without proving possession of the corresponding private key. Common Cloud Foundry routers do not remove this header from inbound requests. When inbound requests are not restricted to a known trusted proxy source IP, an attacker who obtains the public certificate of an application instance in the target organization or space and can reach the application can spoof X-Client-Cert to bypass the SameOrg and SameSpace policies for the certificate validity period. This issue is fixed in version 4.3.0.
GitHub Advisory Database
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-81868 changed 2026-09-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5mq7-rwhj-4fh9 changed 2026-09-17 | CC-BY-4.0 |
| NVD | CVE-2026-81868 changed 2026-09-30 | Public domain |