Missing Authentication for Critical Function Affecting automad/automad package, versions >=2.0.0-alpha.1, <2.0.0-beta.28


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authentication for Critical Function vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-AUTOMADAUTOMAD-17112517
  • published31 May 2026
  • disclosed27 May 2026
  • creditlorenzocamilli

Introduced: 27 May 2026

NewCVE-2026-45332  (opens in a new tab)
CWE-306  (opens in a new tab)

How to fix?

Upgrade automad/automad to version 2.0.0-beta.28 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authentication for Critical Function via the /_api/user-collection/create-first-user endpoint, which remains publicly accessible after initial setup. An attacker can obtain bcrypt password hashes of all administrator accounts and TOTP secrets by sending a single unauthenticated POST request. This allows for offline brute-force or dictionary attacks against administrator credentials and, in certain versions, bypassing two-factor authentication. The response also discloses the absolute filesystem path to the configuration directory.

CVSS Base Scores

version 4.0
version 3.1