{"id":"CVE-2026-121619","kind":"vulnerability","aliases":["CVE-2026-121619"],"related":[],"title":"Symfony: private_ranges trusted proxies let remote clients spoof IP, host and scheme","description":"The Symfony FrameworkBundle framework.trusted_proxies option and the HttpFoundation Request::setTrustedProxies() method trust remote clients as reverse proxies when the private_ranges shortcut is used, allowing remote attackers to spoof the client IP address, host and scheme in Symfony FrameworkBundle versions 7.1 prior to 7.4.23 and 8.x prior to 8.1.11, and HttpFoundation versions 7.2 prior to 7.4.23 and 8.x prior to 8.1.11. The private_ranges and PRIVATE_SUBNETS keywords resolved to IpUtils::PRIVATE_SUBNETS, the deny list of NoPrivateNetworkHttpClient, which lists the private and special-purpose prefixes a server must not connect to. Since the fix for CVE-2026-48736 (7.4.13 and 8.0.13), this list also covers the IPv6 prefixes that embed an IPv4 address: IPv4-mapped (::ffff:0:0/96), IPv4-compatible (::/96), 6to4 (2002::/16), Teredo (2001::/32) and NAT64 (64:ff9b::/96). The IPv4-mapped entry has been in the list since the private_ranges shortcut was introduced, in 7.1 for framework.trusted_proxies and in 7.2 for Request::setTrustedProxies(). Over-blocking is safe for a deny list, but when the same entries are used as the allow list of trusted proxies, they trust remote clients. A client whose connection arrives with such a source address is treated as a reverse proxy, and the X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto, X-Forwarded-Port and X-Forwarded-Prefix headers it sends are honoured. For example, with Request::setTrustedProxies(['private_ranges'], ...), a request with REMOTE_ADDR set to ::ffff:203.0.113.7 and the headers X-Forwarded-For: 10.0.0.9, X-Forwarded-Host: evil.example.com and X-Forwarded-Proto: https makes getClientIp() return 10.0.0.9, getHost() return evil.example.com and isSecure() return true. Two kinds of deployments are exposed: a server listening on the IPv6 wildcard address without IPV6_V6ONLY reports every IPv4 client in the IPv4-mapped form, so every client is trusted, and a server reachable over IPv6 trusts any client sourcing from 6to4 or Teredo space, which is globally routed, whatever its listener. A spoofed client address defeats IP allow lists, rate limiting and audit logs; a spoofed host poisons the URLs written into password reset and login link e-mails and into shared caches; a spoofed scheme satisfies requires_channel: https over plain HTTP. Symfony 6.4 does not point any trusted proxy setting at IpUtils::PRIVATE_SUBNETS and is not affected by default, but an application that passes that constant to Request::setTrustedProxies() itself could be exposed in the same way on any version. This issue is fixed in 7.4.23 and 8.1.11.","summary":"Symfony's private_ranges shortcut for trusted proxies includes IPv6 prefixes that embed IPv4 addresses, so a remote client sending from those addresses is treated as a reverse proxy. Its forwarded headers are then honoured, letting an attacker spoof the client IP, host and HTTPS scheme.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","php","reverse-proxy","self-hosted","symfony"],"not_affected_if":["default-config","no-trusted-proxies","symfony-6.4"],"how_to_check":"- Check the Symfony version with `composer show symfony/http-foundation` and `composer show symfony/framework-bundle`.\n- Search the config for `trusted_proxies` and `private_ranges` in framework.yaml, and for calls to `setTrustedProxies` using `private_ranges` or `PRIVATE_SUBNETS`.\n- Check whether the app listens on the IPv6 wildcard address without IPV6_V6ONLY, or is reachable over IPv6.","fix":"- symfony/framework-bundle 7.4.23 and 8.1.11 (7.x and 8.x lines)\n- symfony/http-foundation 7.4.23 and 8.1.11","status":"open","published_at":"2026-11-12T19:16:48+00:00","first_seen_at":"2026-11-12T19:40:13+00:00","triaged_at":"2026-11-12T19:40:53+00:00","updated_at":"2026-11-12T19:40:53+00:00","category":"package","confidence":0.85,"triage":{"at":"2026-11-12T19:40:53Z","model":"claude-haiku-5-5","output":{"fix":"- symfony/framework-bundle 7.4.23 and 8.1.11 (7.x and 8.x lines)\n- symfony/http-foundation 7.4.23 and 8.1.11","reach":"internet","title":"Symfony: private_ranges trusted proxies let remote clients spoof IP, host and scheme","impact":"medium","summary":"Symfony's private_ranges shortcut for trusted proxies includes IPv6 prefixes that embed IPv4 addresses, so a remote client sending from those addresses is treated as a reverse proxy. Its forwarded headers are then honoured, letting an attacker spoof the client IP, host and HTTPS scheme.","audience":"developers","category":"package","nicknames":[],"who_cares":["symfony","php","self-hosted","reverse-proxy"],"confidence":0.85,"fix_status":"available","needs_auth":"no","worst_case":"Remote clients spoof IP, host and HTTPS scheme, poisoning reset links","analyst_note":"","how_to_check":"- Check the Symfony version with `composer show symfony/http-foundation` and `composer show symfony/framework-bundle`.\n- Search the config for `trusted_proxies` and `private_ranges` in framework.yaml, and for calls to `setTrustedProxies` using `private_ranges` or `PRIVATE_SUBNETS`.\n- Check whether the app listens on the IPv6 wildcard address without IPV6_V6ONLY, or is reachable over IPv6.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["default-config","symfony-6.4","no-trusted-proxies"],"who_is_affected":"Applications running Symfony FrameworkBundle 7.1 to before 7.4.23 or 8.x before 8.1.11, or HttpFoundation 7.2 to before 7.4.23 or 8.x before 8.1.11, that use the private_ranges or PRIVATE_SUBNETS trusted proxy setting. Symfony 6.4 does not point trusted proxies at that list by default, so it is not affected unless the app passes the constant itself. Servers on the IPv6 wildcard address without IPV6_V6ONLY, or reachable over IPv6, are the most exposed.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000962,"input_tokens":5565,"output_tokens":810,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-121619':16A,19A '-2026':15A,18A,176C '-48736':177C '/16':205C '/32':208C '/96':202C,213C '0':197C '0/96':198C '10.0.0.9':336C,351C '2001':207C '2002':204C '203.0.113.7':328C '6.4':457C '64':211C '6to4':203C,402C '7.1':116C,232C '7.2':129C,238C '7.4.13':178C '7.4.23':119C,132C,501C '8':121C,134C '8.0.13':180C '8.1.11':125C,138C,503C 'addr':324C 'address':43B,51B,108C,192C,278C,372C,416C 'affect':472C 'allow':100C,260C,419C 'also':183C 'applic':477C 'arriv':273C 'attack':66B,102C 'audit':424C 'block':244C 'cach':445C 'channel':451C 'client':8A,47B,69B,89C,106C,268C,270C,379C,388C,399C,415C 'compat':201C 'connect':169C,272C 'constant':481C 'could':486C 'cover':184C 'cve':14A,17A,175C 'default':474C 'defeat':417C 'deni':152C,249C 'deploy':362C 'e':440C 'e-mail':439C 'emb':41B,189C 'entri':218C,255C 'everi':377C,387C 'evil.example.com':341C,354C 'exampl':314C 'expos':364C,488C 'ff9b':212C 'ffff':196C,327C 'fix':173C,499C 'form':385C 'forward':59B,289C,293C,297C,301C,306C,334C,339C,345C 'framework.trusted':78C,234C 'frameworkbundl':77C,114C 'getclientip':349C 'gethost':352C 'global':408C 'header':60B,308C,331C 'honour':63B,312C 'host':11A,27B,71B,109C,294C,340C,428C 'http':455C 'httpfoundat':83C,127C 'https':73B,347C,452C 'includ':37B 'introduc':230C 'ip':10A,70B,107C,418C 'iputil':148C,466C 'ipv4':42B,191C,194C,200C,216C,378C,383C 'ipv4-compatible':199C 'ipv4-mapped':193C,215C,382C 'ipv6':38B,186C,370C,374C,396C 'issecur':356C 'issu':497C 'keyword':145C 'kind':360C 'let':6A,64B 'limit':422C 'link':438C 'list':153C,157C,182C,223C,250C,261C,420C 'listen':367C,412C 'log':425C 'login':437C 'mail':441C 'make':348C 'map':195C,217C,384C 'method':86C 'must':167C 'nat64':210C 'noprivatenetworkhttpcli':155C 'option':80C 'over-block':242C 'packag':20B 'pass':479C 'password':434C 'php':21B 'plain':454C 'point':460C 'poison':429C 'port':302C 'prefix':39B,164C,187C,307C 'prior':117C,123C,130C,136C 'privat':2A,31B,95C,140C,143C,149C,159C,226C,318C,467C 'proto':298C,346C 'proxi':5A,24B,36B,57B,79C,92C,235C,264C,284C,463C 'purpos':163C 'rang':3A,32B,96C,141C,227C,319C 'rate':421C 'reachabl':394C 'remot':7A,46B,88C,101C,267C,323C 'report':376C 'request':84C,240C,316C,321C,483C 'requir':450C 'reset':435C 'resolv':146C 'return':350C,353C,357C 'revers':23B,56B,91C,283C 'reverse-proxi':22B 'rout':409C 'safe':246C 'satisfi':449C 'scheme':13A,74B,111C,448C 'self':26B 'self-host':25B 'send':48B,310C 'server':166C,366C,393C 'set':325C,464C 'settrustedproxi':85C,241C,317C,484C 'share':444C 'shortcut':33B,97C,228C 'sinc':171C,224C 'sourc':277C,400C 'space':405C 'special':162C 'special-purpos':161C 'spoof':9A,67B,104C,414C,427C,447C 'subnet':144C,150C,468C 'symfoni':1A,28B,29B,76C,113C,456C 'teredo':206C,404C 'treat':53B,280C 'true':358C 'trust':4A,35B,87C,263C,266C,390C,397C,462C 'two':359C 'url':431C 'use':99C,257C 'v6only':375C 'version':115C,128C,495C 'way':492C 'whatev':410C 'whose':271C 'wildcard':371C 'without':373C 'written':432C 'x':122C,135C,288C,292C,296C,300C,305C,333C,338C,344C 'x-forwarded-for':287C,332C 'x-forwarded-host':291C,337C 'x-forwarded-port':299C 'x-forwarded-prefix':304C 'x-forwarded-proto':295C,343C","nicknames":[],"mitigations":[],"who_affected":"Applications running Symfony FrameworkBundle 7.1 to before 7.4.23 or 8.x before 8.1.11, or HttpFoundation 7.2 to before 7.4.23 or 8.x before 8.1.11, that use the private_ranges or PRIVATE_SUBNETS trusted proxy setting. Symfony 6.4 does not point trusted proxies at that list by default, so it is not affected unless the app passes the constant itself. Servers on the IPv6 wildcard address without IPV6_V6ONLY, or reachable over IPv6, are the most exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["medium","package","php","reverseproxy","selfhosted","symfony"],"campaign_type":null,"search_a":"'-121619':16A,19A '-2026':15A,18A 'client':8A 'cve':14A,17A 'host':11A 'ip':10A 'let':6A 'privat':2A 'proxi':5A 'rang':3A 'remot':7A 'scheme':13A 'spoof':9A 'symfoni':1A 'trust':4A","search_b":"'address':43B,51B 'attack':66B 'client':47B,69B 'emb':41B 'forward':59B 'header':60B 'honour':63B 'host':27B,71B 'https':73B 'includ':37B 'ip':70B 'ipv4':42B 'ipv6':38B 'let':64B 'packag':20B 'php':21B 'prefix':39B 'privat':31B 'proxi':24B,36B,57B 'rang':32B 'remot':46B 'revers':23B,56B 'reverse-proxi':22B 'scheme':74B 'self':26B 'self-host':25B 'send':48B 'shortcut':33B 'spoof':67B 'symfoni':28B,29B 'treat':53B 'trust':35B","search_c":"'-2026':176C '-48736':177C '/16':205C '/32':208C '/96':202C,213C '0':197C '0/96':198C '10.0.0.9':336C,351C '2001':207C '2002':204C '203.0.113.7':328C '6.4':457C '64':211C '6to4':203C,402C '7.1':116C,232C '7.2':129C,238C '7.4.13':178C '7.4.23':119C,132C,501C '8':121C,134C '8.0.13':180C '8.1.11':125C,138C,503C 'addr':324C 'address':108C,192C,278C,372C,416C 'affect':472C 'allow':100C,260C,419C 'also':183C 'applic':477C 'arriv':273C 'attack':102C 'audit':424C 'block':244C 'cach':445C 'channel':451C 'client':89C,106C,268C,270C,379C,388C,399C,415C 'compat':201C 'connect':169C,272C 'constant':481C 'could':486C 'cover':184C 'cve':175C 'default':474C 'defeat':417C 'deni':152C,249C 'deploy':362C 'e':440C 'e-mail':439C 'emb':189C 'entri':218C,255C 'everi':377C,387C 'evil.example.com':341C,354C 'exampl':314C 'expos':364C,488C 'ff9b':212C 'ffff':196C,327C 'fix':173C,499C 'form':385C 'forward':289C,293C,297C,301C,306C,334C,339C,345C 'framework.trusted':78C,234C 'frameworkbundl':77C,114C 'getclientip':349C 'gethost':352C 'global':408C 'header':308C,331C 'honour':312C 'host':109C,294C,340C,428C 'http':455C 'httpfoundat':83C,127C 'https':347C,452C 'introduc':230C 'ip':107C,418C 'iputil':148C,466C 'ipv4':191C,194C,200C,216C,378C,383C 'ipv4-compatible':199C 'ipv4-mapped':193C,215C,382C 'ipv6':186C,370C,374C,396C 'issecur':356C 'issu':497C 'keyword':145C 'kind':360C 'limit':422C 'link':438C 'list':153C,157C,182C,223C,250C,261C,420C 'listen':367C,412C 'log':425C 'login':437C 'mail':441C 'make':348C 'map':195C,217C,384C 'method':86C 'must':167C 'nat64':210C 'noprivatenetworkhttpcli':155C 'option':80C 'over-block':242C 'pass':479C 'password':434C 'plain':454C 'point':460C 'poison':429C 'port':302C 'prefix':164C,187C,307C 'prior':117C,123C,130C,136C 'privat':95C,140C,143C,149C,159C,226C,318C,467C 'proto':298C,346C 'proxi':79C,92C,235C,264C,284C,463C 'purpos':163C 'rang':96C,141C,227C,319C 'rate':421C 'reachabl':394C 'remot':88C,101C,267C,323C 'report':376C 'request':84C,240C,316C,321C,483C 'requir':450C 'reset':435C 'resolv':146C 'return':350C,353C,357C 'revers':91C,283C 'rout':409C 'safe':246C 'satisfi':449C 'scheme':111C,448C 'send':310C 'server':166C,366C,393C 'set':325C,464C 'settrustedproxi':85C,241C,317C,484C 'share':444C 'shortcut':97C,228C 'sinc':171C,224C 'sourc':277C,400C 'space':405C 'special':162C 'special-purpos':161C 'spoof':104C,414C,427C,447C 'subnet':144C,150C,468C 'symfoni':76C,113C,456C 'teredo':206C,404C 'treat':280C 'true':358C 'trust':87C,263C,266C,390C,397C,462C 'two':359C 'url':431C 'use':99C,257C 'v6only':375C 'version':115C,128C,495C 'way':492C 'whatev':410C 'whose':271C 'wildcard':371C 'without':373C 'written':432C 'x':122C,135C,288C,292C,296C,300C,305C,333C,338C,344C 'x-forwarded-for':287C,332C 'x-forwarded-host':291C,337C 'x-forwarded-port':299C 'x-forwarded-prefix':304C 'x-forwarded-proto':295C,343C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-04T11:43:46+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-121619","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121619","severity":null,"published_at":"2026-11-12T19:16:48+00:00","modified_at":"2026-11-12T19:16:49+00:00","first_seen_at":"2026-11-12T19:40:13+00:00","fetched_at":"2026-11-12T19:40:13+00:00","note":null}],"documents":[{"id":137844,"url":"https://github.com/symfony/symfony/commit/e109aa54d42678e2a72ec148092a8453a67de931","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":110700,"url":"https://github.com/symfony/symfony/security/advisories/GHSA-xg2q-4rrq-657q","title":"Maintainer's advisory: github.com","kind":"vendor","source":"ghsa-repo","publisher":"vendor","text":null,"published_at":"2026-11-04T11:43:46+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}