# CVE-2022-29526: golang.org/x/sys/unix has Incorrect privilege reporting in syscall

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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): 2.26%, higher than 84% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-22T13:15:32.000Z
- Modified: 2026-09-10T03:49:55.203Z
- Also known as: GHSA-p782-xgp4-8hr8, BIT-GOLANG-2022-29526, GO-2022-0493
- Related: CGA-5393-78xh-45fv
- Weaknesses: CWE-269
- Assigned by: mitre

## Description

Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- golang.org/x/sys (Go): before 0.0.0-20220412211240-33da011f77ad
- stdlib (Go): before 1.17.10; from 1.18.0-0 before 1.18.2
- golang go: before 1.17.10; from 1.18.0 before 1.18.2
- fedoraproject fedora: 35; 36
- netapp beegfs_csi_driver: no versions given
- golang (Bitnami): before 1.17.10; from 1.18.0 before 1.18.2

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/golang/go/issues/52313> (exploit, advisory, issue-tracking, patch, third-party-advisory, web)
- <https://groups.google.com/g/golang-announce> (advisory, issue-tracking, mailing-list, third-party-advisory, web)
- <https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220729-0001/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-02> (advisory, third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29526> (advisory, web)
- <https://github.com/golang/go> (package)
- <https://go.dev/cl/399539> (fix, web)
- <https://go.dev/cl/400074> (fix, web)
- <https://go.dev/issue/52313> (report, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR> (web)
- <https://pkg.go.dev/vuln/GO-2022-0493> (web)
- <https://security.netapp.com/advisory/ntap-20220729-0001> (web)

## Sources

- CVE List: [CVE-2022-29526](https://www.cve.org/CVERecord?id=CVE-2022-29526), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-p782-xgp4-8hr8](https://github.com/advisories/GHSA-p782-xgp4-8hr8), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0493](https://pkg.go.dev/vuln/GO-2022-0493), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-29526](https://nvd.nist.gov/vuln/detail/CVE-2022-29526), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2022-29526](https://osv.dev/vulnerability/BIT-GOLANG-2022-29526), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-29526 · Whole record: https://cve.day/CVE-2022-29526.json · Rebuilt by cve.day 2026-11-25T22:58:12.492Z
