GHSA-8FH7-7Q4Q-CQ52
Vulnerability from github – Published: 2026-11-19 00:45 – Updated: 2026-11-19 00:45Summary
The Miren Runtime RPC server (QUIC/HTTP3, default port :8443) requested TLS
client certificates but never verified that a presented certificate chained to
the cluster Certificate Authority. Because a client-certificate identity is
granted a blanket RBAC bypass, any party able to reach the RPC listener could
present a forged, self-signed certificate and be authenticated as a cluster
superuser — no valid CA signature, credential, or prior authorization
required.
Impact
This is a complete, unauthenticated authentication bypass against the cluster control plane. An attacker who can reach the RPC port can perform any RPC operation with full privileges: enumerate and manipulate entities, apps, sandboxes, disks, and other cluster resources. This yields full compromise of confidentiality, integrity, and availability of the cluster and everything it orchestrates.
Exposure is network-reachability–gated only. Deployments that expose :8443
beyond a trusted network (e.g. 0.0.0.0/0) are remotely exploitable from the
internet by anyone; deployments that restrict :8443 to a trusted network are
exploitable by any party with access to that network.
Due to a lack of ability to detect if the RPC has been accessed unauthorized, Miren recommends that all applications are redeployed and any credentials reference in environment variables are rotated. A read-only script to help review standing access, recent changes, and the exact secrets to rotate is available at https://github.com/mirendev/runtime/tree/089582a132f7fc1e1d5b5c0aee1e0911535fed53/scripts/security/audit-exposure.
Details
Three independent factors combined to produce the bypass:
-
The listener never verified the client-certificate chain. When a cluster CA was configured, the RPC listener used
tls.RequestClientCert, which requests a client certificate but does not verify it against the configuredClientCAs.tls.ConnectionState.VerifiedChainswas therefore always empty, and noVerifyPeerCertificate/VerifyConnectionhook re-checked the chain. -
The authenticator derived identity from an unverified certificate. The RPC authenticators read
PeerCertificates[0].Subject.CommonNamedirectly as the caller identity, with methodcert, without checking that the chain had been verified. -
Authorization granted a blanket bypass to certificate identities. The authorizer returned "allowed" for any
cert-method identity, skipping all RBAC checks.
Go's TLS client only presents a certificate whose issuer Distinguished Name matches a CA advertised by the server, but that comparison is on the (public, non-secret) DN bytes only — it does not require a valid signature from the CA. An attacker can therefore mint a self-signed certificate whose issuer DN is byte-identical to the cluster CA subject, signed with an attacker-controlled key. The stock client presents it, and the vulnerable server accepts it and trusts its CommonName as a superuser identity.
Patches
Fixed by verifying the client-certificate chain before trusting it:
- The listener now uses
tls.VerifyClientCertIfGivenwhen a cluster CA is configured. A presented certificate must chain to the configured CA to complete the handshake, while certless callers (JWT/OIDC, which authenticate via theAuthorizationheader) are still admitted. - As defense in depth, both RPC authenticators now require a non-empty
VerifiedChainsbefore deriving an identity from a client certificate.
Users should upgrade to the patched release and restart the server so the new listener configuration takes effect.
Workarounds
Until the patch is deployed, restrict network access to the RPC port (:8443)
so that it is not reachable from untrusted networks — remove any
0.0.0.0/0 ingress and limit it to trusted management networks. This is a
containment measure only and does not remove the underlying vulnerability.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "miren.dev/runtime"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.11.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-75521"
],
"database_specific": {
"cwe_ids": [
"CWE-295"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-19T00:45:46Z",
"nvd_published_at": "2026-11-18T19:18:08Z",
"severity": "CRITICAL"
},
"details": "### Summary\n\n The Miren Runtime RPC server (QUIC/HTTP3, default port `:8443`) requested TLS\n client certificates but never verified that a presented certificate chained to\n the cluster Certificate Authority. Because a client-certificate identity is\n granted a blanket RBAC bypass, any party able to reach the RPC listener could\n present a forged, self-signed certificate and be authenticated as a cluster\n **superuser** \u2014 no valid CA signature, credential, or prior authorization\n required.\n\n### Impact\n\n This is a complete, unauthenticated authentication bypass against the cluster\n control plane. An attacker who can reach the RPC port can perform any RPC\n operation with full privileges: enumerate and manipulate entities, apps,\n sandboxes, disks, and other cluster resources. This yields full compromise of\n confidentiality, integrity, and availability of the cluster and everything it\n orchestrates.\n\n Exposure is network-reachability\u2013gated only. Deployments that expose `:8443`\n beyond a trusted network (e.g. `0.0.0.0/0`) are remotely exploitable from the\n internet by anyone; deployments that restrict `:8443` to a trusted network are\n exploitable by any party with access to that network.\n\nDue to a lack of ability to detect if the RPC has been accessed unauthorized,\nMiren recommends that all applications are redeployed and any credentials reference\nin environment variables are rotated. A read-only script to help review standing access,\nrecent changes, and the exact secrets to rotate is available at https://github.com/mirendev/runtime/tree/089582a132f7fc1e1d5b5c0aee1e0911535fed53/scripts/security/audit-exposure.\n\n\n### Details\n\n Three independent factors combined to produce the bypass:\n\n 1. **The listener never verified the client-certificate chain.** When a cluster\n CA was configured, the RPC listener used `tls.RequestClientCert`, which\n requests a client certificate but does not verify it against the configured\n `ClientCAs`. `tls.ConnectionState.VerifiedChains` was therefore always empty,\n and no `VerifyPeerCertificate`/`VerifyConnection` hook re-checked the chain.\n\n 2. **The authenticator derived identity from an unverified certificate.** The\n RPC authenticators read `PeerCertificates[0].Subject.CommonName` directly as\n the caller identity, with method `cert`, without checking that the chain had\n been verified.\n\n 3. **Authorization granted a blanket bypass to certificate identities.** The\n authorizer returned \"allowed\" for any `cert`-method identity, skipping all\n RBAC checks.\n\n Go\u0027s TLS client only presents a certificate whose issuer Distinguished Name\n matches a CA advertised by the server, but that comparison is on the (public,\n non-secret) DN bytes only \u2014 it does not require a valid signature from the CA.\n An attacker can therefore mint a self-signed certificate whose **issuer DN is\n byte-identical to the cluster CA subject**, signed with an attacker-controlled\n key. The stock client presents it, and the vulnerable server accepts it and\n trusts its CommonName as a superuser identity.\n\n### Patches\n\n Fixed by verifying the client-certificate chain before trusting it:\n\n - The listener now uses `tls.VerifyClientCertIfGiven` when a cluster CA is\n configured. A presented certificate must chain to the configured CA to\n complete the handshake, while certless callers (JWT/OIDC, which authenticate\n via the `Authorization` header) are still admitted.\n - As defense in depth, both RPC authenticators now require a non-empty\n `VerifiedChains` before deriving an identity from a client certificate.\n\n Users should upgrade to the patched release and restart the server so the\n new listener configuration takes effect.\n\n### Workarounds\n\n Until the patch is deployed, restrict network access to the RPC port (`:8443`)\n so that it is not reachable from untrusted networks \u2014 remove any\n `0.0.0.0/0` ingress and limit it to trusted management networks. This is a\n containment measure only and does not remove the underlying vulnerability.",
"id": "GHSA-8fh7-7q4q-cq52",
"modified": "2026-11-19T00:45:46Z",
"published": "2026-11-19T00:45:46Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/mirendev/runtime/security/advisories/GHSA-8fh7-7q4q-cq52"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-75521"
},
{
"type": "WEB",
"url": "https://github.com/mirendev/runtime/commit/e2159c8c8559da3f1c1485b463c794d656cd2fe4"
},
{
"type": "PACKAGE",
"url": "https://github.com/mirendev/runtime"
},
{
"type": "WEB",
"url": "https://github.com/mirendev/runtime/releases/tag/v0.11.1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
"type": "CVSS_V4"
}
],
"summary": "Miren Runtime: Authentication bypass in RPC layer: unverified TLS client certificates grant cluster superuser access"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.