---
title: "Django 3.1.8 release notes"
version: 6.1
locale: pl
source: https://docs.djangoproject.com/pl/6.1/releases/3.1.8/
canonical: https://djangodocs.dev/pl/6.1/releases/3.1.8/
---
# Django 3.1.8 release notes

*April 6, 2021*

Django 3.1.8 fixes a security issue with severity „low” and a bug in 3.1.7.

## CVE-2021-28658: Potential directory-traversal via uploaded files

`MultiPartParser` allowed directory-traversal via uploaded files with
suitably crafted file names.

Built-in upload handlers were not affected by this vulnerability.

## Poprawki błędów

- Fixed a bug in Django 3.1 where the output was hidden on a test error or
  failure when using [`test --pdb`](/pl/6.1/ref/django-admin/#cmdoption-test-pdb) with the
  [`--buffer`](/pl/6.1/ref/django-admin/#cmdoption-test-buffer) option ([#32560](https://code.djangoproject.com/ticket/32560)).
