/

CVE-2026-35607

Severity:

HIGH RISK

(8.1)

Improper Privilege Management in File Browser Proxy

CVE-2026-35607

Analyzed

Vulnerability type

Category:

Improper Privilege Management

CWE:

CWE-269

Impact:

Privilege Escalation and Unauthorized Command Execution

Severity:

HIGH RISK

(8.1)

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

File Browser versions prior to 2.63.1 incorrectly grant elevated execute and command permissions to users auto-created through the proxy authentication handler.

This allows newly provisioned proxy-auth users to inherit execution capabilities from global defaults, even though self-registered users were explicitly restricted, potentially enabling unauthorized command execution through the web interface.

Affected context

The issue appears in File Browser deployments that:

  • Use proxy authentication to auto-create users on first successful login
  • Rely on global permission defaults that include execute/command capabilities
  • Assume that automatically provisioned accounts will not be granted execution rights

It specifically affects environments where proxy-auth based users are meant to be as restricted as self-registered users, but instead receive more powerful permissions due to inconsistent permission initialization logic.

Exploit preconditions

  • Attack surface: File Browser web interface accessed via a configured proxy authentication mechanism.
  • Required access: Ability to authenticate successfully through the upstream proxy (e.g., valid SSO, reverse proxy, or identity provider account).
  • Trigger point: First login via proxy auth that causes File Browser to auto-create a local user record.
  • Why exploitation is possible: The proxy auth handler does not strip execute and command permissions during auto-provisioning, so new accounts inherit permissive global defaults despite the intention to restrict automatically created users.

Why this happens

The vulnerability stems from inconsistent application of permission hardening logic between different user creation paths.

After a change to prevent self-registered users from inheriting execute/command permissions, the equivalent restriction was not applied to the proxy auth auto-provisioning code path.

This aligns with CWE-269: Improper Privilege Management, where authorization rules are not uniformly enforced, leading to users being created with more privileges than intended due to discrepancies in how defaults are applied across authentication handlers.

Potential impact

  • Newly created proxy-auth users may execute server-side commands exposed through File Browser's interface.
  • Users can potentially manipulate files with elevated capabilities beyond what administrators intended for automatically provisioned accounts.
  • Attackers with proxy-auth credentials can leverage the interface as a command execution channel within the File Browser host environment.
  • Increased blast radius in case of account compromise, as accounts are more privileged than policy assumes.

General mitigation guidance

Mitigation typically involves ensuring that all user provisioning paths apply a consistent, least-privilege permission model:

  • Align permission initialization for proxy-auth users with self-signup users, avoiding inheritance of broad global defaults for execute/command abilities.
  • Define conservative default roles that exclude command execution, and require explicit administrative action to grant elevated capabilities.
  • Centralize permission assignment logic so that any new authentication or provisioning mechanism reuses the same hardened defaults.
  • Regularly review authorization policies and role configurations to ensure they reflect the intended trust level for automatically created accounts.

How teams detect issues like this

Detection can focus on both configuration and behavioral indicators:

  • Review code and configuration for distinct user creation paths (signup vs proxy auth) and verify they share consistent permission initialization.
  • Use static analysis or policy checks to flag locations where user roles/permissions are derived from global defaults without explicit hardening.
  • Monitor audit logs for newly created proxy-auth users and inspect their granted permissions, especially execute/command capabilities.
  • Implement automated configuration audits that periodically compare intended role definitions against actual permissions on provisioned accounts.

Sources

SourceLink
github.comgithub.com/filebrowser/filebrowser/pull/5890
github.comgithub.com/filebrowser/filebrowser/security/advisories/GHSA-7526-j432-6ppp

Frequently asked

questions

Yes, in environments where File Browser is exposed through a proxy authentication layer, any user who can authenticate via the proxy and trigger auto-provisioning can be affected, assuming they receive unintended execute/command permissions.

An attacker needs valid access to the upstream proxy/SSO or another identity provider integrated with File Browser. They do not need prior local File Browser credentials if the instance auto-creates accounts on first proxy-auth login.

Ensure that all auto-provisioned users, regardless of authentication method, are created with least-privilege roles that exclude command execution by default. Permission hardening should be centralized so any user creation path enforces the same restricted baseline.

Treat authorization and permission assignment as a shared service across all authentication flows, apply the principle of least privilege to default roles, and include automated tests or policy checks that verify parity of permissions across different user creation mechanisms.

Find out what's already
exploitable in your codebase.