CVE-2023-27891: Insufficient Session Expiration in pretix

pretix Updated 02 Oct 2025

Summary

07/03/2023
Yes i
High
7.5

CVE-2023-27891: Insufficient Session Expiration in pretix. Affects pretix across 3 version ranges.

< 4.15.1 >= 4.16.0, < 4.16.1 >= 4.17.0, < 4.17.1

Fixed in 4.15.1, 4.16.1 or 4.17.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

pretix is an open-source ticket sales and event management platform written in Python. It allows event organizers to create and manage ticket sales for various types of events. The vulnerability in pretix versions before 4.17.1 allows OAuth application authorization from a logged-out session.

Vulnerability Detail

The vulnerability arises from the lack of proper session expiration handling in pretix. This allows an attacker to perform OAuth application authorization even when the user is logged out. An attacker could exploit this vulnerability to gain unauthorized access to user accounts or perform malicious actions on behalf of the user. The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

How To Fix

Latest published version: 2026.8.0 as of 22 Oct 2026

pip install --upgrade "pretix==2026.8.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.15.1 4.15.1
    pip install --upgrade "pretix==4.15.1"
  • >= 4.16.0, < 4.16.1 4.16.1
    pip install --upgrade "pretix==4.16.1"
  • >= 4.17.0, < 4.17.1 4.17.1
    pip install --upgrade "pretix==4.17.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update to the fixed version to mitigate the risk.

Conclusion

The vulnerability in pretix versions before 4.17.1 allows unauthorized OAuth application authorization from a logged-out session. It is crucial to update pretix to version 4.17.1 to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for pretix →

Share this vulnerability

FAQ

pretix is an open-source ticket sales and event management platform.

This vulnerability allows unauthorized OAuth application authorization, potentially leading to unauthorized access to user accounts or malicious actions on behalf of the user.

The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

To fix this vulnerability, update pretix to version 4.17.1.

There is no known workaround. Updating to the fixed version is necessary.

Related vulnerabilities

Recent vulnerabilities recorded for pretix.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 2026.8.0 as of 22 Oct 2026

pip install --upgrade "pretix==2026.8.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.15.1 4.15.1
    pip install --upgrade "pretix==4.15.1"
  • >= 4.16.0, < 4.16.1 4.16.1
    pip install --upgrade "pretix==4.16.1"
  • >= 4.17.0, < 4.17.1 4.17.1
    pip install --upgrade "pretix==4.17.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback