/

CVE-2026-25231

Severity:

HIGH RISK

(7.5)

Missing Authorization / Access Control in FileRise Web File

CVE-2026-25231

Analyzed

Vulnerability type

Category:

Missing Authorization / Access Control

CWE:

CWE-284, CWE-552

Impact:

Unauthorized File Disclosure

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

FileRise, a self-hosted web file manager and WebDAV server, allows unauthenticated users to read files stored under the /uploads directory in versions prior to 3.3.0.

Because access control is not enforced on this directory, any user who can guess or discover a file path may retrieve potentially sensitive data without authentication.

Affected context

This vulnerability affects FileRise instances (pre-3.3.0) that expose the /uploads directory over HTTP/WebDAV without a protective access control layer.

It is most relevant when users upload files that they assume are private or require authentication to access.

Environments with predictable naming schemes, shared links, or directory listings are at higher risk, but even without those, path guessing or information leakage from logs and references can make access possible.

Exploit preconditions

  • Attack surface: Publicly reachable HTTP/WebDAV endpoints of the FileRise instance
  • Required access: Network access to the FileRise server (no prior authentication needed)
  • Trigger point: Direct HTTP/WebDAV requests to paths under /uploads (e.g., /uploads/<filename>)
  • Why exploitation is possible: The application fails to enforce authentication and authorization checks on the /uploads directory, treating uploaded content as publicly readable resources rather than protected assets.

Why this happens

The core issue is a missing authorization control on a sensitive directory, matching CWE-284: Improper Access Control and CWE-552: Files or Directories Accessible to External Parties.

The design or configuration allows any HTTP client to fetch files from /uploads without verifying the user's identity or permissions.

Abstractly, this reflects an insecure pattern where user-generated or sensitive content is stored in a web-accessible location but is not bound to any access-control policy at retrieval time.

Potential impact

  • Exposure of sensitive or private documents uploaded by users
  • Leakage of personally identifiable information (PII) or business-confidential data
  • Disclosure of temporary files that may contain tokens, configuration fragments, or diagnostic information
  • Privacy violations and potential regulatory compliance issues (e.g., data protection obligations)
  • Information disclosure that could aid further attacks (e.g., reconnaissance for phishing or social engineering)

General mitigation guidance

Effective mitigation typically focuses on enforcing robust access control around uploaded content and reducing direct exposure of storage paths:

  • Apply authentication and authorization checks before serving any file under upload directories.
  • Use non-web-accessible storage locations for uploaded files, serving them through controlled application handlers instead of direct static file access.
  • Associate uploads with an owning user or group and verify permissions on every file retrieval request.
  • Use unpredictable file identifiers or randomised paths in addition to access control to reduce the impact of path guessing.
  • Limit the sensitivity of data stored in publicly reachable directories, and clearly document which paths are intended to be public.

How teams detect issues like this

Detection can leverage both code-level and runtime signals:

  • Static analysis / code review:
  • Flag routes or middleware that map /uploads (or similar) directly to the filesystem without authorization checks.
  • Identify use of static file serving mechanisms that bypass authentication logic.
  • Review configuration files (e.g., for reverse proxies or web servers) that expose upload paths as public directories.
  • Dynamic / operational monitoring:
  • Monitor access logs for repeated requests to /uploads paths, especially from unknown or unauthenticated clients.
  • Use web application scanners configured to probe common upload directories for accessible content.
  • Automated security testing tools, including DAST and SAST, can be integrated into CI/CD to surface unauthenticated file-access paths systematically.

Sources

SourceLink
github.comgithub.com/error311/FileRise/releases/tag/v3.3.0
github.comgithub.com/error311/FileRise/security/advisories/GHSA-hv99-77cw-hvpr

Frequently asked

questions

Yes. Any remote user who can reach the FileRise HTTP/WebDAV interface can attempt to access files in the /uploads directory without authenticating, if they know or can guess file paths.

No. The vulnerability is explicitly unauthenticated: access control is not enforced on the affected directory, so credentials are not required.

The most robust pattern is to remove direct public exposure of upload directories and require all file reads to pass through application logic that enforces authentication and authorization based on the file owner and intended access policy.

Adopt a security-by-default design where no file or directory is publicly accessible unless explicitly intended, enforce centralized authorization checks for all resource access, review web server and application routing configurations for static directory exposure, and include automated tests that verify private content is not retrievable without proper authentication.

Find out what's already
exploitable in your codebase.