Skip to main content
EPSS 0.4%top 64%

CVE-2026-61842: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in getgrav grav

0
Medium
VulnerabilityCVE-2026-61842cvecve-2026-61842cwe-200
Published: 08/19/2026 (08/19/2026, 15:23:27 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

Grav is a file-based Web platform. Prior to 2.0.2, the Grav Twig content sandbox permits grav.offsetGet('config') to return the raw configuration object and permits json_encode, print_r, yaml_encode, and string filters to serialize that object without passing through GravSecurityPolicy::checkMethodAllowed. A user with page-author permissions can render sandboxed content that exposes plugins.* configuration secrets, including SMTP credentials, API keys, and plugin database credentials. This issue is fixed in version 2.0.2.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

getgrav

grav

Affected versions
<2.0.2
GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
<2.0.2

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

AILast updated: 08/19/2026, 15:59:56 UTC

Technical Analysis

The Grav Twig content sandbox prior to version 2.0.2 permits the grav.offsetGet('config') method to return the raw configuration object. This object can be serialized using json_encode, print_r, yaml_encode, and string filters without enforcement of GravSecurityPolicy::checkMethodAllowed. Consequently, a user with page-author permissions can render sandboxed content that exposes sensitive plugin configuration secrets such as SMTP credentials, API keys, and database credentials. This vulnerability is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor).

Potential Impact

An attacker with page-author permissions can access sensitive configuration data that should be protected, including SMTP credentials, API keys, and plugin database credentials. This exposure can lead to further compromise of the system or connected services. The vulnerability does not affect confidentiality beyond the exposed configuration data and does not impact integrity or availability.

Mitigation Recommendations

This vulnerability is fixed in Grav version 2.0.2. Users should upgrade to version 2.0.2 or later to remediate this issue. No other mitigation or temporary workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-10T20:28:17.512Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a85cdc8acd9273b4944357c

Added to database: 08/19/2026, 15:37:44 UTC

Last enriched: 08/19/2026, 15:59:56 UTC

Last updated: 10/02/2026, 11:26:16 UTC

Views: 71

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses