{"id":"CVE-2026-54445","aliases":["CVE-2026-54445","GHSA-fgmc-2hqj-86v4","PYSEC-2026-3400"],"related":[],"kind":"vulnerability","state":"published","title":"Vantage6: Set admin user and password from environment or configuration","summary":"vantage6 is an open-source infrastructure for privacy preserving analysis. Versions prior to 5.0.0 provide an initial user with username `root` and password `root`. This is not ideal because attackers know that almost all vantage6 servers have a user with username `root` that probably has admin rights, and the initial password is very weak and it is possible that administrators forget to reset it. Version 5.0.0 fixes the issue. As a workaround, it is possible to delete the `root` user after it has been used to create other users.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"vantage6 is an open-source infrastructure for privacy preserving analysis. Versions prior to 5.0.0 provide an initial user with username `root` and password `root`. This is not ideal because attackers know that almost all vantage6 servers have a user with username `root` that probably has admin rights, and the initial password is very weak and it is possible that administrators forget to reset it. Version 5.0.0 fixes the issue. As a workaround, it is possible to delete the `root` user after it has been used to create other users.","source":"cvelist"},{"lang":"en","text":"### Impact\nVantage6 currently provides an initial user with username `root` and password `root`. This is not ideal for the following reasons:\n- Attackers know that almost all vantage6 servers have a user with username `root` that probably has admin rights\n- The initial password is very weak and it is possible that administrators forget to reset it.\n\n### Patches\nNo\n\n### Workarounds\nIt is possible to delete the `root` user after it has been used to create other users\n\n### References\nWe could consider doing this like [mongodb](https://hub.docker.com/_/mongo)\n\n### Additional info\n\nLuis uses the following patch to mitigate it:\n```diff\ndiff --git a/vantage6-server/vantage6/server/__init__.py b/vantage6-server/vantage6/server/__init__.py\nindex ea362c1e..c6dcbbd9 100644\n--- a/vantage6-server/vantage6/server/__init__.py\n+++ b/vantage6-server/vantage6/server/__init__.py\n@@ -618,18 +618,30 @@ class ServerApp:\n             # TODO use constant instead of 'Root' literal\n             root = db.Role.get_by_name(\"Root\")\n \n-            log.warn(\n-                f\"Creating root user: \"\n-                f\"username={SUPER_USER_INFO['username']}, \"\n-                f\"password={SUPER_USER_INFO['password']}\"\n-            )\n+            # Temporary patch\n+            # read initial root password from file (docker secret) if provided\n+            # TODO: This is a workaround so we don't have an insecure vserver\n+            #       at the start. Ideally, we would provide an already hashed\n+            #       password. But as hashing is implemented via @validates on\n+            #       the field 'password', there isn't a nice way around this.\n+            if os.environ.get(\"V6_INITIAL_ROOT_PASSWORD_FILE\"):\n+                with open(\n+                    os.environ.get(\"V6_INITIAL_ROOT_PASSWORD_FILE\")\n+                ) as password_file:\n+                    initial_root_password = password_file.read().strip()\n+                log.info(\n+                    f\"Creating root user with password provided via V6_INITIAL_ROOT_PASSWORD_FILE\"\n+                )\n+            else:\n+                initial_root_password = SUPER_USER_INFO[\"password\"]\n+                log.warn(f\"Creating root user with default credentials!\")\n \n             user = db.User(\n                 username=SUPER_USER_INFO[\"username\"],\n                 roles=[root],\n                 organization=org,\n                 email=\"root@domain.ext\",\n-                password=SUPER_USER_INFO[\"password\"],\n+                password=initial_root_password,\n                 failed_login_attempts=0,\n                 last_login_attempt=None,\n             )\n```","format":"markdown","source":"ghsa"}],"published":"2026-06-05T16:45:22.000Z","modified":"2026-07-13T16:42:58.865Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}],"cwes":["CWE-204","CWE-1393"],"affected":[{"ranges":[{"version":"< 5.0.0","status":"affected"}],"vendor":"vantage6","product":"vantage6","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.0"}],"ecosystem":"PyPI","package":"vantage6","purl":"pkg:pypi/vantage6","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.0"}],"ecosystem":"PyPI","package":"vantage6","purl":"pkg:pypi/vantage6","source":"pysec"}],"references":[{"url":"https://github.com/vantage6/vantage6/security/advisories/GHSA-fgmc-2hqj-86v4","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/vantage6/vantage6/issues/1932","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/vantage6/vantage6/blob/main/docs/release_notes.rst#500","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54445","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/vantage6/vantage6","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/vantage6","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-fgmc-2hqj-86v4","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-18T15:49:25.888Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54445","url":"https://www.cve.org/CVERecord?id=CVE-2026-54445","licence":"CVE Terms of Use","modified":"2026-06-18T15:49:54.097Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fgmc-2hqj-86v4","url":"https://github.com/advisories/GHSA-fgmc-2hqj-86v4","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:58.865Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54445","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54445","licence":"Public domain","modified":"2026-06-23T15:44:39.343Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3400","url":"https://osv.dev/vulnerability/PYSEC-2026-3400","licence":"CC-BY-4.0","modified":"2026-07-13T16:33:32.067Z"}],"updatedAt":"2026-11-25T22:59:25.031Z","epss":{"score":0.00292,"percentile":0.23459,"date":"2026-12-01T12:00:22.000Z"}}