{"id":"CVE-2026-45332","aliases":["CVE-2026-45332","GHSA-xm76-r88j-vm3g"],"related":[],"kind":"vulnerability","state":"published","title":"Automad Broken Access Control: unauthenticated exposure of administrator bcrypt password hashes and TOTP secrets via public API endpoint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\n 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.  \n\n### Details\n\nAffected version: \n - bcrypt hash exposure: `>= 2.0.0-alpha.1, <= 2.0.0-beta.27`\n - TOTP secret exposure: only `2.0.0-beta.27`\n\n### Impact\n\nAny Automad installation reachable over HTTP is at risk no prior account, credentials, or special network position are required to exploit this vulnerability.\n\nPotential impacts include:\n\n- **Credential hash exposure enabling offline brute-force or dictionary attacks:** \n  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.\n- **TOTP secret exposure:** \n  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.*  \n- **Information disclosure:** \n  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.\n\n## Remediation\n\nUpdate to version 2.0.0-beta.28 or later.\n\nThis issue was reported privately and fixed prior to public disclosure.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Automad es un sistema de gestión de contenido de archivo plano y un motor de plantillas. Desde 2.0.0-alpha.1 hasta 2.0.0-beta.27, una vulnerabilidad de control de acceso roto permite a un atacante no autenticado recuperar el hash de contraseña bcrypt de cada cuenta de administrador con una única solicitud POST. El endpoint de configuración /_api/user-collection/create-first-user permanece públicamente accesible una vez que la configuración inicial está completa y devuelve datos de usuario serializados completos en el cuerpo de la respuesta JSON. Esta vulnerabilidad se corrige en 2.0.0-beta.28.","source":"nvd"}],"published":"2026-05-27T21:32:31.000Z","modified":"2026-10-26T13:10:00.140Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-200","CWE-306"],"affected":[{"ranges":[{"version":">= 2.0.0-alpha.1, < 2.0.0-beta.28","status":"affected"}],"vendor":"marcantondahmen","product":"automad","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0-alpha.1","status":"affected","fixed":"2.0.0-beta.28"}],"ecosystem":"Packagist","package":"automad/automad","purl":"pkg:composer/automad/automad","source":"ghsa"}],"references":[{"url":"https://github.com/marcantondahmen/automad/security/advisories/GHSA-xm76-r88j-vm3g","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45332","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/marcantondahmen/automad","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-05-30T02:09:45.441Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45332","url":"https://www.cve.org/CVERecord?id=CVE-2026-45332","licence":"CVE Terms of Use","modified":"2026-05-30T02:10:27.586Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xm76-r88j-vm3g","url":"https://github.com/advisories/GHSA-xm76-r88j-vm3g","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:48.035Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45332","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45332","licence":"Public domain","modified":"2026-10-26T13:10:00.140Z"}],"updatedAt":"2026-11-25T22:59:23.010Z","epss":{"score":0.01417,"percentile":0.7356,"date":"2026-12-01T12:00:22.000Z"}}