CVE-2026-123125
Last modified
CVE-2026-123125 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. The Symfony Validator component IpValidator incompletely classifies internal addresses in the filtered modes of the Ip constraint, so some internal addresses are accepted as public, which can lead to Server-Side Request Forgery (SSRF) in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. In these modes, IpValidator relies on the PHP flags FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE to classify addresses as public, private, or reserved. These flags do not cover shared address space (100.64.0.0/10) or IPv4-mapped, IPv4-compatible, and 6to4 IPv6 addresses, which can embed internal IPv4 addresses.
Description
The Symfony Validator component IpValidator incompletely classifies internal addresses in the filtered modes of the Ip constraint, so some internal addresses are accepted as public, which can lead to Server-Side Request Forgery (SSRF) in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. In these modes, IpValidator relies on the PHP flags FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE to classify addresses as public, private, or reserved. These flags do not cover shared address space (100.64.0.0/10) or IPv4-mapped, IPv4-compatible, and 6to4 IPv6 addresses, which can embed internal IPv4 addresses. A value such as ::ffff:127.0.0.1 can therefore pass validation even though it points to an internal host. Applications that rely on the Ip constraint to reject internal addresses, for example before making a server-side request to a user-supplied address, can be exposed to SSRF.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-123125?
How severe is CVE-2026-123125?
How do I fix CVE-2026-123125?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-123096anacrolix/torrent through 1.61.0 contains a memory exhaustio…6.5
- CVE-2026-1231The Beaver Builder Page Builder – Drag and Drop Website Buil…6.4
- CVE-2026-12310Memory safety bug fixed in Thunderbird 152. This vulnerabili…7.5
- CVE-2026-12311Information disclosure, sandbox escape in the Security: Proc…4.7
- CVE-2026-123119The Symfony HttpClient component NoPrivateNetworkHttpClient …2.3
- CVE-2026-12312Memory safety bug fixed in Thunderbird 152. This vulnerabili…7.5
- CVE-2026-12313Information disclosure, sandbox escape in the Security: Proc…4.7
- CVE-2026-12314Memory safety bug fixed in Thunderbird 152. This vulnerabili…7.5
- CVE-2026-12315Mitigation bypass in the DOM: Security component. This vulne…9.1
- CVE-2026-123151A flaw was found in the GNU debugger (GDB). When GDB connect…
- CVE-2026-123158sshd in OpenSSH before 10.6p2 on Linux, when musl libc is us…8.1
- CVE-2026-12316Mitigation bypass in the DOM: Security component. This vulne…9.1
Are you affected by CVE-2026-123125?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
