Skip to content

CVE-2026-62673 Grav: .htaccess file extension rules bypass via case variation on case-insensitive filesystems

HighCVSS 8.2 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
PHP

Description

Grav is a file-based Web platform. Prior to 2.0.4, the Grav .htaccess and webserver-configs/htaccess.txt security rules omit the Apache [NC] flag and therefore compare sensitive directory and file-extension patterns case-sensitively. On a case-insensitive filesystem, an unauthenticated requester can use uppercase directory or extension variants to bypass the rules and retrieve files under user/accounts or user/config, including password hashes and security configuration. This issue is fixed in version 2.0.4.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
getgrav/grav(Packagist) < 2.0.4 2.0.4 Fixed
getgrav/grav = < 2.0.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
getgrav/grav = < 2.0.4 No fix listed
getgrav/grav(Packagist) < 2.0.4 2.0.4

References