THREAT OPS › Threat News › [GHSA] GHSA-r7w9-592q-9vg4 (medium) — Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method
[GHSA] GHSA-r7w9-592q-9vg4 (medium) — Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method
GHSA-r7w9-592q-9vg4 Severity: medium CVE: CVE-2026-118266
Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method
## Summary
The `MethodOverride` middleware accepts any non-empty string as the override target method — including safe methods (GET, HEAD, OPTIONS, TRACE) — when rewriting a POST request. When `MethodOverride` is registered before `CSRF` in the post-routing
MITRE ATT&CK techniques
- Data ManipulationT1565
Indicators of compromise
- CVE-2026-118266cve
- http://127.0.0.1:18080/transferurl
- https://victim.example/transferurl
- https://bugbunny.aiurl
Original source: https://github.com/advisories/GHSA-r7w9-592q-9vg4