5.3medium
Ghostwriter through 7.2.6 Missing Authorization on Report Template Lint Endpoints
- Severity
- 5.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.27% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GhostManager Ghostwriter | up to 7.2.6 | CVE List |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Ghostwriter hasta la versión 7.2.6 no aplica autorización por objeto en sus puntos finales de lint de plantillas de informe. RoleBasedAccessControlMixin.test_func devuelve solo request.user.is_active a menos que una vista lo anule, y ni el punto final que aplica lint a una plantilla de informe ni el punto final que devuelve los resultados de lint almacenados proporcionan una anulación, por lo que cada uno resuelve un ReportTemplate a partir de una clave primaria proporcionada por el llamador sin verificación de propiedad o de alcance del cliente. Cualquier cuenta autenticada puede, por lo tanto, aplicar lint a una plantilla arbitraria, lo que sobrescribe el resultado de lint almacenado de esa plantilla, y puede leer los hallazgos devueltos, que enumeran los nombres de las variables de la plantilla y los errores del motor de plantillas y así revelan su estructura. Esto es distinto de la ruta de intercambio de plantillas: ese punto final autoriza el informe pero omite la verificación por plantilla, mientras que estos puntos finales omiten la autorización por completo y permanecen sin corregir.
References
| https://github.com/GhostManager/Ghostwriter | product | |
| https://github.com/GhostManager/Ghostwriter/blob/v7.2.6/ghostwriter/api/utils.py#L470-L480 | technical-description | |
| https://github.com/geo-chen/oss/blob/main/Ghostwriter.md | exploit, third-party-advisory | |
| https://www.vulncheck.com/advisories/ghostwriter-through-missing-authorization-on-report-template-lint-endpoints | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-78204 changed 2026-08-24 | CVE Terms of Use |
| NVD | CVE-2026-78204 changed 2026-10-12 | Public domain |