Vulnerabilities

CVE-2026-104073

NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links

Medium 6.9 CVSS 4.0

Description

NetBox versions 2.9.5 before 4.7.0 contain a server-side template injection vulnerability that allows a low-privileged user with the "Can add custom links" permission to steal session cookies and API tokens of other users by exposing the raw Django HttpRequest object to the Jinja2 template context. Attackers can craft a custom link template embedding request.COOKIES['sessionid'] or a user's API token into an img src URL, which bypasses the clean_html sanitizer and auto-exfiltrates the victim's credentials to an attacker-controlled host when a privileged user views the object, enabling full account takeover.

Description as published by the source, in English.

Key facts

Published
2026-10-06
Last modified
2026-10-27
Assigned by
VulnCheck
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N
Scored by
CVE Program
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
netbox-community netbox ≥ 2.9.5, < 4.7.0 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities