← Back to CVE Explorer

CVE-2026-43978

Full vulnerability record from the local CVENow database.

Description

wger is a free, open-source workout and fitness manager. In versions prior to 2.6, a gym trainer can escalate their session to any higher-privileged account (gym manager, general manager) by chaining two calls to the trainer-login endpoint. Once a trainer performs a legitimate switch into a low-privileged user, the session flag trainer.identity is set and this flag alone bypasses the permission check on all subsequent trainer-login calls. This grants full gym administration capabilities including viewing all member data, modifying contracts, managing gym configuration, and accessing other trainers' and managers' personal information. This issue has been fixed in version 2.6.

Severity
HIGH
CVSS score
8.1 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-16 23:16:16.310000
Last modified
2026-10-24 20:10:00.137000
View original CVE JSON
{
  "id": "CVE-2026-43978",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-16T23:16:16.310",
  "lastModified": "2026-10-24T20:10:00.137",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "wger is a free, open-source workout and fitness manager. In versions prior to 2.6, a gym trainer can escalate their session to any higher-privileged account (gym manager, general manager) by chaining two calls to the trainer-login endpoint. Once a trainer performs a legitimate switch into a low-privileged user, the session flag trainer.identity is set and this flag alone bypasses the permission check on all subsequent trainer-login calls. This grants full gym administration capabilities including viewing all member data, modifying contracts, managing gym configuration, and accessing other trainers' and managers' personal information. This issue has been fixed in version 2.6."
    },
    {
      "lang": "es",
      "value": "wger es un gestor de entrenamientos y fitness gratuito y de código abierto. En versiones anteriores a la 2.6, un entrenador de gimnasio puede escalar su sesión a cualquier cuenta con mayores privilegios (gerente de gimnasio, gerente general) encadenando dos llamadas al endpoint trainer-login. Una vez que un entrenador realiza un switch legítimo a un usuario con pocos privilegios, la bandera de sesión trainer.identity se establece y esta bandera por sí sola omite la verificación de permisos en todas las llamadas posteriores a trainer-login. Esto otorga capacidades completas de administración del gimnasio, incluyendo la visualización de todos los datos de los miembros, la modificación de contratos, la gestión de la configuración del gimnasio y el acceso a la información personal de otros entrenadores y gerentes. Este problema ha sido solucionado en la versión 2.6."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "wger-project",
          "product": "wger",
          "versions": [
            {
              "version": "< 2.6",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
          "baseScore": 8.1,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.2
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-17T10:49:18.653519Z",
          "id": "CVE-2026-43978",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-269"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/wger-project/wger/security/advisories/GHSA-9qpr-vc49-hqg2",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/wger-project/wger/security/advisories/GHSA-9qpr-vc49-hqg2",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}