Skip to content

Update dependency symfony/http-kernel to v8.0.12 [SECURITY]#22

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/packagist-symfony-http-kernel-vulnerability
Open

Update dependency symfony/http-kernel to v8.0.12 [SECURITY]#22
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/packagist-symfony-http-kernel-vulnerability

Conversation

@renovate

@renovate renovate Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
symfony/http-kernel (source) 8.0.08.0.12 age adoption passing confidence

Synfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]

CVE-2026-45075 / GHSA-6439-2f28-8p8q

More information

Details

Description

Symfony's #[IsGranted('...')], #[IsSignatureValid], and #[IsCsrfTokenValid(...)] attributes allow you to define a methods: [...] argument to only enforce these checks for the listed HTTP methods and skip them otherwise. E.g. an attribute defining methods: ['GET'] would be ignored for a HEAD request.

On the other hand, Symfony's router (and HTTP semantics generally) serves HEAD requests using the GET handler. Therefore, a controller protected by e.g. #[IsGranted('ROLE_ADMIN', methods: ['GET'])] can be reached via HEAD with the authorization check silently skipped.

Even if the HEAD request won't get any response content, response headers leak (Content-Length, Location, custom headers). Also, the controller still executes and any side effects (DB writes, state changes) occur.

Resolution

When adding GET in the methods option of these attributes, Symfony now also include the HEAD method automatically.

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

Credits

Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and Alexandre Daubois for fixing it.

Severity

  • CVSS Score: 6.2 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

symfony/http-kernel (symfony/http-kernel)

v8.0.12

Compare Source

Changelog (symfony/http-kernel@v8.0.11...v8.0.12)

v8.0.11

Compare Source

Changelog (symfony/http-kernel@v8.0.10...v8.0.11)

v8.0.10

Compare Source

Changelog (symfony/http-kernel@v8.0.8...v8.0.10)

v8.0.8

Compare Source

Changelog (symfony/http-kernel@v8.0.7...v8.0.8)

v8.0.7

Compare Source

Changelog (symfony/http-kernel@v8.0.6...v8.0.7)

v8.0.6

Compare Source

Changelog (symfony/http-kernel@v8.0.5...v8.0.6)

v8.0.5

Compare Source

Changelog (symfony/http-kernel@v8.0.4...v8.0.5)

  • no significant changes

v8.0.4

Compare Source

Changelog (symfony/http-kernel@v8.0.3...v8.0.4)

v8.0.3

Compare Source

Changelog (symfony/http-kernel@v8.0.2...v8.0.3)

  • no significant changes

v8.0.2

Compare Source

Changelog (symfony/http-kernel@v8.0.1...v8.0.2)

  • no significant changes

v8.0.1

Compare Source

Changelog (symfony/http-kernel@v8.0.0...v8.0.1)


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

| datasource | package             | from  | to     |
| ---------- | ------------------- | ----- | ------ |
| packagist  | symfony/http-kernel | 8.0.0 | 8.0.12 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added the renovate label May 28, 2026
@renovate

renovate Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants