CVE-2026-76846: Insufficiently Protected Credentials in getgrav grav
Grav versions prior to 2.0.16 have a vulnerability in the Twig sandbox configuration where the default denylist is incomplete. This allows attackers with page-edit permissions to access sensitive system configuration secrets via Twig template functions like config.get() or config.toArray() when config_access is enabled.
AI Analysis
Technical Summary
CVE-2026-76846 describes a security flaw in Grav before version 2.0.16. The issue arises from an incomplete default denylist in the Twig sandbox configuration, which fails to block access to sensitive system configuration secrets. Attackers who have page-edit permissions can exploit this by using config.get() or config.toArray() functions within Twig templates to retrieve confidential values such as system.cache.redis.password, provided that config_access is enabled. This vulnerability could lead to exposure of critical credentials stored in the system configuration.
Potential Impact
The vulnerability allows unauthorized disclosure of sensitive credentials stored in the system configuration, such as Redis cache passwords. This could lead to further compromise of the system or connected services if attackers gain page-edit permissions and config_access is enabled. The CVSS 4.0 score of 8.7 indicates a high severity impact due to network attack vector, low complexity, and high confidentiality impact.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict page-edit permissions to trusted users only and consider disabling config_access if not required to reduce exposure risk.
CVE-2026-76846: Insufficiently Protected Credentials in getgrav grav
Description
Grav versions prior to 2.0.16 have a vulnerability in the Twig sandbox configuration where the default denylist is incomplete. This allows attackers with page-edit permissions to access sensitive system configuration secrets via Twig template functions like config.get() or config.toArray() when config_access is enabled.
CVSS v4.0
Score 8.7high
Affected software
Run 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
CVE-2026-76846 describes a security flaw in Grav before version 2.0.16. The issue arises from an incomplete default denylist in the Twig sandbox configuration, which fails to block access to sensitive system configuration secrets. Attackers who have page-edit permissions can exploit this by using config.get() or config.toArray() functions within Twig templates to retrieve confidential values such as system.cache.redis.password, provided that config_access is enabled. This vulnerability could lead to exposure of critical credentials stored in the system configuration.
Potential Impact
The vulnerability allows unauthorized disclosure of sensitive credentials stored in the system configuration, such as Redis cache passwords. This could lead to further compromise of the system or connected services if attackers gain page-edit permissions and config_access is enabled. The CVSS 4.0 score of 8.7 indicates a high severity impact due to network attack vector, low complexity, and high confidentiality impact.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict page-edit permissions to trusted users only and consider disabling config_access if not required to reduce exposure risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-19T20:34:19.724Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8cf57bacd9273b498428b0
Added to database: 08/25/2026, 01:52:59 UTC
Last enriched: 08/25/2026, 02:07:38 UTC
Last updated: 08/25/2026, 02:12:07 UTC
Views: 5
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.