# CVE-2019-15793: Mishandling of file-system uid/gid with namespaces in shiftfs

- Severity: Medium 6.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/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.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2020-04-23T23:55:24.581Z
- Modified: 2026-06-17T02:21:05.183Z
- Weaknesses: CWE-276, CWE-538
- Assigned by: canonical

## Description

In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions.

(As written by CVE List.)

## Affected

- Ubuntu Shiftfs in the Linux kernel: from 5.3.0-11.12 before 5.3 kernel*; from 5.0 kernel before 5.0.0-35.38
- linux linux_kernel: 5.0; 5.3
- canonical ubuntu_linux: 18.04; 19.04

## Every score

- canonical: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://usn.ubuntu.com/usn/usn-4183-1> (third-party-advisory)
- <https://usn.ubuntu.com/usn/usn-4184-1> (third-party-advisory)
- <https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb> (mailing-list, patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2019-15793 · Whole record: https://cve.day/CVE-2019-15793.json · Rebuilt by cve.day 2026-11-25T22:57:49.833Z
