6.5medium
Privilege escalation: all users can access Admin-level API keys
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.02% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j5c2-hm46-wp5cBIT-GHOST-2021-39192
Description
Ghost is a Node.js content management system. An error in the implementation of the limits service between versions 4.0.0 and 4.9.4 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability. This issue is patched in Ghost version 4.10.0. As a workaround, disable all non-Administrator accounts to prevent API access. It is highly recommended to regenerate all API keys after patching or applying the workaround.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| TryGhost Ghost | >= 4.0.0, < 4.10.0 | CVE List |
| ghost (npm) | from 4.0.0 before 4.10.0 | GitHub Advisory Database |
| ghost ghost | from 4.0.0 before 4.10.0 | NVD |
| ghost (Bitnami) | from 4.0.0 before 4.10.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
Ghost is a Node.js content management system. An error in the implementation of the limits service between versions 4.0.0 and 4.9.4 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability. This issue is patched in Ghost version 4.10.0. As a workaround, disable all non-Administrator accounts to prevent API access. It is highly recommended to regenerate all API keys after patching or applying the workaround.
GitHub Advisory Database
Impact
An error in the implementation of the limits service in 4.0.0 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability.
Ghost(Pro) has already been patched. Self-hosters are impacted if running Ghost a version between 4.0.0 and 4.9.4. Immediate action should be taken to secure your site - see patches & workarounds below.
It is highly recommended to regenerate all API keys after patching or applying the workaround below.
Patches
Fixed in 4.10.0, all 4.x sites should upgrade as soon as possible.
Workarounds
- Disable all non-Administrator accounts to prevent API access.
For more information
If you have any questions or comments about this advisory:
- email us at security@ghost.org
Credits: Aden Yap Chuen Zhen, BAE Systems Applied Intelligence (Malaysia)
NVD (es)
Ghost es un sistema de administración de contenidos Node.js. Un error en la implementación del servicio de límites entre las versiones 4.0.0 y 4.9.4, permite a todos los usuarios autenticados (incluidos los colaboradores) visualizar las claves de la API a nivel de administrador por medio del endpoint de la API de integraciones, conllevando a una vulnerabilidad de escalada de privilegios. Este problema se ha corregido en la versión 4.10.0 de Ghost. Como solución, deshabilite todas las cuentas que no sean de administrador para prevenir el acceso a la API. Se recomienda encarecidamente regenerar todas las claves de la API después de aplicar el parche o la solución
References
| https://github.com/TryGhost/Ghost/security/advisories/GHSA-j5c2-hm46-wp5c | advisory, third-party-advisory, web | |
| https://github.com/TryGhost/Ghost/releases/tag/v4.10.0 | advisory, release-notes, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-39192 | advisory, web | |
| https://github.com/TryGhost/Ghost | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39192 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j5c2-hm46-wp5c changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-39192 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GHOST-2021-39192 changed 2026-09-08 | Apache-2.0 |