Skip to content
Heist/ feed
Back to feed
High

File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory

Type: advisorySources: OSV

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.61.0, when a user creates a public share link for a directory, the withHashFile middleware in http/public.go uses filepath.Dir(link.Path) to compute the BasePathFs root. This sets the filesystem root to the parent directory instead of the shared directory itself, allowing anyone with the share link to browse and download files from all sibling directories. This issue has been patched in version 2.61.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-28492
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:30 UTC · Revision 1

Source evidence

File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory

core-osv · Original source

Published 5 Mar 2026, 21:06 UTC

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.61.0, when a user creates a public share link for a directory, the withHashFile middleware in http/public.go uses filepath.Dir(link.Path) to compute the BasePathFs root. This sets the filesystem root to the parent directory instead of the shared directory itself, allowing anyone with the share link to browse and download files from all sibling directories. This issue has been patched in version 2.61.0.

osv:CVE-2026-28492
Complete source record
{
  "id": "83a4f66cf17bfef88e9c94789a625cfc9afe0cc749665b0832d70e15c82ef75d",
  "url": "https://osv.dev/vulnerability/CVE-2026-28492",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory",
    "summary": "File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.61.0, when a user creates a public share link for a directory, the withHashFile middleware in http/public.go uses filepath.Dir(link.Path) to compute the BasePathFs root. This sets the filesystem root to the parent directory instead of the shared directory itself, allowing anyone with the share link to browse and download files from all sibling directories. This issue has been patched in version 2.61.0.",
    "evidence": "osv:CVE-2026-28492",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-28492",
      "aliases": [
        "CVE-2026-28492",
        "GHSA-mr74-928f-rw69",
        "GO-2026-4585"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/filebrowser/filebrowser",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e706391934d79ceca7f639eccda96df4dec55f48"
                },
                {
                  "fixed": "148b3c59422401ff00f255ae3044282d7a42192b"
                },
                {
                  "fixed": "31194fb57a5b92e7155219d7ec7273028fcb2e83"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:filebrowser:filebrowser:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.61.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "31194fb57a5b92e7155219d7ec7273028fcb2e83"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "148b3c59422401ff00f255ae3044282d7a42192b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.61.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.60.0",
            "v2.59.0",
            "v2.58.0",
            "v2.57.1",
            "v2.57.0",
            "v2.56.0",
            "v2.55.0",
            "v2.54.0",
            "v2.53.1",
            "v2.53.0",
            "v2.52.0",
            "v2.51.2",
            "v2.51.1",
            "v2.51.0",
            "v2.50.0",
            "v2.49.0",
            "v2.48.2",
            "v2.48.1",
            "v2.48.0",
            "v2.47.0",
            "v2.46.1",
            "v2.46.0",
            "v2.45.3",
            "v2.45.2",
            "v2.45.1",
            "v2.45.0",
            "v2.44.2",
            "v2.44.1",
            "v2.44.0",
            "v2.43.0",
            "v2.42.5",
            "v2.42.4",
            "v2.42.3",
            "v2.42.2",
            "v2.42.1",
            "v2.42.0",
            "v2.41.0",
            "v2.40.2",
            "v2.40.1",
            "v2.40.0",
            "v2.39.0",
            "v2.38.0",
            "v2.37.0",
            "v2.36.3",
            "v2.36.2",
            "v2.36.1",
            "v2.36.0",
            "v2.35.0",
            "v2.34.2",
            "v2.34.1",
            "v2.34.0",
            "v2.33.10",
            "v2.33.9",
            "v2.33.8",
            "v2.33.7",
            "v2.33.6",
            "v2.33.5",
            "v2.33.4",
            "v2.33.3",
            "v2.33.2",
            "v2.33.1",
            "v2.33.0",
            "v2.32.3",
            "v2.32.2",
            "v2.32.1",
            "v2.32.0",
            "v2.31.2",
            "v2.31.1",
            "v2.31.0",
            "v2.30.0",
            "v2.29.0",
            "v2.28.0",
            "v2.27.0",
            "v2.26.0",
            "v2.25.0",
            "v2.24.2",
            "v2.24.1",
            "v2.24.0",
            "v2.23.0",
            "v2.22.4",
            "v2.22.3",
            "v2.22.2",
            "v2.22.1",
            "v2.22.0",
            "v2.21.1",
            "v2.21.0",
            "v2.20.1",
            "v2.20.0",
            "v2.19.0",
            "v2.18.0",
            "v2.17.2",
            "v2.17.1",
            "v2.17.0",
            "v2.16.1",
            "v2.16.0",
            "v2.15.0",
            "v2.14.1",
            "v2.14.0",
            "v2.13.0",
            "v2.12.1",
            "v2.12.0",
            "v2.11.0",
            "v2.10.0",
            "v2.9.0",
            "v2.8.0",
            "v2.7.0",
            "v2.6.2",
            "v2.6.1",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.16",
            "v2.0.15",
            "v2.0.14",
            "v2.0.13",
            "v2.0.12",
            "v2.0.11",
            "v2.0.10",
            "v2.0.9",
            "v2.0.8",
            "v2.0.7",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28492.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.784024771Z",
      "provider": "osv",
      "references": [
        "https://github.com/filebrowser/filebrowser/releases/tag/v2.61.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28492.json",
        "https://github.com/filebrowser/filebrowser/security/advisories/GHSA-mr74-928f-rw69",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-28492",
        "https://github.com/filebrowser/filebrowser/commit/31194fb57a5b92e7155219d7ec7273028fcb2e83"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28492.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-28492",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498462,
  "published_at": "2026-03-05T21:06:21.185+00:00"
}