{"id":"CVE-2026-118514","kind":"vulnerability","aliases":["CVE-2026-118514"],"related":[],"title":"Symfony HttpFoundation: HEAD requests bypass GET-only access rules","description":"In Symfony http-foundation prior to versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11, Symfony\\Component\\HttpFoundation\\RequestMatcher, and RequestMatcher\\MethodRequestMatcher which replaces it from 6.2.x on, matches a request against a list of HTTP methods. These compared the request method to the list verbatim, while the router serves a HEAD request with the GET handler, as HTTP semantics require.\n\nThis came after the incomplete fix of  CVE-2026-45075 https://github.com/advisories/GHSA-6439-2f28-8p8q , which addressed the same gap in the #[IsGranted], #[IsSignatureValid] and #[IsCsrfTokenValid] attributes only.\n\n\n\nSecurity rules configured to apply only to GET requests could therefore be bypassed by sending a HEAD request to the same URL. Although HEAD responses contain no body, attackers could still access response headers and trigger the controller's execution, including any side effects.\n\n\n\nThis issue also affects firewalls configured with methods: [GET]. A HEAD request would not match that firewall and could instead be handled by another matching firewall or no firewall at all. Applications using these vulnerable request matchers directly, including through a custom firewall request_matcher, could also be affected.\n\n\n\nThe issue affects symfony/http-foundation through v5.4.55, v6.x through 6.4.49, v7.x through v7.4.22, and v8.x through v8.1.10.","summary":"Symfony's request matcher compares HTTP methods verbatim, so a HEAD request to a GET-only route is not matched by GET rules while the router still runs the GET controller. An attacker can bypass GET-only security rules and trigger controller side effects, reading response headers.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","php","symfony","web-apps"],"not_affected_if":["fixed-version","no-custom-request-matcher","no-get-only-rules"],"how_to_check":"- Look for `symfony/http-foundation` in `composer.lock` and check the installed version with `composer show symfony/http-foundation`\n- Search the app for `methods: [GET]` in firewall or access_control config and for custom `request_matcher` entries using RequestMatcher or MethodRequestMatcher\n- Check whether GET-only controllers have side effects reachable with HEAD","fix":"- `symfony/http-foundation` 5.4.56\n- `symfony/http-foundation` 6.4.50\n- `symfony/http-foundation` 7.4.23\n- `symfony/http-foundation` 8.1.11","status":"open","published_at":"2026-11-06T15:17:11+00:00","first_seen_at":"2026-11-06T15:42:43+00:00","triaged_at":"2026-11-06T15:44:30+00:00","updated_at":"2026-11-06T15:44:30+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-06T15:44:30Z","model":"claude-haiku-5-5","output":{"fix":"- `symfony/http-foundation` 5.4.56\n- `symfony/http-foundation` 6.4.50\n- `symfony/http-foundation` 7.4.23\n- `symfony/http-foundation` 8.1.11","reach":"internet","title":"Symfony HttpFoundation: HEAD requests bypass GET-only access rules","impact":"medium","summary":"Symfony's request matcher compares HTTP methods verbatim, so a HEAD request to a GET-only route is not matched by GET rules while the router still runs the GET controller. An attacker can bypass GET-only security rules and trigger controller side effects, reading response headers.","audience":"developers","category":"package","nicknames":[],"who_cares":["symfony","php","web-apps"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"GET-only security rules are bypassed and controller side effects run","analyst_note":"","how_to_check":"- Look for `symfony/http-foundation` in `composer.lock` and check the installed version with `composer show symfony/http-foundation`\n- Search the app for `methods: [GET]` in firewall or access_control config and for custom `request_matcher` entries using RequestMatcher or MethodRequestMatcher\n- Check whether GET-only controllers have side effects reachable with HEAD","plain_action":"","needs_analyst":false,"not_affected_if":["fixed-version","no-get-only-rules","no-custom-request-matcher"],"who_is_affected":"Applications built on Symfony that rely on GET-only firewall rules or on RequestMatcher/MethodRequestMatcher, including custom firewall request matchers, are exposed because HEAD requests slip past the method check. Applications with no method-restricted firewalls or security rules, or that already run a fixed version, are not affected by this bypass.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.0008,"input_tokens":4664,"output_tokens":668,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-118514':13A,16A '-2026':12A,15A,140C '-45075':141C '/advisories/ghsa-6439-2f28-8p8q':144C '5.4.56':80C '6.2':96C '6.4.49':259C '6.4.50':81C '7.4.23':82C '8.1.11':84C 'access':9A,189C 'address':146C 'affect':205C,250C,253C 'also':204C,248C 'although':180C 'anoth':225C 'app':22B 'appli':162C 'applic':233C 'attack':56B,186C 'attribut':156C 'bodi':185C 'bypass':5A,58B,170C 'came':133C 'compar':27B,109C 'compon':86C 'configur':160C,207C 'contain':183C 'control':54B,66B,195C 'could':167C,187C,220C,247C 'custom':243C 'cve':11A,14A,139C 'direct':239C 'effect':68B,201C 'execut':197C 'firewal':206C,218C,227C,230C,244C 'fix':137C 'foundat':76C 'gap':149C 'get':7A,38B,45B,53B,60B,126C,165C,210C 'get-on':6A,37B,59B 'github.com':143C 'github.com/advisories/ghsa-6439-2f28-8p8q':142C 'handl':223C 'handler':127C 'head':3A,33B,122C,174C,181C,212C 'header':71B,191C 'http':28B,75C,106C,129C 'http-foundat':74C 'httpfoundat':2A,87C 'includ':198C,240C 'incomplet':136C 'instead':221C 'iscsrftokenvalid':155C 'isgrant':152C 'issignaturevalid':153C 'issu':203C,252C 'list':104C,115C 'match':43B,99C,216C,226C 'matcher':26B,238C,246C 'method':29B,107C,112C,209C 'methodrequestmatch':91C 'packag':17B 'php':18B 'prior':77C 'read':69B 'replac':93C 'request':4A,25B,34B,101C,111C,123C,166C,175C,213C,237C,245C 'requestmatch':88C,90C 'requir':131C 'respons':70B,182C,190C 'rout':40B 'router':49B,119C 'rule':10A,46B,63B,159C 'run':51B 'secur':62B,158C 'semant':130C 'send':172C 'serv':120C 'side':67B,200C 'still':50B,188C 'symfoni':1A,19B,23B,73C,85C 'symfony/http-foundation':254C 'therefor':168C 'trigger':65B,193C 'url':179C 'use':234C 'v5.4.55':256C 'v6.x':257C 'v7.4.22':262C 'v7.x':260C 'v8.1.10':266C 'v8.x':264C 'verbatim':30B,116C 'version':79C 'vulner':236C 'web':21B 'web-app':20B 'would':214C 'x':97C","nicknames":[],"mitigations":[],"who_affected":"Applications built on Symfony that rely on GET-only firewall rules or on RequestMatcher/MethodRequestMatcher, including custom firewall request matchers, are exposed because HEAD requests slip past the method check. Applications with no method-restricted firewalls or security rules, or that already run a fixed version, are not affected by this bypass.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["medium","package","php","symfony","webapps"],"campaign_type":null,"search_a":"'-118514':13A,16A '-2026':12A,15A 'access':9A 'bypass':5A 'cve':11A,14A 'get':7A 'get-on':6A 'head':3A 'httpfoundat':2A 'request':4A 'rule':10A 'symfoni':1A","search_b":"'app':22B 'attack':56B 'bypass':58B 'compar':27B 'control':54B,66B 'effect':68B 'get':38B,45B,53B,60B 'get-on':37B,59B 'head':33B 'header':71B 'http':28B 'match':43B 'matcher':26B 'method':29B 'packag':17B 'php':18B 'read':69B 'request':25B,34B 'respons':70B 'rout':40B 'router':49B 'rule':46B,63B 'run':51B 'secur':62B 'side':67B 'still':50B 'symfoni':19B,23B 'trigger':65B 'verbatim':30B 'web':21B 'web-app':20B","search_c":"'-2026':140C '-45075':141C '/advisories/ghsa-6439-2f28-8p8q':144C '5.4.56':80C '6.2':96C '6.4.49':259C '6.4.50':81C '7.4.23':82C '8.1.11':84C 'access':189C 'address':146C 'affect':205C,250C,253C 'also':204C,248C 'although':180C 'anoth':225C 'appli':162C 'applic':233C 'attack':186C 'attribut':156C 'bodi':185C 'bypass':170C 'came':133C 'compar':109C 'compon':86C 'configur':160C,207C 'contain':183C 'control':195C 'could':167C,187C,220C,247C 'custom':243C 'cve':139C 'direct':239C 'effect':201C 'execut':197C 'firewal':206C,218C,227C,230C,244C 'fix':137C 'foundat':76C 'gap':149C 'get':126C,165C,210C 'github.com':143C 'github.com/advisories/ghsa-6439-2f28-8p8q':142C 'handl':223C 'handler':127C 'head':122C,174C,181C,212C 'header':191C 'http':75C,106C,129C 'http-foundat':74C 'httpfoundat':87C 'includ':198C,240C 'incomplet':136C 'instead':221C 'iscsrftokenvalid':155C 'isgrant':152C 'issignaturevalid':153C 'issu':203C,252C 'list':104C,115C 'match':99C,216C,226C 'matcher':238C,246C 'method':107C,112C,209C 'methodrequestmatch':91C 'prior':77C 'replac':93C 'request':101C,111C,123C,166C,175C,213C,237C,245C 'requestmatch':88C,90C 'requir':131C 'respons':182C,190C 'router':119C 'rule':159C 'secur':158C 'semant':130C 'send':172C 'serv':120C 'side':200C 'still':188C 'symfoni':73C,85C 'symfony/http-foundation':254C 'therefor':168C 'trigger':193C 'url':179C 'use':234C 'v5.4.55':256C 'v6.x':257C 'v7.4.22':262C 'v7.x':260C 'v8.1.10':266C 'v8.x':264C 'verbatim':116C 'version':79C 'vulner':236C 'would':214C 'x':97C","first_public_at":"2026-11-04T11:43:47+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"596c5446-0ce5-4ba2-aa66-48b3b757a647","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-118514","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118514","severity":null,"published_at":"2026-11-06T15:17:11+00:00","modified_at":"2026-11-06T15:17:11+00:00","first_seen_at":"2026-11-06T15:42:43+00:00","fetched_at":"2026-11-06T15:42:43+00:00","note":null}],"documents":[{"id":87545,"url":"https://github.com/symfony/symfony/commit/13a8b85be687499cbc69a534ada16683f9ba3889","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":87546,"url":"https://github.com/symfony/symfony/commit/cd20e9f8f16d1f0df6c2eac19bdb649325a192bd","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":87547,"url":"https://github.com/symfony/symfony/security/advisories/GHSA-jrf8-gvm4-7cgh","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-04T11:43:47+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}