Skip to content
Heist/ feed
Back to feed
Medium

Privilege escalation from administrator in eLabFTW

Type: advisorySources: OSV

eLabFTW is an electronic lab notebook manager for research teams. Prior to version 4.3.0, a vulnerability allows an authenticated user with an administrator role in a team to assign itself system administrator privileges within the application, or create a new system administrator account. The issue has been corrected in eLabFTW version 4.3.0. In the context of eLabFTW, an administrator is a user account with certain privileges to manage users and content in their assigned team/teams. A system administrator account can manage all accounts, teams and edit system-wide settings within the application. The impact is not deemed as high, as it requires the attacker to have access to an administrator account. Regular user accounts cannot exploit this to gain admin rights. A workaround for one if the issues is removing the ability of administrators to create accounts.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-31007
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 00:58 UTC · Revision 1

Source evidence

Privilege escalation from administrator in eLabFTW

core-osv · Original source

Published 31 May 2022, 19:30 UTC

eLabFTW is an electronic lab notebook manager for research teams. Prior to version 4.3.0, a vulnerability allows an authenticated user with an administrator role in a team to assign itself system administrator privileges within the application, or create a new system administrator account. The issue has been corrected in eLabFTW version 4.3.0. In the context of eLabFTW, an administrator is a user account with certain privileges to manage users and content in their assigned team/teams. A system administrator account can manage all accounts, teams and edit system-wide settings within the application. The impact is not deemed as high, as it requires the attacker to have access to an administrator account. Regular user accounts cannot exploit this to gain admin rights. A workaround for one if the issues is removing the ability of administrators to create accounts.

osv:CVE-2022-31007
Complete source record
{
  "id": "95df34371aa7dbf2d15914ee891ee8ae751d88a3c001157b9180ab76c5e51bfd",
  "url": "https://osv.dev/vulnerability/CVE-2022-31007",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Privilege escalation from administrator in eLabFTW",
    "summary": "eLabFTW is an electronic lab notebook manager for research teams. Prior to version 4.3.0, a vulnerability allows an authenticated user with an administrator role in a team to assign itself system administrator privileges within the application, or create a new system administrator account. The issue has been corrected in eLabFTW version 4.3.0. In the context of eLabFTW, an administrator is a user account with certain privileges to manage users and content in their assigned team/teams. A system administrator account can manage all accounts, teams and edit system-wide settings within the application. The impact is not deemed as high, as it requires the attacker to have access to an administrator account. Regular user accounts cannot exploit this to gain admin rights. A workaround for one if the issues is removing the ability of administrators to create accounts.",
    "evidence": "osv:CVE-2022-31007",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-31007",
      "aliases": [
        "CVE-2022-31007",
        "GHSA-937c-m7p3-775v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elabftw/elabftw",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d808bd1ec13686c5838a783576b5f9180482fe9b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.3.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d808bd1ec13686c5838a783576b5f9180482fe9b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "4.3.0"
                  },
                  {
                    "cpe": "cpe:2.3:a:elabftw:elabftw:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.3.0-beta5",
            "4.3.0-beta4",
            "4.3.0-beta3",
            "4.3.0-beta2",
            "4.3.0-beta",
            "4.3.0-alpha",
            "4.2.2",
            "4.2.1",
            "4.2.0",
            "4.2.0-BETA",
            "4.1.0",
            "4.1.0-BETA6",
            "4.1.0-BETA5",
            "4.1.0-BETA4",
            "4.1.0-BETA3",
            "4.1.0-BETA2",
            "4.1.0-BETA",
            "4.0.11",
            "4.0.10",
            "4.0.9",
            "4.0.8",
            "4.0.7",
            "4.0.6",
            "4.0.5",
            "4.0.4",
            "4.0.3",
            "4.0.2",
            "4.0.1",
            "4.0.0",
            "4.0.0-beta6",
            "4.0.0-beta5",
            "4.0.0-beta4",
            "4.0.0-beta3",
            "4.0.0-beta2",
            "4.0.0-beta",
            "4.0.0-alpha2",
            "4.0.0-alpha",
            "3.6.4",
            "3.6.3",
            "3.6.2",
            "3.6.1",
            "3.6.0",
            "3.6.0-rc",
            "3.6.0-beta",
            "3.6.0-alpha",
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.5.0",
            "3.5.0-rc",
            "3.5.0-beta",
            "3.4.10",
            "3.4.9",
            "3.4.8",
            "3.4.7",
            "3.4.6",
            "3.4.5",
            "3.4.4",
            "3.4.3",
            "3.4.2",
            "3.4.1",
            "3.4.0",
            "3.4.0-beta",
            "3.4.0-alpha",
            "3.3.12",
            "3.3.11",
            "3.3.10",
            "3.3.9",
            "3.3.8",
            "3.3.7",
            "3.3.6",
            "3.3.5",
            "3.3.4",
            "3.3.3",
            "3.3.2",
            "3.3.1",
            "3.3.0",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.3",
            "3.0.2",
            "3.0.1",
            "3.0.0",
            "3.0.0-beta",
            "3.0.0-alpha",
            "2.0.7",
            "2.0.6",
            "2.0.5",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "2.0.0-beta",
            "2.0.0-alpha2",
            "2.0.0-alpha1",
            "1.8.3",
            "1.8.2",
            "1.8.1",
            "1.7.8",
            "1.7.7",
            "1.7.6",
            "1.7.4",
            "1.7.3",
            "1.7.2",
            "1.7.1",
            "1.7.0",
            "1.6.2",
            "1.6.1",
            "1.6.0",
            "1.5.7",
            "1.5.6",
            "1.5.5",
            "1.5.4",
            "1.5.3",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.3.0",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0-p3",
            "1.2.0-p2",
            "1.2.0-p1",
            "1.2.0",
            "1.2.0-beta",
            "1.2.0-alpha",
            "1.1.8-p2",
            "1.1.8-p1",
            "1.1.8",
            "1.1.7",
            "1.1.6",
            "1.1.5-p1",
            "1.1.5",
            "1.1.5-beta",
            "1.1.4-p2",
            "1.1.4-p1",
            "1.1.4",
            "1.1.3",
            "1.1.2-p1",
            "1.1.2",
            "1.1.0",
            "1.0.0",
            "1.0.0-beta",
            "1.0.0-alpha",
            "0.12.5",
            "0.12.4",
            "0.12.3",
            "0.12.2",
            "0.12.1",
            "0.12.0",
            "0.12.0-BETA",
            "0.11.0a",
            "0.11.0",
            "0.11.0-RC",
            "0.10.1",
            "0.10.0",
            "0.9.4.2",
            "0.9.4",
            "0.8.3",
            "0.8.2",
            "0.8.1",
            "0.8",
            "0.7.3.2",
            "0.7.3.1",
            "0.7.3",
            "0.7.2",
            "0.7.1",
            "0.7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31007.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.761664038Z",
      "provider": "osv",
      "references": [
        "https://github.com/elabftw/elabftw/releases/tag/4.3.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31007.json",
        "https://github.com/elabftw/elabftw/security/advisories/GHSA-937c-m7p3-775v",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-31007"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1287",
          "CWE-842"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31007.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31007",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491391,
  "published_at": "2022-05-31T19:30:13+00:00"
}