{"items":[{"id":"NVI-00003778","kind":"vulnerability","title":"Grav: .htaccess file extension rules bypass via case variation on case-insensitive filesystems","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-vwg3-w8w3-pc79"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.4 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-4ac2b0b176cab1750679663b555caa6b"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-4ac2b0b176cab1750679663b555caa6b","url":"https://github.com/advisories/GHSA-vwg3-w8w3-pc79","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-vwg3-w8w3-pc79","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4ac2b0b176cab1750679663b555caa6b"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nThe default `.htaccess` shipped with Grav (and the reference `webserver-configs/htaccess.txt`) contains security rules that block direct HTTP access to sensitive file types (`.yaml`, `.yml`, `.php`, `.json`, `.twig`, etc.) under `user/` and `system/vendor/` directories. However, these rules lack the `[NC]` (No Case) flag, making them case-sensitive. On case-insensitive filesystems (Windows/NTFS, macOS/HFS+, or Linux with Docker volumes mounted from Windows/macOS), an attacker can bypass these rules by requesting files with uppercase extensions (e.g., `.YAML`, `.PHP`, `.JSON`).\n\n## Affected Versions\n\n- Grav 2.0.1 (latest stable as of June 2026) — confirmed\n- Grav 1.7.x — likely affected (same `.htaccess` rules)\n- All versions shipping the current `webserver-configs/htaccess.txt`\n\n## Affected Component\n\nFile: `.htaccess` (root of Grav installation)\nReference: `webserver-configs/htaccess.txt`\n\n## Affected Rules (lines 68, 70, 72)\n\n```apache\n# Line 68 — system/vendor file types\nRewriteRule ^(system|vendor)/(.*)\\.(txt|xml|md|html|htm|shtml|shtm|json|yaml|yml|php|php2|php3|php4|php5|phar|phtml|pl|py|cgi|twig|sh|bat)$ error [F]\n\n# Line 70 — user file types\nRewriteRule ^(user)/","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.4"]}],"null_published_at":"2026-10-31T22:12:48.030Z","source_updated_at":"2026-09-10T03:51:14.821Z","source_disclosed_at":"2026-08-19T19:32:38.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:41.379Z"}],"next_cursor":null,"snapshot_revision":"42594"}