Skip to content
Heist/ feed
Back to feed
High

CryptPad 2FA Bypass Vulnerability

Type: advisorySources: OSV

CryptPad is a collaboration suite. Prior to version 2025.3.0, enforcement of Two-Factor Authentication (2FA) in CryptPad can be trivially bypassed, due to weak implementation of access controls. An attacker that compromises a user's credentials can gain access to the victim's account, even if the victim has 2FA set up. This is due to 2FA not being enforced if the path parameter is not 44 characters long, which can be bypassed by simply URL encoding a single character in the path. This issue has been patched in version 2025.3.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-49591
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:31 UTC · Revision 1

Source evidence

CryptPad 2FA Bypass Vulnerability

core-osv · Original source

Published 18 Jun 2025, 22:15 UTC

CryptPad is a collaboration suite. Prior to version 2025.3.0, enforcement of Two-Factor Authentication (2FA) in CryptPad can be trivially bypassed, due to weak implementation of access controls. An attacker that compromises a user's credentials can gain access to the victim's account, even if the victim has 2FA set up. This is due to 2FA not being enforced if the path parameter is not 44 characters long, which can be bypassed by simply URL encoding a single character in the path. This issue has been patched in version 2025.3.0.

osv:CVE-2025-49591
Complete source record
{
  "id": "62b273f8f3d84e3bb62b3019ce85e9fd939f9e0c93a99cceccded76c10cd7700",
  "url": "https://osv.dev/vulnerability/CVE-2025-49591",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CryptPad 2FA Bypass Vulnerability",
    "summary": "CryptPad is a collaboration suite. Prior to version 2025.3.0, enforcement of Two-Factor Authentication (2FA) in CryptPad can be trivially bypassed, due to weak implementation of access controls. An attacker that compromises a user's credentials can gain access to the victim's account, even if the victim has 2FA set up. This is due to 2FA not being enforced if the path parameter is not 44 characters long, which can be bypassed by simply URL encoding a single character in the path. This issue has been patched in version 2025.3.0.",
    "evidence": "osv:CVE-2025-49591",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-49591",
      "aliases": [
        "CVE-2025-49591",
        "GHSA-xq5x-wgcm-3p33"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cryptpad/cryptpad",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "52a4d926d902eb4f667cab49b14875174373ef80"
                },
                {
                  "fixed": "0c5d4bbf5e5206d53470ea86a664fa2b703fb611"
                },
                {
                  "fixed": "f624f9d457d36040f57c7598d98a8b9461b79837"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:cryptpad:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2025.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0c5d4bbf5e5206d53470ea86a664fa2b703fb611"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f624f9d457d36040f57c7598d98a8b9461b79837"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2024.6.0",
            "2024.3.1",
            "2024.3.0",
            "5.7.0",
            "5.6.0",
            "5.5.0",
            "5.4.0",
            "5.3.0",
            "5.2.1",
            "5.2.0",
            "4.8.0",
            "4.7.0",
            "4.6.0",
            "4.5.0",
            "4.4.0",
            "3.23.2",
            "3.23.1",
            "3.23.0",
            "3.15.0",
            "3.20.1",
            "3.18.1",
            "3.18.0",
            "3.14.0",
            "3.10.0",
            "3.9.0",
            "3.8.0",
            "3.7.0",
            "3.3.0",
            "2.22.0",
            "2.21.0",
            "2.19.0",
            "2.17.06",
            "2.17.05",
            "2.17.0",
            "1.24.0",
            "1.23.0",
            "1.22.0",
            "1.21.0",
            "1.20.0",
            "1.18.0",
            "1.12.0",
            "1.11.0",
            "1.9.0",
            "1.8.0",
            "1.4.0",
            "1.3.0",
            "1.2.0",
            "1.1.1",
            "1.1.0",
            "0.3.0",
            "0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49591.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.441219828Z",
      "provider": "osv",
      "references": [
        "https://github.com/cryptpad/cryptpad/blob/15c81aa8ccb737a9a1167481f4a699af331364bb/lib/http-worker.js#L356-L364",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49591.json",
        "https://github.com/cryptpad/cryptpad/security/advisories/GHSA-xq5x-wgcm-3p33",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-49591",
        "https://github.com/cryptpad/cryptpad/commit/0c5d4bbf5e5206d53470ea86a664fa2b703fb611",
        "https://github.com/cryptpad/cryptpad/commit/f624f9d457d36040f57c7598d98a8b9461b79837"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284",
          "CWE-287"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49591.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-49591",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509863,
  "published_at": "2025-06-18T22:15:16.89+00:00"
}