CVE-2026-104073

NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links

  • High 7.6

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.

Key facts

Published
6 Oct 2026
Last changed
27 Oct 2026
Assigned by
VulnCheck
EPSS
0.365% likely to be exploited in the next 30 days, higher than 30.839% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 6.9CVSS 4.0, Mediumfrom the CNA (VulnCheck)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
  • 7.6CVSS 3.1, Highfrom the CNA (VulnCheck)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
netbox-communitynetbox
  • Default status: unaffected
  • 2.9.5 up to but excluding 4.7.0 (affected)

Timeline

  1. 6 Oct 2026 Published

Weakness

Practice this bug class

HackZoneLabs has a hands-on lab on XSS (stored, reflected, DOM) (CWE-79).

References