PYSEC-2026-2003
vantage6 has insecure SSH configuration for node and server containers
Quick fix
PYSEC-2026-2003 — vantage6: upgrade to the fixed version with the command below.
pip install --upgrade 'vantage6>=4.2.0'Details
### Impact Nodes and servers get a ssh config by default that permits root login with password authentication. In a proper deployment, the SSH service is not exposed so there is no risk, but not all deployments are ideal. The default should therefore be less permissive.
We will probably opt to completely remove the ssh option as it is only used for debugging. Later, we can add a debug mode where we can activate it if necessary.
### Workarounds Remove the ssh part from the docker file and build your own docker image
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/vantage6/vantage6/security/advisories/GHSA-2wgc-48g2-cj5w[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-21653[ADVISORY]
- https://github.com/vantage6/vantage6/commit/3fcc6e6a8bd1142fd7a558d8fdd2b246e55c8841[WEB]
- https://github.com/pypa/advisory-database/tree/main/vulns/vantage6-server/PYSEC-2024-34.yaml[WEB]
- https://github.com/vantage6/vantage6[PACKAGE]
- https://pypi.org/project/vantage6[PACKAGE]
- https://github.com/advisories/GHSA-2wgc-48g2-cj5w[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/vantage6"]}'