{"items":[{"id":"NVI-00006532","kind":"vulnerability","title":"Symfony may allow a user to switch to using another user's identity","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-7mx2-7q8p-pgmw"],"plain_summary":"OSV carries this publisher advisory for symfony/symfony. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.6 for symfony/symfony. Confirm the publisher’s latest guidance.","source_ids":["sr-b890729801d1ad9096881f19e47af9e0"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-b890729801d1ad9096881f19e47af9e0","url":"https://github.com/advisories/GHSA-7mx2-7q8p-pgmw","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-7mx2-7q8p-pgmw","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.952Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-b890729801d1ad9096881f19e47af9e0"],"technology":"symfony/symfony","known_exclusions":[],"conditions_summary":"Symfony 2.0.6 has just been released. It addresses a security vulnerability in the EntityUserProvider as provided in the Doctrine bridge.\n\nIf you let your users update their login/username from a form, and if you are using Doctrine as a user provider, then you are vulnerable and you should upgrade as soon as possible.\n\nThe issue is that it is possible for a user to switch to another one. Here is how to reproduce it: The current user changes its username via a form to another existing username. When the form is submitted, he will have a validation error (as the username already exists) but the user object in the session will still be modified to the new username. This user from the session will be used for the next requests and so the user will be switched to this other user.\n\nThe fix is to always refresh the user via the primary key (which cannot be updated via a form) instead of the username.\n\nIf you cannot upgrade immediately, please apply the following patch: https://github.com/symfony/symfony/commit/9d2ab9ca9c1762","public_affected_ranges":["ECOSYSTEM: introduced 2.0.0; fixed 2.0.6"]}],"null_published_at":"2026-10-31T22:13:10.061Z","source_updated_at":"2024-12-04T05:40:59.357Z","source_disclosed_at":"2024-05-30T00:56:00.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.952Z"}],"next_cursor":null,"snapshot_revision":"42594"}