Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-40849

In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, the account associated with a web services token is vulnerable to being exploited and logged into, resulting in information disclosure (at a minimum) and often escalation of privileges.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-40849
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:49 UTC · Revision 1

Source evidence

CVE-2021-40849

core-osv · Original source

Published 3 Nov 2021, 11:15 UTC

In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, the account associated with a web services token is vulnerable to being exploited and logged into, resulting in information disclosure (at a minimum) and often escalation of privileges.

osv:CVE-2021-40849
Complete source record
{
  "id": "e99c3a0629d58b514975ae78bad6b10c97f1e414869132e5a6184a6b930d98c9",
  "url": "https://osv.dev/vulnerability/CVE-2021-40849",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-40849",
    "summary": "In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, the account associated with a web services token is vulnerable to being exploited and logged into, resulting in information disclosure (at a minimum) and often escalation of privileges.",
    "evidence": "osv:CVE-2021-40849",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-40849",
      "aliases": [
        "CVE-2021-40849"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/maharaproject/mahara",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "84bc4a5c7030470a811a630b242066df098ec273"
                },
                {
                  "introduced": "baa466e351a72541cd7a28d6eb982a1fbc7a428c"
                },
                {
                  "fixed": "d294a69446e795dcbddf4e4929d597968bbdc4ef"
                },
                {
                  "introduced": "359597b32c7afe52339422a91f14256e17b33dfc"
                },
                {
                  "fixed": "0c3426bf91635a3e33c4cda993af52318e123d9a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mahara:mahara:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "20.04.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mahara:mahara:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "20.10.0"
                      },
                      {
                        "fixed": "20.10.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mahara:mahara:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "21.04.0"
                      },
                      {
                        "fixed": "21.04.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "20.10.2_RELEASE",
            "20.04.4_RELEASE",
            "21.04.1_RELEASE",
            "20.10.1_RELEASE",
            "20.04.3_RELEASE",
            "21.04.0_RELEASE",
            "20.10.0_RELEASE",
            "20.04.2_RELEASE",
            "20.04.1_RELEASE",
            "20.04.0_RELEASE",
            "20.04RC2_RELEASE",
            "20.04RC1_RELEASE",
            "1.8RC2_RELEASE",
            "1.8RC1_RELEASE",
            "1.7RC1_RELEASE",
            "1.4.0ALPHA1_RELEASE",
            "1.3.0BETA2_RELEASE",
            "1.3.0BETA1_RELEASE",
            "1.2.0ALPHA3_RELEASE",
            "1.2.0ALPHA2_RELEASE",
            "1.1.0BETA4_RELEASE",
            "1.1.0BETA2_RELEASE",
            "1.1.0ALPHA3_RELEASE",
            "1.1.0ALPHA2_RELEASE",
            "1.1.0ALPHA1_RELEASE",
            "1.0.0BETA2_RELEASE",
            "1.0.0ALPHA2_RELEASE",
            "1.0.0ALPHA1_RELEASE"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40849.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.438571954Z",
      "provider": "osv",
      "references": [
        "https://bugs.launchpad.net/mahara/+bug/1930469",
        "https://mahara.org/interaction/forum/topic.php?id=8949"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:mahara:mahara:21.10.0:rc1:*:*:*:*:*:*",
              "cpe:2.3:a:mahara:mahara:21.10.0:rc2:*:*:*:*:*:*"
            ],
            "vendor_product": "mahara:mahara",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "21.10.0-rc1"
                  },
                  {
                    "last_affected": "21.10.0-rc1"
                  },
                  {
                    "introduced": "21.10.0-rc2"
                  },
                  {
                    "last_affected": "21.10.0-rc2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-40849",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430681,
  "published_at": "2021-11-03T11:15:08.31+00:00"
}