Summary
CVE-2026-100672 is an unauthenticated information disclosure vulnerability in the Comments plugin for Grav CMS (grav-plugin-comments), versions before 1.2.11. An admin-facing handler returns comment data as JSON without validating that the requester is actually authenticated, allowing remote attackers to retrieve recent comment submissions, including commenter email addresses and absolute server filesystem paths. The issue is rated HIGH severity.
Technical details
- Root cause: The plugin’s admin handler checks
isAdmin()before serving data, but this function only confirms that the admin service is registered for the current route — it does not verify that the visitor has actually authenticated. The handler outputs JSON and callsexit()during the plugin execution stage, before the classic Admin plugin would normally render its login screen. - Trigger conditions: The site must be running the classic Grav Admin plugin with the Comments plugin enabled (the default configuration). Sites running the newer Grav 2.0 "Admin Next" stack (admin2 + api) are not affected via this specific code path.
- Attack vector: Network — an unauthenticated attacker sends a simple HTTP GET request to
/admin/comments/page:<n>with no credentials or prior interaction required. - Impact: Disclosure of all comments submitted in the last 7 days, including commenter email addresses and the absolute server filesystem path of the underlying data file, which can aid further reconnaissance or targeted attacks.
Affected software
- getgrav grav-plugin-comments — all versions before 1.2.11
- Requires the classic Grav Admin plugin with the Comments plugin enabled
Severity
- CVSS 4.0: 8.7 (HIGH) —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.1: 7.5 (HIGH) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade the Comments plugin to version 1.2.11 or later, which requires an authenticated user holding
admin.commentsoradmin.superpermissions before returning data, and removes the absolute filepath from the response. - If no patch can be applied immediately: Disable the Comments plugin’s admin endpoint or restrict access to
/admin/comments/*at the web server or WAF layer until the upgrade can be completed; consider migrating to the Grav 2.0 Admin Next (admin2 + api) stack, which is not affected via this path.

