# CVE-2022-46179: LiuOS vulnerable to Authorization Bypass through User-Controlled Key

- Severity: Critical 9.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H`
- 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)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-28T07:00:37.036Z
- Modified: 2026-06-17T05:11:22.540Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

LiuOS is a small Python project meant to imitate the functions of a regular operating system. Version 0.1.0 and prior of LiuOS allow an attacker to set the GITHUB_ACTIONS environment variable to anything other than null or true and skip authentication checks. This issue is patched in the latest commit (c658b4f3e57258acf5f6207a90c2f2169698ae22) by requiring the var to be set to true, causing a test script to run instead of being able to login. A potential workaround is to check for the GITHUB_ACTIONS environment variable and set it to "" (no quotes) to null the variable and force credential checks.

(As written by CVE List.)

## Affected

- LiuWoodsCode LiuOS: <= 0.1.0
- liuos_project liuos: 0.1.0

## Every score

- GitHub_M: CVSS:3.1 9.2 Critical `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H`
- 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`

## References

- <https://github.com/LiuWoodsCode/LiuOS/security/advisories/GHSA-f9x3-mj2r-cqmf> (exploit, third-party-advisory)
- <https://github.com/LiuWoodsCode/LiuOS/commit/c658b4f3e57258acf5f6207a90c2f2169698ae22> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-46179](https://www.cve.org/CVERecord?id=CVE-2022-46179), CVE Terms of Use, modified 2025-04-14
- NVD: [CVE-2022-46179](https://nvd.nist.gov/vuln/detail/CVE-2022-46179), Public domain, modified 2026-06-17

---

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