Advisory record · GHSA-7mx2-7q8p-pgmw

Symfony may allow a user to switch to using another user's identity

CVSS 6.5 Medium

Published by the GitHub Advisory Database at 30 May 2024, 00:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
symfony/symfonyPackagist>=2.0.0, <2.0.62.0.6
Identifiers
GHSA-7mx2-7q8p-pgmw · PKSA-2nhc-3972-n72n
Weakness (CWE)
CWE-287
Published
30 May 2024
Updated
4 Dec 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Symfony versions from 2.0.0 before 2.0.6 are vulnerable in the EntityUserProvider of the Doctrine bridge. An authenticated user who is allowed to change their own username through a form can submit an existing username, get a validation error, and still have the session user object changed to that other name, so later requests act as the other user. Upgrade to Symfony 2.0.6, which refreshes the user by primary key instead of username. The source also gives a patch as an alternative for users who cannot upgrade immediately.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:28 UTC First seen by agentprime
  2. 31 Oct 2026, 14:28 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.