Skip to main content

CVE-2026-104073: Exposure of Resource to Wrong Sphere in netbox-community netbox

0
Medium
VulnerabilityCVE-2026-104073cvecve-2026-104073
Published: 10/06/2026 (10/06/2026, 18:50:28 UTC)
Source: CVE Database V5
Vendor/Project: netbox-community
Product: netbox

Description

NetBox versions from 2.9.5 up to but not including 4.7.0 contain a server-side template injection vulnerability. This flaw 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 embed victim credentials in crafted custom link templates, which bypass sanitization and exfiltrate data when viewed by privileged users, potentially leading to full account takeover.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

netbox-community

netbox

Affected versions
>=2.9.5 <4.7.0
GitHub Actionsmore threats →cve
netbox
pkg:github/netbox
Affected versions
>=2.9.5 <4.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 22:49:26 UTC

Technical Analysis

CVE-2026-104073 is a server-side template injection vulnerability in netbox-community's NetBox product affecting versions >=2.9.5 and <4.7.0. The vulnerability arises because the raw Django HttpRequest object is exposed to the Jinja2 template context, allowing a low-privileged user with the "Can add custom links" permission to craft templates that embed session cookies or API tokens. These credentials can be exfiltrated via an img src URL that bypasses the clean_html sanitizer when a privileged user views the crafted object, enabling full account takeover.

Potential Impact

An attacker with low privileges can steal session cookies and API tokens of other users, including privileged users, leading to full account takeover. This compromises user accounts and potentially the entire NetBox instance's security.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict the "Can add custom links" permission to trusted users only and monitor for suspicious custom link templates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-01T18:02:50.083Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac546312cdf04f656d49cc1

Added to database: 10/06/2026, 19:04:17 UTC

Last enriched: 10/06/2026, 22:49:26 UTC

Last updated: 10/06/2026, 22:49:26 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses