CVE-2026-114657 Details
Description
Grav from 2.0.0 before 2.2.5 contains an information disclosure vulnerability that allows page authors to capture visitors' HTTP Basic credentials through Twig page content. Authors can print the request Uri object, which embeds PHP_AUTH_USER and PHP_AUTH_PW, inside an inline style background image to exfiltrate administrators' credentials to an external host.
An information disclosure vulnerability has been identified in Grav versions 2.0.0 prior to 2.2.5. This vulnerability allows page authors to capture visitors' HTTP Basic authentication credentials by embedding them in Twig page content. When the page is viewed, the credentials are exfiltrated to an external host. The issue arises because the request URI object includes PHP_AUTH_USER and PHP_AUTH_PW, which can be accessed and manipulated by authors through Twig. This vulnerability specifically affects sites using HTTP Basic authentication, where each visitor has unique credentials.
Users can upgrade to Grav version 2.2.5 or later, where this vulnerability has been fixed. After the update, the request URI no longer contains Basic authentication credentials, and any code that requires these credentials should retrieve them directly from the server variables.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Oct 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-c85g-q5w4-ff68 | [email protected] | AdvisoryRemedyVendor |
| https://www.vulncheck.com/advisories/grav-2.0.0-before-2.2.5-http-basic-credential-disclosure-via-twig-uri | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | >= 2.0.0, < 2.2.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion