CVE-2026-100672: Missing Authentication for Critical Function in getgrav grav
The Comments plugin (getgrav/grav-plugin-comments) for Grav CMS through version 1.2.10 registers an admin handler that returns comment data as JSON without any authentication check. The handler branches on isAdmin(), which only indicates that the admin service is registered on the current route rather than that the visitor is authenticated, and it echoes the JSON and calls exit() during the plugins stage, before the classic Admin plugin would render its login screen. On a site using the classic Admin plugin with Comments enabled (the default), an unauthenticated remote attacker can request /admin/comments/page:<n> (e.g. page:0.001) and retrieve every comment from the last 7 days, including each commenter's email address and the absolute server filesystem path of the data file. Sites running the Grav 2.0 Admin Next stack (admin2 + api) are not affected via this path. The issue is fixed in 1.2.11, which requires an authenticated user with admin.comments or admin.super and removes the absolute filePath from the response.
AI Analysis
Technical Summary
The Comments plugin (getgrav/grav-plugin-comments) for Grav CMS up to version 1.2.10 registers an admin handler that returns comment data as JSON without proper authentication. The handler's access control relies on isAdmin(), which only checks if the admin service is registered on the route, not if the user is authenticated. Consequently, unauthenticated attackers can access the endpoint /admin/comments/page:<n> to retrieve all comments from the last 7 days, including email addresses and absolute server filesystem paths of comment data files. This occurs before the classic Admin plugin renders its login screen, allowing data exposure. The vulnerability is resolved in version 1.2.11 by enforcing authentication with admin.comments or admin.super permissions and removing the absolute file path from the response. Grav 2.0 Admin Next stack (admin2 + api) is not vulnerable via this path.
Potential Impact
Unauthenticated remote attackers can access sensitive comment data, including commenters' email addresses and absolute server file paths, potentially leading to privacy violations and information disclosure about the server's filesystem structure. This exposure could facilitate further targeted attacks or reconnaissance. The vulnerability affects sites using the classic Admin plugin with Comments enabled and Grav CMS versions before 1.2.11. Sites using Grav 2.0 Admin Next stack are not impacted by this issue.
Mitigation Recommendations
Upgrade the Comments plugin to version 1.2.11 or later, which requires authenticated users with admin.comments or admin.super permissions to access comment data and removes absolute file path information from responses. This patch effectively mitigates the vulnerability. No additional action is required for sites running the Grav 2.0 Admin Next stack, as they are not affected by this issue.
CVE-2026-100672: Missing Authentication for Critical Function in getgrav grav
Description
The Comments plugin (getgrav/grav-plugin-comments) for Grav CMS through version 1.2.10 registers an admin handler that returns comment data as JSON without any authentication check. The handler branches on isAdmin(), which only indicates that the admin service is registered on the current route rather than that the visitor is authenticated, and it echoes the JSON and calls exit() during the plugins stage, before the classic Admin plugin would render its login screen. On a site using the classic Admin plugin with Comments enabled (the default), an unauthenticated remote attacker can request /admin/comments/page:<n> (e.g. page:0.001) and retrieve every comment from the last 7 days, including each commenter's email address and the absolute server filesystem path of the data file. Sites running the Grav 2.0 Admin Next stack (admin2 + api) are not affected via this path. The issue is fixed in 1.2.11, which requires an authenticated user with admin.comments or admin.super and removes the absolute filePath from the response.
CVSS v4.0
Score 8.7high
Affected software
getgrav
grav
pkg:github/getgrav/grav-plugin-commentsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Comments plugin (getgrav/grav-plugin-comments) for Grav CMS up to version 1.2.10 registers an admin handler that returns comment data as JSON without proper authentication. The handler's access control relies on isAdmin(), which only checks if the admin service is registered on the route, not if the user is authenticated. Consequently, unauthenticated attackers can access the endpoint /admin/comments/page:<n> to retrieve all comments from the last 7 days, including email addresses and absolute server filesystem paths of comment data files. This occurs before the classic Admin plugin renders its login screen, allowing data exposure. The vulnerability is resolved in version 1.2.11 by enforcing authentication with admin.comments or admin.super permissions and removing the absolute file path from the response. Grav 2.0 Admin Next stack (admin2 + api) is not vulnerable via this path.
Potential Impact
Unauthenticated remote attackers can access sensitive comment data, including commenters' email addresses and absolute server file paths, potentially leading to privacy violations and information disclosure about the server's filesystem structure. This exposure could facilitate further targeted attacks or reconnaissance. The vulnerability affects sites using the classic Admin plugin with Comments enabled and Grav CMS versions before 1.2.11. Sites using Grav 2.0 Admin Next stack are not impacted by this issue.
Mitigation Recommendations
Upgrade the Comments plugin to version 1.2.11 or later, which requires authenticated users with admin.comments or admin.super permissions to access comment data and removes absolute file path information from responses. This patch effectively mitigates the vulnerability. No additional action is required for sites running the Grav 2.0 Admin Next stack, as they are not affected by this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-26T02:34:55.635Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab7c9a9f7a7c5410652fd43
Added to database: 09/26/2026, 13:33:29 UTC
Last enriched: 09/26/2026, 13:48:54 UTC
Last updated: 09/27/2026, 01:57:11 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.