CVE-2026-61454 Grav before 2.0.4 Information Disclosure via __GRAV_CONFIG__
Unauthenticated attackers can access sensitive configuration details and version numbers via a global JavaScript variable, facilitating targeted attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-61454?
CVE-2026-61454 is a high-severity vulnerability in getgrav grav, published on 11 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Grav Admin2 plugin (getgrav/grav-plugin-admin2) before 2.0.4 embeds a global JavaScript variable window.__GRAV_CONFIG__ in the Admin2 SPA bootstrap page at /grav/admin (and its subroutes). This object is returned in every unauthenticated response and discloses the server URL, API prefix, admin base path, runtime environment type, and exact Grav and Admin2 version numbers, allowing an unauthenticated attacker to fingerprint the deployment and select version-specific exploits without reconnaissance.
Weakness: CWE-200
Which versions are affected by CVE-2026-61454?
How do I fix CVE-2026-61454?
No fix has been published for CVE-2026-61454 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-61454 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61454 exists.
Sources
Also known as CVE-2026-61692, GHSA-pfjq-chp8-3vgh, GHSA-q4j8-3jf6-pjvp.