Improper Certificate Validation Affecting steeltoe.security.authorization.certificate package, versions [,4.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-STEELTOESECURITYAUTHORIZATIONCERTIFICATE-20079549
  • published24 Sept 2026
  • disclosed17 Sept 2026

Introduced: 17 Sep 2026

NewCVE-2026-81868  (opens in a new tab)
CWE-288  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Steeltoe.Security.Authorization.Certificate to version 4.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation through the UseCertificateAuthorization flow in Authorization.Certificate, specifically the AddOrgAndSpacePolicies authorization path that trusts the X-Client-Cert header. An attacker can bypass SameOrg and SameSpace authorization checks by supplying a forged X-Client-Cert header on a network-accessible request. If the application exposes protected endpoints through Cloud Foundry routing and uses certificate-based authorization for inter-service access, the attacker can impersonate a trusted client certificate and gain unauthorized access to endpoints intended only for the same organization or space.

Workarounds

  • Restrict UseCertificateForwarding to trusted proxy source IPs by configuring ForwardedHeadersOptions.KnownProxies and KnownNetworks; this prevents untrusted clients from supplying a spoofed certificate header directly.
  • Change the forwarding header to X-Forwarded-Client-Cert so Cloud Foundry Gorouter and Envoy strip inbound untrusted copies of that header; this blocks header spoofing on network-accessible requests.
  • Add a second authorization check for sensitive endpoints, such as a shared secret or mutual TLS at the proxy layer; this limits access even if a forged client certificate header is presented.
  • Avoid binding the application to a public route unless required; use Cloud Foundry internal routes like .apps.internal and container-to-container network policies to restrict access to intended internal clients only.

CVSS Base Scores

version 4.0
version 3.1