High

Automad has Broken Access Control: Unauthenticated exposure of administrator bcrypt password hashes and TOTP secrets via public API endpoint

  • Disclosed: 27.05.2026
  • Updated: 11.10.2026 10:22

Summary

A Broken Access Control vulnerability allows an unauthenticated attacker to retrieve the bcrypt password hash of every administrator account with a single POST request. The /_api/user-collection/create-first-user setup endpoint remains publicly accessible once initial configuration is complete and returns full serialized user data in the JSON response body.

Details

Affected version:

  • bcrypt hash exposure: >= 2.0.0-alpha.1, <= 2.0.0-beta.27
  • TOTP secret exposure: only 2.0.0-beta.27

Impact

Any Automad installation reachable over HTTP is at risk no prior account, credentials, or special network position are required to exploit this vulnerability.

Potential impacts include:

  • Credential hash exposure enabling offline brute-force or dictionary attacks: bcrypt password hashes for every administrator are returned in a single unauthenticated response. While hashes are not plaintext passwords, the salt embedded in the hash is not secret it is visible in the response. Administrators using common or weak passwords are at direct risk of having their plaintext password recovered.
  • TOTP secret exposure: The TOTP secret is included in the response starting with version 2.0.0-beta.27, the first release introducing TOTP-based two-factor authentication. If an attacker successfully recovers a plaintext password, two-factor authentication can be bypassed entirely. Only version 2.0.0-beta.27 is affected by this specific issue.
  • Information disclosure: The response discloses the absolute filesystem path to the configuration directory. While the directory structure is publicly documented, the absolute server path may expose environment-specific information.

Remediation

Update to version 2.0.0-beta.28 or later.

This issue was reported privately and fixed prior to public disclosure.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package automad/automad >= 2.0.0-alpha.1, < 2.0.0-beta.28 2.0.0-beta.28

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-200, CWE-306
Platform
Composer
Package
automad/automad
Disclosed
27.05.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-xm76-r88j-vm3g - CC BY 4.0

Vulnerability history: automad/automad

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
02.2023 05.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 2
  • Low 1

Disclosures per year

  1. 2023: 3
  2. 2024: 1
  3. 2025: 0
  4. 2026: 1
  1. Automad has Broken Access Control: Unauthenticated exposure of administrator bcrypt password hashes and TOTP secrets via public API endpoint this entry
    High · 7.5 CVE-2026-45332 >= 2.0.0-alpha.1, < 2.0.0-beta.28 2.0.0-beta.28
  2. High · 6.8 CVE-2024-40400 < 2.0.0-alpha.5 2.0.0-alpha.5
  3. Medium · 4.3 CVE-2023-7038 < 2.0.0-alpha.1 2.0.0-alpha.1
  4. Low · 3.7 CVE-2023-7037 <= 1.10.9 no fix
  5. Medium · 4.8 CVE-2021-37502 < 1.8.0 1.8.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.