CVE-2026-134791
Last modified
CVE-2026-134791 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
Description
Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT. The lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn't help, since the validator runs both constraints. The lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Symfony | symfony/expression-language | >= 7.2.0, < 7.4.24; >= 8.0.0, < 8.1.12 |
| Symfony | symfony/symfony | >= 7.2.0, < 7.4.24; >= 8.0.0, < 8.1.12 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-134791?
How severe is CVE-2026-134791?
How do I fix CVE-2026-134791?
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-134786A vulnerability has been found in Xuxueli xxl-job 3.5.0/3.5.…5.4
- CVE-2026-134787A vulnerability was identified in code-projects Intern Recor…5.3
- CVE-2026-134788A security flaw has been discovered in warpdesign pcx-js up …5.3
- CVE-2026-134789A weakness has been identified in DumbWareio DumbAssets up t…7.3
- CVE-2026-13479The LoRaWAN application-layer clock-synchronization service …4.3
- CVE-2026-134790The fix for CVE-2017-16652 restricts the redirects of HttpUt…5.3
- CVE-2026-134792When the proxy option isn't set, HttpClient takes the proxy …8.3
- CVE-2026-134793Electerm before 5.9.0 on Windows contains an OS command inje…7.8
- CVE-2026-134794HedgeDoc before 1.12.1 contains a prototype pollution vulner…6.5
- CVE-2026-134795graphql-core 3.2.12 before 3.2.14 and 3.3.0rc1 before 3.3.2 …5.3
- CVE-2026-134796Donetick before 0.1.86 contains a path traversal vulnerabili…3.7
- CVE-2026-134797Donetick before 0.1.86 contains a path traversal vulnerabili…4.2
Are you affected by CVE-2026-134791?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
