CVE-2026-104073
published medium CVSS 4.0 · 6.9NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| netbox-community | — | netbox2.9.5 to < 4.7.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.6 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| netbox-community | netbox | 2.9.5 to < 4.7.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-668 Exposure of Resource to Wrong Sphere
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- GitHub Issue https://github.com/netbox-community/netbox/issues/22607
- Pull Request https://github.com/netbox-community/netbox/pull/22616
- Release Notes https://github.com/netbox-community/netbox/releases#release-v4.7.0
- https://www.vulncheck.com/advisories/netbox-session-hijacking-via-custom-links
Provider assertions
2VulnCheck · cna
NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ecf0d84d8c5706477448280e27c25609d45e76e210c3d82b250c41f1cc6958cc
- Ingested
- 27 Oct 2026, 01:40:47 UTC
- Source record
- Official CVE record