{"id":"CVE-2026-33638","aliases":["CVE-2026-33638","GHSA-m983-7426-5hrj","GO-2026-4838"],"related":[],"kind":"vulnerability","state":"published","title":"Ech0 authenticated user-list exposed data via public `/api/allusers` endpoint","summary":"Ech0 is an open-source, self-hosted publishing platform for personal idea sharing. Prior to version 4.2.0, `GET /api/allusers` is mounted as a public endpoint and returns user records without authentication. This allows remote unauthenticated user enumeration and exposure of user profile metadata. A fix is available in v4.2.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Ech0 is an open-source, self-hosted publishing platform for personal idea sharing. Prior to version 4.2.0, `GET /api/allusers` is mounted as a public endpoint and returns user records without authentication. This allows remote unauthenticated user enumeration and exposure of user profile metadata. A fix is available in v4.2.0.","source":"cvelist"},{"lang":"en","text":"### Summary\nA public access-control flaw allows unauthenticated users to retrieve the full user list from `GET /api/allusers`. This exposes user profile metadata to anyone who can reach the application and enables remote user enumeration.\n\n### Details\nThe vulnerable route is registered as a public endpoint:\n\n- `internal/router/user.go:17`\n  - `appRouterGroup.PublicRouterGroup.GET(\"/allusers\", h.UserHandler.GetAllUsers())`\n\nHowever, the handler appears to have been intended as an authenticated endpoint:\n\n- `internal/handler/user/user.go:177-185`\n  - API annotations indicate an authentication requirement via `@Security ApiKeyAuth`\n\nThis creates a mismatch between the documented security model and the actual routing configuration. As a result, requests to `GET /api/allusers` succeed without authentication and return user records, including profile metadata such as usernames, email addresses, role-related flags, avatar values, and locale information.\n\nA negative control against another endpoint that correctly requires authentication further supports that this exposure is unintended: `GET /api/user` returns `401 Unauthorized` when no token is supplied, while `GET /api/allusers` remains publicly accessible.\n\n### Impact\n- **Type:** Access control bypass / unauthenticated data exposure\n- **Who is impacted:** Any deployment exposing the API to untrusted networks, and all users whose profile metadata is returned by the endpoint\n- **Security impact:** Enables remote user enumeration and disclosure of user profile metadata, which may facilitate account reconnaissance, phishing, and targeted credential attacks\n- **Attack preconditions:** None beyond network access to the affected API endpoint","format":"markdown","source":"ghsa"},{"lang":"en","text":"Ech0 authenticated user-list exposed data via public `/api/allusers` endpoint in github.com/lin-snow/ech0","format":"markdown","source":"go"},{"lang":"es","text":"Ech0 es una plataforma de publicación de código abierto y autoalojada para compartir ideas personales. Antes de la versión 4.2.0, `GET /api/allusers` está montado como un endpoint público y devuelve registros de usuario sin autenticación. Esto permite la enumeración remota de usuarios no autenticados y la exposición de metadatos de perfil de usuario. Una solución está disponible en la v4.2.0.","source":"nvd"}],"published":"2026-03-24T22:25:03.000Z","modified":"2026-06-17T10:37:49.680Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"< 4.2.0","status":"affected"}],"vendor":"lin-snow","product":"Ech0","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.8-0.20260322121226-acbf1fd71011"}],"ecosystem":"Go","package":"github.com/lin-snow/ech0","purl":"pkg:golang/github.com/lin-snow/ech0","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.8-0.20260322121226-acbf1fd71011"}],"ecosystem":"Go","package":"github.com/lin-snow/ech0","purl":"pkg:golang/github.com/lin-snow/ech0","source":"go"},{"ranges":[{"status":"affected","fixed":"4.2.0"}],"vendor":"ech0","product":"ech0","cpe":"cpe:2.3:a:ech0:ech0:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/lin-snow/Ech0/security/advisories/GHSA-m983-7426-5hrj","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/lin-snow/Ech0/commit/acbf1fd71011e6b9e1e6a911128056a19862f681","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/lin-snow/Ech0/releases/tag/v4.2.0","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33638","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/lin-snow/Ech0","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-27T20:18:24.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33638","url":"https://www.cve.org/CVERecord?id=CVE-2026-33638","licence":"CVE Terms of Use","modified":"2026-03-27T20:19:07.459Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m983-7426-5hrj","url":"https://github.com/advisories/GHSA-m983-7426-5hrj","licence":"CC-BY-4.0","modified":"2026-03-30T20:33:40.415Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4838","url":"https://pkg.go.dev/vuln/GO-2026-4838","licence":"CC-BY-4.0","modified":"2026-03-26T21:04:00.304Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33638","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33638","licence":"Public domain","modified":"2026-06-17T10:37:49.680Z"}],"updatedAt":"2026-11-25T22:59:17.165Z","epss":{"score":0.01046,"percentile":0.65113,"date":"2026-12-01T12:00:22.000Z"}}