Register for the AI for Security Summit: Join Figma, Perplexity & Wiz
Vulnerability DatabaseGHSA-7mx2-7q8p-pgmw

GHSA-7mx2-7q8p-pgmw
PHP vulnerability analysis and mitigation

Overview

A security vulnerability was discovered in Symfony's EntityUserProvider component within the Doctrine bridge, affecting versions 2.0.0 through 2.0.6. The vulnerability allows users to potentially switch to another user's identity when updating their username through a form, particularly when using Doctrine as a user provider (Symfony Blog).

Technical details

The vulnerability occurs in the user refresh mechanism where the system uses the username instead of the primary key to reload user data. When a user attempts to change their username to that of another existing user through a form, although validation errors occur, the user object in the session gets modified with the new username. This modified session user is then used for subsequent requests, effectively allowing the user to assume the identity of another user (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 score of 6.5 (Moderate), with attack vector being Network, attack complexity Low, and requiring Low privileges (GitHub Advisory).

Impact

The vulnerability enables unauthorized users to switch to another user's identity, potentially gaining access to sensitive information and functionality intended for other users. This could lead to unauthorized access to protected resources and potential impersonation of other users in the system (GitHub Advisory).

Exploitability

The vulnerability can be exploited when a user attempts to update their username via a form to match another existing username. Despite receiving validation errors due to the duplicate username, the session maintains the modified username, allowing the user to effectively switch to the other user's identity in subsequent requests (Symfony Blog).

Mitigation and workarounds

The vulnerability was fixed in Symfony version 2.0.6. The fix involves modifying the user refresh mechanism to always refresh the user via the primary key instead of the username, as the primary key cannot be updated via a form. For users unable to upgrade immediately, a patch was provided at symfony/symfony@9d2ab9ca9c1762. The fix ensures that user identification is based on immutable primary keys rather than potentially mutable usernames (Symfony Blog).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71537MEDIUM6.5
  • PHP logoPHP
  • paymenter/paymenter
NoYesSep 18, 2026
CVE-2026-77616MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77610MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77609MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77608MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management