... "low" according to the Django security policy . CVE-2026-8404: Potential exposure of private data via case-sensitive Cache-Control directives UpdateCacheMiddleware and cache_page() incorrectly cached responses marked with private Cache-Control directive ... s when using mixed or uppercase values (e.g. Private ). The cache_control() decorator and patch_cache_control() function were not affected, since they normalize directives to lowercase. This issue ... only affects responses where Cache-Control is set manually. This issue has severity "low" according to the Django security policy . CVE-2026-35193: Potential exposur ... ... "low" according to the Django security policy . CVE-2026-8404: Potential exposure of private data via case-sensitive Cache-Control directives UpdateCacheMiddleware and cache_page() incorrectly cached responses marked with private Cache-Control directive ... s when using mixed or uppercase values (e.g. Private ). The cache_control() decorator and patch_cache_control() function were not affected, since they normalize directives to lowercase. This issue ... only affects responses where Cache-Control is set manually. This issue has severity "low" according to the Django security policy . CVE-2026-35193: Potential exposur ... ... success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) accepted URLs with leading control characters and so considered URLs like \x08javascript:... safe. This issue doesn't affect Django currently, since we only ... he Location response header and browsers seem to ignore JavaScript there. Browsers we tested also treat URLs prefixed with control characters such as %08//example.com as relative paths so redirection to an unsafe target isn't a problem either. However, ... argets and puts such a URL into a link, they could suffer from an XSS attack as some browsers such as Google Chrome ignore control characters at the start of a URL in an anchor href . ... ... ould bypass an upstream access control based on URL paths. ... ... ould bypass an upstream access control based on URL paths. ... ... success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) accepted URLs with leading control characters and so considered URLs like \x08javascript:... safe. This issue doesn't affect Django currently, since we only ... he Location response header and browsers seem to ignore JavaScript there. Browsers we tested also treat URLs prefixed with control characters such as %08//example.com as relative paths so redirection to an unsafe target isn't a problem either. However, ... argets and puts such a URL into a link, they could suffer from an XSS attack as some browsers such as Google Chrome ignore control characters at the start of a URL in an anchor href . ... ... ewlines could bypass an upstream access control based on URL paths. バグ修正 Fixed a regression in Django 3.2 that caused a crash of setUpTestData() with BinaryField on P ... ... 作を cache_primary に転送します。キャッシュテーブルは cache_primary にだけ同期されます。 class CacheRouter : """A router to control all database cache operations""" def db_for_read ( self , model , ** hints ): "All cache read operations go to the replica ... ttpResponse に自動的に設定します: Expires ヘッダーに現在の日時と定義された CACHE_MIDDLEWARE_SECONDS をセットします。 Cache-Control ヘッダにページの最大寿命をセットします -- ここでも CACHE_MIDDLEWARE_SECONDS 設定を使用します。 ミドルウェアについては ミド ... ルウェア (Middleware) を参照してください。 ビューがキャッシュの有効期限を設定している場合 (つまり、ヘッダの Cache-Control に max-age セクションがある場合) は、 CACHE_MIDDLEWARE_SECONDS ではなく、有効期限までページがキャッシュされます。 django.v ... ... success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) accepted URLs with leading control characters and so considered URLs like \x08javascript:... safe. This issue doesn't affect Django currently, since we only ... he Location response header and browsers seem to ignore JavaScript there. Browsers we tested also treat URLs prefixed with control characters such as %08//example.com as relative paths so redirection to an unsafe target isn't a problem either. However, ... argets and puts such a URL into a link, they could suffer from an XSS attack as some browsers such as Google Chrome ignore control characters at the start of a URL in an anchor href . バグ修正 Fixed renaming of classes in migrations where renaming a sub ... ... ャッシュ django.views.decorators.cache のデコレータで、サーバーサイドとクライアントサイドのキャッシュを制御できます。 cache_control ( ** kwargs ) [ソース] このデコレータはレスポンスの Cache-Control ヘッダにキーワード引数を全て追加してパッチを適用します。 ... 変換の詳細については patch_cache_control() を参照してください。 never_cache ( view_func ) [ソース] このデコレータは、現在の日付/時刻に Expires ヘッダを追加します。 ... このデコレータは、 Cache-Control: max-age=0, no-cache, no-store, must-revalidate, private ヘッダをレスポンスに追加し、ページがキャッシュされないように設定し ... 2026年10月08日