Advisory

GHSA-3rg7-wf37-54rm

Also known as: CVE-2025-64500

Summary

Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass

Details

Description

The Request class improperly interprets some PATH_INFO in a way that leads to representing some URLs with a path that doesn't start with a /. This can allow bypassing some access control rules that are built with this /-prefix assumption.

Resolution

The Request class now ensures that URL paths always start with a /.

The patch for this issue is available here for branch 5.4.

Credits

We would like to thank Andrew Atkinson for discovering the issue, Chris Smith for reporting it and Nicolas Grekas for providing the fix.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-11-12 21:50 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 0, fixed 5.4.50 (ecosystem)

Fixed versions

5.4.50

Fix

The export has no generic command for this ecosystem.

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.4.29 (ecosystem)

Fixed versions

6.4.29

Fix

The export has no generic command for this ecosystem.

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.3.7 (ecosystem)

Fixed versions

7.3.7

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 5.4.50 (ecosystem)

Fixed versions

5.4.50

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.4.29 (ecosystem)

Fixed versions

6.4.29

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.3.7 (ecosystem)

Fixed versions

7.3.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences