CVE-2026-54445: Vantage6 Set Admin User And Password Vulnerability

MODERATE
Advisory Identifier: GHSA-fgmc-2hqj-86v4
CWE-204 CWE-1393
Published
Advisory Summary

CVE-2026-54445 is a MODERATE set admin user and password vulnerability (CWE-204: Observable Response Discrepancy) affecting Vantage6 libraries in the PyPI ecosystem. The issue involves set admin user and password from environment or configuration. Remediation is available by upgrading affected packages to version 5.0.0.

CVE-2026-54445 at a Glance

CVE Identifier CVE-2026-54445
GHSA Identifier GHSA-fgmc-2hqj-86v4
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-204: Observable Response Discrepancy
Affected Product Vantage6
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2026-54445

To remediate this vulnerability, upgrade all affected Vantage6 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

vantage6 fixed: 5.0.0
pip install vantage6>=5.0.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show vantage6

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-54445, inspect your installed packages using pip:

pip show vantage6

Analyze the terminal output to locate any version of Vantage6 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.0), your application is affected.

Note: The pip show vantage6 command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-204: Observable Response Discrepancy, where the product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere. In Vantage6, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Vantage6 currently provides an initial user with username `root` and password `root`. This is not ideal for the following reasons: - Attackers know that almost all vantage6 servers have a user with username `root` that probably has admin rights - The initial password is very weak and it is possible that administrators forget to reset it. ### Patches No ### Workarounds It is possible to delete the `root` user after it has been used to create other users ### References We could consider doing this like [mongodb](https://hub.docker.com/_/mongo) ### Additional info Luis uses the following patch to mitigate it: ```diff diff --git a/vantage6-server/vantage6/server/__init__.py b/vantage6-server/vantage6/server/__init__.py index ea362c1e..c6dcbbd9 100644 --- a/vantage6-server/vantage6/server/__init__.py +++ b/vantage6-server/vantage6/server/__init__.py @@ -618,18 +618,30 @@ class ServerApp: # TODO use constant instead of 'Root' literal root = db.Role.get_by_name("Root") - log.warn( - f"Creating root user: " - f"username={SUPER_USER_INFO['username']}, " - f"password={SUPER_USER_INFO['password']}" - ) + # Temporary patch + # read initial root password from file (docker secret) if provided + # TODO: This is a workaround so we don't have an insecure vserver + # at the start. Ideally, we would provide an already hashed + # password. But as hashing is implemented via @validates on + # the field 'password', there isn't a nice way around this. + if os.environ.get("V6_INITIAL_ROOT_PASSWORD_FILE"): + with open( + os.environ.get("V6_INITIAL_ROOT_PASSWORD_FILE") + ) as password_file: + initial_root_password = password_file.read().strip() + log.info( + f"Creating root user with password provided via V6_INITIAL_ROOT_PASSWORD_FILE" + ) + else: + initial_root_password = SUPER_USER_INFO["password"] + log.warn(f"Creating root user with default credentials!") user = db.User( username=SUPER_USER_INFO["username"], roles=[root], organization=org, email="root@domain.ext", - password=SUPER_USER_INFO["password"], + password=initial_root_password, failed_login_attempts=0, last_login_attempt=None, ) ```

CVE-2026-54445 Affected Vantage6 Versions

1 component(s)
Fixed Versions:
5.0.0
Product / Package Ecosystem Affected Versions Fixed Version
vantage6
PyPI
< 5.0.0
5.0.0

References

Frequently Asked Questions

What is CVE-2026-54445?
CVE-2026-54445 is a security vulnerability in Vantage6 involving Set admin user and password from environment or configuration under CWE-204: Observable Response Discrepancy.
Which Vantage6 versions are affected?
Affected versions include releases prior to 5.0.0 across affected packages: vantage6.
What version fixes CVE-2026-54445?
Upgrading to 5.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vantage6 affected?
Yes, vantage6 is affected in releases prior to 5.0.0. Upgrade your dependency to 5.0.0 or later.
What CWE is associated with CVE-2026-54445?
CVE-2026-54445 is classified under CWE-204: Observable Response Discrepancy (The product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere.).
How can I check PyPI dependencies for CVE-2026-54445?
Run the dependency tree command: 'pip show vantage6'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fgmc-2hqj-86v4",
  "modified" : "2026-07-09T21:06:52Z",
  "published" : "2026-06-05T16:45:22Z",
  "aliases" : [ "CVE-2026-54445" ],
  "summary" : "Vantage6: Set admin user and password from environment or configuration",
  "details" : "### 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```",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vantage6"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.0.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.2.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-fgmc-2hqj-86v4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54445"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/issues/1932"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vantage6/vantage6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/blob/main/docs/release_notes.rst#500"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1393", "CWE-204" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-05T16:45:22Z",
    "nvd_published_at" : "2026-06-17T23:17:05Z"
  }
}