# CVE-2021-31997: python-postorius: postorius-permissions.sh used during %post allows local privilege escalation from postorius user to root

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-06-10 · Modified: 2024-09-16
- Record: https://cvemate.com/vulnerability/CVE-2021-31997 · JSON: https://cvemate.com/vulnerability/CVE-2021-31997/json

## Description

```text
A UNIX Symbolic Link (Symlink) Following vulnerability in python-postorius of openSUSE Leap 15.2, Factory allows local attackers to escalate from users postorius or postorius-admin to root. This issue affects: openSUSE Leap 15.2 python-postorius version 1.3.2-lp152.1.2 and prior versions. openSUSE Factory python-postorius version 1.3.4-2.1 and prior versions.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.339%, percentile 29.241%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- opensuse factory: ≥ python-postorius, ≤ 1.3.4-2.1
- opensuse leap 15.2: ≥ python-postorius, ≤ 1.3.2-lp152.1.2
- opensuse python-postorius: \< 1.3.2-lp152.1.2 \| ≤ 1.3.4-2.1

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1182407>

---

Data as of 2026-12-05T02:49:16.425Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
