CVE-2026-61842
Last modified
CVE-2026-61842 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 2.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-61842?
How severe is CVE-2026-61842?
How do I fix CVE-2026-61842?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61837RabbitMQ is a messaging and streaming broker. From 4.0.0 unt…5.3
- CVE-2026-61838Lychee is a free, open-source photo-management tool. Prior t…8.2
- CVE-2026-61839Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-6184A weakness has been identified in code-projects Simple Conte…2.4
- CVE-2026-61840Quest Bot is an opensource Discord Bot. Prior to 1.1.9, the …2.3
- CVE-2026-61841Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-61843FileRise is a self-hosted web-based file manager with multi-…8.2
- CVE-2026-61844FileRise is a self-hosted web-based file manager with multi-…7.1
- CVE-2026-61845Crass is a Ruby CSS parser that's fully compliant with the C…8.9
- CVE-2026-61846Crass is a Ruby CSS parser that's fully compliant with the C…6.3
- CVE-2026-61847Crass is a Ruby CSS parser that's fully compliant with the C…6.3
- CVE-2026-61848Crass is a Ruby CSS parser that's fully compliant with the C…6.3
Are you affected by CVE-2026-61842?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
