diff --git a/.trivyignore b/.trivyignore index f6c968d718d..89c4e24bf31 100644 --- a/.trivyignore +++ b/.trivyignore @@ -1,9 +1,13 @@ # True positive but we expect Lychee to be run behind a reverse proxy that is taking care of the cryptography and TLS configuration. # Waiting of frankenphp to update the golang dependencies CVE-2026-25793 + # This CVE is stupid and disputed. # The "vulnerability" is that php-jwt accepts short HMAC keys without validation. # This is not a library bug — key management is the caller's responsibility. # PHP's own hash_hmac() and openssl_sign() behave identically and have no CVEs for this. # NVD agrees — hence the Disputed tag and no score from NIST. -CVE-2025-45769 \ No newline at end of file +CVE-2025-45769 + +# True positive but local attack vector, we will be waiting for frankenphp to update their image. +CVE-2026-0861 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 94f5c9d977b..70651eaa201 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,7 @@ RUN npm run build # ============================================================================ # Stage 3: Production FrankenPHP Image # ============================================================================ -FROM dunglas/frankenphp:php8.5-trixie@sha256:d3c991a312bcb343e1385be577f3ea75f509feaaf176f721313f7dd48cee0fdd +FROM dunglas/frankenphp:php8.5-trixie@sha256:7315062106fd2ee885d884072e3335f59e25a3abc34de0a03e102604ab73b4d0 ARG USER=appuser diff --git a/database/migrations/2026_03_16_164002_bump_version070500.php b/database/migrations/2026_03_16_164002_bump_version070500.php new file mode 100644 index 00000000000..9310b5c4ac6 --- /dev/null +++ b/database/migrations/2026_03_16_164002_bump_version070500.php @@ -0,0 +1,52 @@ +output = new ConsoleOutput(); + $this->msg_section = $this->output->section(); + } + + /** + * Run the migrations. + * + * @return void + */ + public function up(): void + { + DB::table('configs')->where('key', 'version')->update(['value' => '070500']); + try { + Artisan::call('cache:clear'); + } catch (\Throwable $e) { + $this->msg_section->writeln('Warning: Failed to clear cache for version 7.5.0'); + + return; + } + $this->msg_section->writeln('Info: Cleared cache for version 7.5.0'); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down(): void + { + DB::table('configs')->where('key', 'version')->update(['value' => '070402']); + } +}; diff --git a/version.md b/version.md index cb1d6217e16..a2931d315b9 100644 --- a/version.md +++ b/version.md @@ -1 +1 @@ -7.4.2 \ No newline at end of file +7.5.0 \ No newline at end of file