Skip to content
Heist/ feed
Back to feed
Medium

Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005

Type: advisorySources: OSV

The file download facility doesn't sufficiently sanitize file paths in certain situations. This may result in users gaining access to private files that they should not have access to. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-31250
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:49 UTC · Revision 1

Source evidence

Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005

core-osv · Original source

Published 26 Apr 2023, 00:00 UTC

The file download facility doesn't sufficiently sanitize file paths in certain situations. This may result in users gaining access to private files that they should not have access to. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.

osv:CVE-2023-31250
Complete source record
{
  "id": "8ba1180847473a8ce1b23dc3b1dae6b5288c38dfc45937c0bef26674a9283a88",
  "url": "https://osv.dev/vulnerability/CVE-2023-31250",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005",
    "summary": "The file download facility doesn't sufficiently sanitize file paths in certain situations. This may result in users gaining access to private files that they should not have access to. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.",
    "evidence": "osv:CVE-2023-31250",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-31250",
      "aliases": [
        "BIT-drupal-2023-31250",
        "CVE-2023-31250",
        "DRUPAL-CORE-2023-005",
        "GHSA-8849-cv9f-vccm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/drupal/drupal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "497914920385b7016ac9c9367e0198530787adf2"
                },
                {
                  "fixed": "d5d2a01bb6de80b202e141278312ab2d376f3c63"
                },
                {
                  "introduced": "970c1b5cfa946f683de326a3f252b5371a42186a"
                },
                {
                  "fixed": "260b4d16f44ab87794972b3ad3ced896afe640e8"
                },
                {
                  "introduced": "0db8126913ff8f271ef13c24684c0f3402a967f4"
                },
                {
                  "fixed": "47c5f228e18b3a26476800c0baa141b56cc9d71d"
                },
                {
                  "introduced": "2700c5afb6c3936041db413872eea82dc0bd4fe4"
                },
                {
                  "fixed": "13b06fc9c636c051eb1c3349ceb9429a78add4c4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0"
                      },
                      {
                        "fixed": "7.96"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.4"
                      },
                      {
                        "fixed": "9.4.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.5"
                      },
                      {
                        "fixed": "9.5.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0"
                      },
                      {
                        "fixed": "10.0.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.95",
            "9.4.13",
            "9.5.7",
            "10.0.7",
            "9.5.6",
            "10.0.6",
            "7.94",
            "9.4.11",
            "9.5.4",
            "10.0.4",
            "9.5.3",
            "9.4.9",
            "9.5.1",
            "10.0.0",
            "9.5.0",
            "7.93",
            "9.4.8",
            "9.4.6",
            "7.92",
            "9.4.5",
            "9.4.4",
            "7.90",
            "9.4.2",
            "9.4.1",
            "9.4.0",
            "7.89",
            "7.87",
            "7.85",
            "7.84",
            "7.83",
            "7.81",
            "7.79",
            "7.77",
            "7.76",
            "7.71",
            "7.68",
            "7.64",
            "7.61",
            "7.56",
            "7.55",
            "7.54",
            "7.51",
            "7.50",
            "7.43",
            "7.42",
            "7.40",
            "7.37",
            "7.36",
            "7.33",
            "7.30",
            "7.28",
            "7.25",
            "7.23",
            "7.22",
            "7.17",
            "7.15",
            "7.14",
            "7.12",
            "7.10",
            "7.9",
            "7.8",
            "7.7",
            "7.6",
            "7.4",
            "7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31250.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.558159059Z",
      "provider": "osv",
      "references": [
        "https://www.drupal.org/sa-core-2023-005",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31250.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-31250"
      ],
      "provider_metadata": {
        "cna_assigner": "drupal",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "fixed": "7.96"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "fixed": "10.0.8"
                  },
                  {
                    "introduced": "9.5"
                  },
                  {
                    "fixed": "9.5.8"
                  },
                  {
                    "introduced": "9.4"
                  },
                  {
                    "fixed": "9.4.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31250.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-31250",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493132,
  "published_at": "2023-04-26T00:00:00+00:00"
}