# CVE-2026-104073: NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links

- Severity: Medium 6.9 (CVSS:4.0, scored by 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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-10-06T18:50:28.326Z
- Modified: 2026-10-27T01:30:32.403Z
- Weaknesses: CWE-79, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- netbox-community netbox: from 2.9.5 before 4.7.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/netbox-community/netbox/releases#release-v4.7.0> (release-notes)
- <https://github.com/netbox-community/netbox/issues/22607> (issue-tracking)
- <https://github.com/netbox-community/netbox/pull/22616> (patch)
- <https://www.vulncheck.com/advisories/netbox-session-hijacking-via-custom-links> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-104073](https://www.cve.org/CVERecord?id=CVE-2026-104073), CVE Terms of Use, modified 2026-10-27
- NVD: [CVE-2026-104073](https://nvd.nist.gov/vuln/detail/CVE-2026-104073), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-104073 · Whole record: https://cve.day/CVE-2026-104073.json · Rebuilt by cve.day 2026-11-25T22:59:42.393Z
