CVE-2026-78204
JSON

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 packageVersionsReported by
GhostManager Ghostwriterup to 7.2.6CVE List

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-862

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

Sources

SourceRecordLicence
CVE ListCVE-2026-78204 changed 2026-08-24CVE Terms of Use
NVDCVE-2026-78204 changed 2026-10-12Public domain