# CVE-2026-131167: Unsafe usage of return values


- **Severity:** High 8.9 (`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 20 Nov 2026
- **Updated:** 20 Nov 2026
- **Also known as:** GHSA-5x2f-rmr5-c67g

## What is CVE-2026-131167?

CVE-2026-131167 is a high-severity vulnerability in pretix, published on 20 Nov 2026. 

### Official description

pretix offloads certain processes to background tasks that are run by a different server to avoid HTTP workers being clogged with processes that take longer than a usual web request. The browser periodically polls the server to see if the task is already finished using a UUID-shaped task ID. Once the task is completed, pretix resumes to the next step of the operation based on the result of the task. The system does however not check if the result stems from the correct type of task. Therefore, an attacker can supply the UUID of a task of a different type and pretix will continue with the result from the wrong task. In most cases, this will just result in an error because the return types do not match up, but in some cases this can be abused to extract objects the attacker usually should not see. Specifically, a vector was discovered that allowed to abuse this for unauthorized access to other people's ticket purchases. The attacker can, however, not control which purchases they get access to.

Weakness: CWE-394 (Unexpected Status Code or Return Value)

## Which versions are affected by CVE-2026-131167?


## How do I fix CVE-2026-131167?

No fix has been published for CVE-2026-131167 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-131167 being exploited?

There is no known exploitation of CVE-2026-131167 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-131167 and fix it if it is affected.

What it is: CVE-2026-131167 is a high-severity vulnerability in pretix, published on 20 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-131167 in the wild and no public exploit code.

Affected product: pretix. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-131167/ (Markdown: https://insights.sbomify.com/CVE-2026-131167/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-131167
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-131167
- OSV: https://osv.dev/vulnerability/CVE-2026-131167

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-131167/
Summaries are generated and may contain mistakes; the official description above is the record.
