9.3critical
Akka.Remote TLS did not properly implement certificate-based authentication
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jhpv-4q4f-43g5
Description
Akka.NET is a .NET port of the Akka project from the Scala / Java community. In all versions of Akka.Remote from v1.2.0 to v1.5.51, TLS could be enabled via our `akka.remote.dot-netty.tcp` transport and this would correctly enforce private key validation on the server-side of inbound connections. Akka.Remote, however, never asked the outbound-connecting client to present ITS certificate - therefore it's possible for untrusted parties to connect to a private key'd Akka.NET cluster and begin communicating with it without any certificate. The issue here is that for certificate-based authentication to work properly, ensuring that all members of the Akka.Remote network are secured with the same private key, Akka.Remote needed to implement mutual TLS. This was not the case before Akka.NET v1.5.52. Those who run Akka.NET inside a private network that they fully control or who were never using TLS in the first place are now affected by the bug. However, those who use TLS to secure their networks must upgrade to Akka.NET V1.5.52 or later. One patch forces "fail fast" semantics if TLS is enabled but the private key is missing or invalid. Previous versions would only check that once connection attempts occurred. The second patch, a critical fix, enforces mutual TLS (mTLS) by default, so both parties must be keyed using the same certificate. As a workaround, avoid exposing the application publicly to avoid the vulnerability having a practical impact on one's application. However, upgrading to version 1.5.52 is still recommended by the maintainers.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| akkadotnet akka.net | >= 1.2.0, < 1.5.52 | CVE List |
| Akka.Remote (NuGet) | from 1.2.0 before 1.5.52 | GitHub Advisory Database |
| Akka.Cluster (NuGet) | from 1.2.0 before 1.5.52 | GitHub Advisory Database |
All scores
| GitHub_M | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
Akka.NET is a .NET port of the Akka project from the Scala / Java community. In all versions of Akka.Remote from v1.2.0 to v1.5.51, TLS could be enabled via our `akka.remote.dot-netty.tcp` transport and this would correctly enforce private key validation on the server-side of inbound connections. Akka.Remote, however, never asked the outbound-connecting client to present ITS certificate - therefore it's possible for untrusted parties to connect to a private key'd Akka.NET cluster and begin communicating with it without any certificate. The issue here is that for certificate-based authentication to work properly, ensuring that all members of the Akka.Remote network are secured with the same private key, Akka.Remote needed to implement mutual TLS. This was not the case before Akka.NET v1.5.52. Those who run Akka.NET inside a private network that they fully control or who were never using TLS in the first place are now affected by the bug. However, those who use TLS to secure their networks must upgrade to Akka.NET V1.5.52 or later. One patch forces "fail fast" semantics if TLS is enabled but the private key is missing or invalid. Previous versions would only check that once connection attempts occurred. The second patch, a critical fix, enforces mutual TLS (mTLS) by default, so both parties must be keyed using the same certificate. As a workaround, avoid exposing the application publicly to avoid the vulnerability having a practical impact on one's application. However, upgrading to version 1.5.52 is still recommended by the maintainers.
GitHub Advisory Database
Impact
This is a critical network security vulnerability for Akka.Remote users who have SSL / TLS enabled on their Akka.Remote connections and were expecting certificate-based authentication to be enforced on all peers attempting to join the network.
In all versions of Akka.Remote from v1.2.0 to v1.5.51, TLS could be enabled via our akka.remote.dot-netty.tcp transport and this would correctly enforce private key validation on the server-side of inbound connections. Akka.Remote, however, never asked the outbound-connecting client to present ITS certificate - therefore it's possible for untrusted parties to connect to a private key'd Akka.NET cluster and begin communicating with it without any certificate.
The issue here is that for certificate-based authentication to work properly, ensuring that all members of the Akka.Remote network are secured with the same private key, Akka.Remote needed to implement mutual TLS. This was not the case before Akka.NET v1.5.52.
If you are running Akka.NET inside a private network you fully control or you were never using TLS in the first place, then this bug has no impact on you. However: if you are using TLS to secure your network YOU MUST upgrade to Akka.NET V1.5.52 or later.
Patches
https://github.com/akkadotnet/akka.net/pull/7847 - forces "fail fast" semantics if TLS is enabled but the private key is missing or invalid. Previous versions would only check that once connection attempts occurred. https://github.com/akkadotnet/akka.net/pull/7851 - critical fix: enforces mutual TLS (mTLS) by default, so both parties must be keyed using the same certificate. This fulfills the original security
These updates have been shipped into Akka.NET v1.5.52: https://github.com/akkadotnet/akka.net/releases/tag/1.5.52
Workarounds
If your application isn't exposed publicly, then CVE-2025-61778 has no practical impact on your application. That being said: upgrading to Akka.NET v1.5.52 or later is a good idea.
References
Please view our latest network security documentation here: https://getakka.net/articles/remoting/security.html
NVD (es)
Akka.NET es un puerto .NET del proyecto Akka de la comunidad Scala / Java. En todas las versiones de Akka.Remote desde la v1.2.0 hasta la v1.5.51, TLS podía habilitarse a través de nuestro transporte 'akka.remote.dot-netty.tcp' y esto aplicaría correctamente la validación de clave privada en el lado del servidor de las conexiones entrantes. Akka.Remote, sin embargo, nunca pidió al cliente de conexión saliente que presentara SU certificado; por lo tanto, es posible que partes no confiables se conecten a un clúster de Akka.NET con clave privada y comiencen a comunicarse con él sin ningún certificado. El problema aquí es que para que la autenticación basada en certificados funcione correctamente, asegurando que todos los miembros de la red Akka.Remote estén protegidos con la misma clave privada, Akka.Remote necesitaba implementar TLS mutuo. Este no era el caso antes de Akka.NET v1.5.52. Aquellos que ejecutan Akka.NET dentro de una red privada que controlan completamente o que nunca usaron TLS en primer lugar ahora están afectados por el error. Sin embargo, aquellos que usan TLS para proteger sus redes deben actualizar a Akka.NET V1.5.52 o posterior. Un parche fuerza la semántica de 'fallo rápido' si TLS está habilitado pero la clave privada falta o es inválida. Las versiones anteriores solo verificarían eso una vez que ocurrieran los intentos de conexión. El segundo parche, una corrección crítica, aplica TLS mutuo (mTLS) por defecto, por lo que ambas partes deben estar cifradas usando el mismo certificado. Como solución alternativa, evite exponer la aplicación públicamente para evitar que la vulnerabilidad tenga un impacto práctico en la aplicación de uno. Sin embargo, los mantenedores aún recomiendan actualizar a la versión 1.5.52.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-61778 changed 2025-10-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jhpv-4q4f-43g5 changed 2025-10-07 | CC-BY-4.0 |
| NVD | CVE-2025-61778 changed 2026-10-09 | Public domain |