High severity · published Oct 6, 2026
CVE-2026-104073
NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links
7.6
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
netbox · netbox-community
2.9.5 before 4.7.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-104073
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-104073
release-notes
https://github.com/netbox-community/netbox/releases#release-v4.7.0
issue-tracking
https://github.com/netbox-community/netbox/issues/22607
patch
https://github.com/netbox-community/netbox/pull/22616
third-party-advisory
https://www.vulncheck.com/advisories/netbox-session-hijacking-via-custom-links
More from netbox
8.8
CVE-2026-29514
NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
6.5
CVE-2026-86175
NetBox through 4.7.0 Credential Disclosure via REST and GraphQL APIs
4.3
CVE-2026-86176
NetBox through 4.7.0 Information Disclosure via REST and GraphQL APIs
