p PatchFirst

CVE-2026-40474

CVE-2026-40474 · wger has Broken Access Control in the Global Gym Configuration Update Endpoint

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

wger is a free, open-source workout and fitness manager. In versions 2.5 and below, the GymConfigUpdateView declares permission_required = 'config.change_gymconfig' but inherits WgerFormMixin instead of WgerPermissionMixin, so the permission is never enforced at runtime. Since GymConfig is an ownerless singleton, any authenticated user can modify the global gym configuration, triggering save() side effects that bulk-update user profile gym assignments — a vertical privilege escalation to installation-wide configuration control. This issue is fixed in version 2.5.

CVSS 7.6 · Alta · EPSS 0,3%

Publicación
Actualización

Pila tecnológica: python

Productos y versiones afectados

  • wger

    Versiones
    • < 2.5: Afectada

    Sin corrección publicada

  • wger PyPI

    Versiones
    • 1.1
    • 1.1.1
    • 1.2
    • 1.2rc1
    • 1.3
    • 1.4
    • 1.5
    • 1.6
    • 1.6.1
    • 1.7
    • 1.8
    • 1.9
    • 2.0
    • 2.1
    Intervalos de versiones afectados
    • ECOSYSTEM: ≤ 2.1

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →