Skip to content
Heist/ feed
High

NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-104073

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-104073

netbox

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/netbox-community/netbox",
    "vendor": "netbox-community",
    "product": "netbox",
    "versions": [
      {
        "status": "affected",
        "version": "2.9.5",
        "lessThan": "4.7.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:github/netbox-community/netbox",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-104073

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#11863 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement