Automad
Automad Broken Access Control: unauthenticated exposure of administrator bcrypt password hashes and TOTP secrets via public API endpoint
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0-alpha.1, < 2.0.0-beta.28
Fixed in 2.0.0-beta.28
Mitigation
Upgrade automad to 2.0.0-beta.28 or later.
References
- Vendor advisory github.com/marcantondahmen/automad/security/ad…
Timeline
Days relative to CVE publicationFirst public PoC 5 days after publication; not in CISA KEV. First PoC: lorenzocamilli/CVE-2026-45332-PoC (created 2 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| lorenzocamilli/CVE-2026-45332-PoC | 2 Jun 2026 +5 d | 0 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Automad < 2.0.0-beta.28 - Unauthenticated Admin Password Hash Disclosure | 8 Aug 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /_api/user-collection/create-first-user
- Key headers
Cookie: {var}- Body markers
__csrf__={var}username=dummypassword1=AnyPassword1!password2=AnyPassword1!email=dummy@example.cominapplication/x-www-form-urlencoded- Ports
- 80
- Seen in
- 1 repo: lorenzocamilli/CVE-2026-45332-PoC
- Evidence
- lorenzocamilli/CVE-2026-45332-PoC/PoC.md:137 lorenzocamilli/CVE-2026-45332-PoC/README.md:61
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/_api/user-collection/create-first-user(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-45332 marcantondahmen automad exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/_api/user-collection/create-first-user"; http.header_names; content:"Cookie"; nocase; http.request_body; content:"__csrf__="; http.request_body; content:"username=dummy"; http.request_body; content:"password1=AnyPassword1!"; http.request_body; content:"password2=AnyPassword1!"; http.request_body; content:"email=dummy@example.com"; reference:url,poc.griffinguard.io/cve/CVE-2026-45332; classtype:web-application-attack; sid:9355367; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: marcantondahmen automad exploit attempt (CVE-2026-45332)
id: gg-pocmon-cve-2026-45332-9355367
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-45332. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-45332
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/_api/user-collection/create-first-user'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.45332