CVE-2026-67204
JSON

5.3medium

BookStack < 26.05.4 Broken Access Control via Image Gallery API

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

BookStack before 26.05.4 contains a broken access control vulnerability that allows authenticated API users with image-update or image-delete permissions to manipulate other users' avatars by exploiting missing content-type restrictions in the Image Gallery API endpoints. Attackers can supply a user avatar's ID to the API controller, which loads any image type without the web controller's gallery and drawio restrictions, and when the avatar's uploaded_to field matches a page ID accessible to the attacker, the authorization check passes allowing the attacker to rename, replace, or delete the target user's avatar without requiring user-management permission.

Affected

Product or packageVersionsReported by
BookStackApp BookStackbefore 26.05.4CVE List

All scores

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

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

BookStack before 26.05.4 contains a broken access control vulnerability that allows authenticated API users with image-update or image-delete permissions to manipulate other users' avatars by exploiting missing content-type restrictions in the Image Gallery API endpoints. Attackers can supply a user avatar's ID to the API controller, which loads any image type without the web controller's gallery and drawio restrictions, and when the avatar's uploaded_to field matches a page ID accessible to the attacker, the authorization check passes allowing the attacker to rename, replace, or delete the target user's avatar without requiring user-management permission.

NVD (es)

BookStack antes de 26.05.4 contiene una vulnerabilidad de control de acceso roto que permite a usuarios de API autenticados con permisos de actualización de imagen o eliminación de imagen manipular los avatares de otros usuarios explotando restricciones de tipo de contenido faltantes en los puntos finales de la API de la Galería de Imágenes. Los atacantes pueden suministrar el ID de un avatar de usuario al controlador de la API, el cual carga cualquier tipo de imagen sin las restricciones de galería y drawio del controlador web, y cuando el campo uploaded_to del avatar coincide con un ID de página accesible para el atacante, la verificación de autorización pasa permitiendo al atacante renombrar, reemplazar o eliminar el avatar del usuario objetivo sin requerir permiso de gestión de usuarios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-67204 changed 2026-10-01CVE Terms of Use
NVDCVE-2026-67204 changed 2026-10-12Public domain