PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-104073 netbox-community CVE debrief

A server-side template injection vulnerability exists in NetBox versions 2.9.5 before 4.7.0, allowing a low-privileged user with the 'Can add custom links' permission to steal session cookies and API tokens of other users. This is achieved by exposing the raw Django HttpRequest object to the Jinja2 template context, enabling an attacker to craft a custom link template that auto-exfiltrates the victim's credentials to an attacker-controlled host when a privileged user views the object.

Vendor
netbox-community
Product
netbox
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-06
Original CVE updated
2026-10-27
Advisory published
2026-10-06
Advisory updated
2026-10-27

Who should care

Defenders responsible for NetBox deployments, particularly those with low-privileged users who have the 'Can add custom links' permission, should assess exposure and prioritize upgrading to NetBox version 4.7.0 or later.

Why it matters

Defenders should care about CVE-2026-104073 because it allows low-privileged users to steal session cookies and API tokens, potentially leading to full account takeover and lateral movement within NetBox deployments. Affected deployments should prioritize upgrading to NetBox version 4.7.0 or later and restrict the 'Can add custom links' permission to trusted users.

  • Session hijacking and full account takeover
  • Stealing of API tokens and session cookies
  • Potential for lateral movement within NetBox deployments

Technical summary

The vulnerability exists in NetBox versions 2.9.5 before 4.7.0 and 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. This enables an attacker to craft a custom link template that auto-exfiltrates the victim's credentials to an attacker-controlled host when a privileged user views the object, potentially leading to full account takeover and lateral movement within NetBox deployments.

Defensive priority

Defenders should prioritize upgrading to NetBox version 4.7.0 or later and restrict the 'Can add custom links' permission to trusted users.

Recommended defensive actions

  • Upgrade to NetBox version 4.7.0 or later
  • Restrict the 'Can add custom links' permission to trusted users
  • Monitor for suspicious activity related to custom links
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description, affected versions, and references to patches and advisories. The vulnerability exists in NetBox versions 2.9.5 before 4.7.0 and 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. Evidence is limited to public CVE and source item descriptions, with no additional verification or testing.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-104073 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-104073

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-104073 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-104073

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/104xxx/CVE-2026-104073.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/netbox-community/netbox/releases

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/netbox-community/netbox/issues/22607

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/netbox-community/netbox/pull/22616

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/netbox-session-hijacking-via-custom-links

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.