Bug 2546811 (CVE-2026-104073) - CVE-2026-104073 netbox: NetBox: Account takeover via custom link template injection
Summary: CVE-2026-104073 netbox: NetBox: Account takeover via custom link template inj...
Keywords:
Status: NEW
Alias: CVE-2026-104073
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2547395
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 19:04 UTC by OSIDB Bzimport
Modified: 2026-10-07 10:49 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 19:04:43 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.