CVE-2026-123792
Last modified
CVE-2026-123792 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. The Symfony Yaml components Inline and Parser, parse some YAML documents inefficiently, so that a small crafted document can take disproportionately long to process, keeping a PHP process busy for seconds or minutes, potentially causing a denial of service 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. The parser repeats work it has already done in several places. An embedded mapping in a flow sequence is parsed again for every scalar appended to it, and so are the collections nested in it, so the parse time grows exponentially with the nesting depth.
Description
The Symfony Yaml components Inline and Parser, parse some YAML documents inefficiently, so that a small crafted document can take disproportionately long to process, keeping a PHP process busy for seconds or minutes, potentially causing a denial of service 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. The parser repeats work it has already done in several places. An embedded mapping in a flow sequence is parsed again for every scalar appended to it, and so are the collections nested in it, so the parse time grows exponentially with the nesting depth. The patterns matching mapping keys and tags scan a run of spaces once per character of the run, and each scalar of a flow collection is matched against a copy of the rest of the collection, so the parse time grows quadratically with the size of the input. Nested blocks are also copied at each nesting level, which consumes memory as well as time. A few other constructs, such as an empty sequence item followed by a blank line or an anchor named 0, trigger similar repeated work. Any code parsing untrusted YAML is affected, with the default flags. In Symfony 7.4 and later, that includes #[MapRequestPayload] when the Yaml component is installed and the endpoint does not restrict acceptFormat. A single unauthenticated request with a YAML content type keeps a PHP worker busy until max_execution_time. JSON documents are valid YAML, so a JSON payload sent with a YAML content type is enough for the flow collection case. In Symfony 6.4, #[MapRequestPayload] accepts YAML only when the application registers a yaml request format.
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
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-123792?
How severe is CVE-2026-123792?
How do I fix CVE-2026-123792?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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-123783Skyvern through 1.0.56 contains a sandbox bypass vulnerabili…8.8
- CVE-2026-123784Fluxbox through 1.3.7 contains an OS command injection vulne…7.8
- CVE-2026-123785Fluxbox through 1.3.7 contains an infinite loop vulnerabilit…5.5
- CVE-2026-123786Agenta before 0.122.5 contains a server-side request forgery…8.5
- CVE-2026-123787A weakness has been identified in nexmoe VidBee up to 1.3.13…4.3
- CVE-2026-12379An Open Redirect vulnerability (CWE-601) exists in the OAuth…6.8
- CVE-2026-1238The SlimStat Analytics plugin for WordPress is vulnerable to…7.2
- CVE-2026-12380Improper neutralization of input during web page generation …6.1
- CVE-2026-12382A flaw was found in the AAP Gateway Envoy proxy configuratio…8.2
- CVE-2026-123824The Symfony Config component XmlUtils::parse() enables DTD v…6.3
- CVE-2026-12383A flaw was found in the Event-Driven Ansible (EDA) server. T…7.5
- CVE-2026-123831In JetBrains CLion before 2026.2, 2026.1.4 code execution w…9.6
Are you affected by CVE-2026-123792?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
