Yes. illuminate/database (Packagist): upgrade to 8.40.0 or later; laravel/framework (Packagist): upgrade to 8.40.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run illuminate/database (Packagist) or laravel/framework (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
illuminate/database (Packagist): upgrade to 8.40.0 or later
composer require illuminate/database:^8.40.0
laravel/framework (Packagist): upgrade to 8.40.0 or later