---
id: CVE-2026-78204
title: >-
  Ghostwriter through 7.2.6 does not apply per-object authorization on its
  report template lint endpoints
summary: >-
  Ghostwriter through 7.2.6 does not apply per-object authorization on its
  report template lint endpoints. RoleBasedAccessControlMixin.test_func returns
  only request.user.is_active unless a view overrides it, and neither the
  endpoint that …
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-862
published: '2026-08-24'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T16:10:00.220'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-78204'
references:
  - url: 'https://github.com/GhostManager/Ghostwriter'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/GhostManager/Ghostwriter/blob/v7.2.6/ghostwriter/api/utils.py#L470-L480
    label: disclosure@vulncheck.com
  - url: 'https://github.com/geo-chen/oss/blob/main/Ghostwriter.md'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/ghostwriter-through-missing-authorization-on-report-template-lint-endpoints
    label: disclosure@vulncheck.com
  - url: 'https://github.com/geo-chen/oss/blob/main/Ghostwriter.md'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00304
epssPercentile: 0.21389
ingestedAt: '2026-10-12T16:57:59.899Z'
---

## Overview

Ghostwriter through 7.2.6 does not apply per-object authorization on its report template lint endpoints. RoleBasedAccessControlMixin.test_func returns only request.user.is_active unless a view overrides it, and neither the endpoint that lints a report template nor the endpoint that returns stored lint results provides an override, so each resolves a ReportTemplate from a caller-supplied primary key with no ownership or client-scope check. Any authenticated account can therefore lint an arbitrary template, which overwrites that template's stored lint result, and can read the returned findings, which enumerate the template's variable names and template-engine errors and so disclose its structure. This is distinct from the template swap path: that endpoint authorizes the report but omits the per-template check, whereas these endpoints omit authorization entirely and remain unfixed.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
