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

- Severity: Medium 6.8 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2021-06-10T11:35:11.799Z
- Modified: 2026-06-17T03:52:38.827Z
- Weaknesses: CWE-59
- Assigned by: suse

## Description

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.

(As written by CVE List.)

## Affected

- openSUSE Leap 15.2: from python-postorius up to 1.3.2-lp152.1.2
- openSUSE Factory: from python-postorius up to 1.3.4-2.1
- opensuse python-postorius: before 1.3.2-lp152.1.2; up to 1.3.4-2.1

## Every score

- suse: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1182407> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2021-31997](https://www.cve.org/CVERecord?id=CVE-2021-31997), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-31997](https://nvd.nist.gov/vuln/detail/CVE-2021-31997), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31997 · Whole record: https://cve.day/CVE-2021-31997.json · Rebuilt by cve.day 2026-11-25T22:58:01.770Z
