CVE-2026-104073 NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netbox-community/netbox | >= 2.9.5, < 4.7.0 | 4.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| netbox-community/netbox | >= 2.9.5, < 4.7.0 | 4.7.0 |
References
- Release Notes release-notes
- GitHub Issue issue-tracking
- Pull Request patch
- www.vulncheck.com third-party-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2546811 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-93660 third-party-advisory