kas Persistently Disables SSH Host Key Checking
Summary
kas persistently disables SSH host key checking for the invoking user when internal SSH key setup is triggered via SSH_PRIVATE_KEY or SSH_PRIVATE_KEY_FILE and no user-specific SSH configuration file exists so far.
When this path is used, kas creates ~/.ssh/config with a global Host * rule containing StrictHostKeyChecking no. This was intended to ease the use of kas in short-lived CI environments that lack a pre-configured set of known hosts. In case a local user had no SSH configuration file so far, this approach weakens SSH host authenticity verification beyond the lifetime and scope of the kas command, increasing the risk of successful man-in-the-middle attacks against future SSH connections made by the same user.
Patches
Such SSH configurations were created since the very first public release. The issue is addressed now by commit <FILLME> which is part of kas version 5.4.
Workarounds
Since kas 2.6.3, a local user's SSH configuration is only written if it didn't exist before. From that version on, the issue can be avoided by creating an own ~/.ssh/config prior to calling kas. If kas was already called, ~/.ssh/config should be inspected and undesired settings created by kas should be removed.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | kas | < 5.4 | 5.4 |
Referencias
- https://github.com/siemens/kas/security/advisories/GHSA-mv8m-v9v6-5f94
- https://github.com/siemens/kas/commit/1c1e861c9f241ce082b86bef6bedc7da9b676294
- https://github.com/siemens/kas
- https://github.com/siemens/kas/releases/tag/5.4
- https://pypi.org/project/kas
- https://github.com/advisories/GHSA-mv8m-v9v6-5f94
- https://nvd.nist.gov/vuln/detail/CVE-2026-54548
- Vector CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N- Debilidad (CWE)
CWE-295- Plataforma
- Python (PyPI)
- Paquete
kas- Publicada
- 26.08.2026
- Actualizado
- 11.10.2026 15:18
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-3855 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-mv8m-v9v6-5f94 - CC BY 4.0
Historial de vulnerabilidades: kas
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 3
- Primera → última
- 06.2026 08.2026
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Baja 3
Divulgaciones por año
- 2026: 3
-
kas Persistently Disables SSH Host Key Checking esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.