Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3195

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3195
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:45 UTC · Revision 1

Source evidence

CVE-2021-3195

core-osv · Original source

Published 26 Jan 2021, 18:16 UTC

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

osv:CVE-2021-3195
Complete source record
{
  "id": "a44d8d368c2ec22b251a679607b3dc5c476cd7c2c78af6e31a06ab7e66a59902",
  "url": "https://osv.dev/vulnerability/CVE-2021-3195",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3195",
    "summary": "bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions",
    "evidence": "osv:CVE-2021-3195",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3195",
      "aliases": [
        "CVE-2021-3195"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bitcoin/bitcoin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "95ea54ba089610019a74c1176a2c7c0dba144b1c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:bitcoin:bitcoin_core:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.21.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.21.0",
            "v0.21.0rc5",
            "v0.21.0rc4",
            "v0.21.0rc3",
            "v0.21.0rc2",
            "v0.21.0rc1",
            "v0.9.0rc2",
            "noversion",
            "v0.8.0",
            "v0.9.0rc1",
            "v0.8.2",
            "v0.7.1rc1",
            "v0.7.1",
            "v0.8.2rc2",
            "v0.8.2rc3",
            "v0.8.2rc1",
            "v0.8.0rc1",
            "v0.7.0rc3",
            "v0.7.0",
            "v0.7.0rc2",
            "v0.7.0rc1",
            "v0.6.0rc6",
            "v0.6.0",
            "v0.6.1",
            "v0.5.0rc7",
            "v0.5.0",
            "v0.6.1rc2",
            "v0.6.1rc1",
            "v0.6.0rc5",
            "v0.6.0rc4",
            "v0.6.0rc3",
            "v0.4.0",
            "v0.6.0rc2",
            "v0.6.0rc1",
            "v0.5.1rc2",
            "v0.5.1",
            "v0.5.1rc1",
            "v0.5.0rc6",
            "v0.5.0rc5",
            "v0.5.0rc4",
            "v0.5.0rc2",
            "v0.5.0rc1",
            "v0.4.00rc2",
            "v0.4.00rc1",
            "v0.3.24",
            "v0.3.24rc3",
            "v0.3.24rc2",
            "v0.3.24rc1",
            "v0.3.23rc1",
            "v0.3.23",
            "v0.3.22",
            "v0.3.22rc3",
            "v0.3.22rc4",
            "v0.3.22rc2",
            "v0.3.22rc1",
            "v0.3.21",
            "v0.3.21rc",
            "v0.3.20.2_closest",
            "v0.3.20.01_closest",
            "v0.3.20",
            "v0.3.11_notexact",
            "v0.3.8",
            "v0.3.7",
            "v0.3.6",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.1rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3195.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:41.079707473Z",
      "provider": "osv",
      "references": [
        "https://github.com/bitcoin/bitcoin/issues/20866"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-3195",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385883,
  "published_at": "2021-01-26T18:16:28.427+00:00"
}