# CVE-2023-37266: Weak json web token (JWT) secrets in CasaOS

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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): 6.79%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-17T14:40:16.000Z
- Modified: 2026-06-17T06:07:50.980Z
- Also known as: GHSA-m5q5-8mfw-p2hr, GO-2023-1931
- Weaknesses: CWE-287, CWE-1391
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

CasaOS is an open-source Personal Cloud system. Unauthenticated attackers can craft arbitrary JWTs and access features that usually require authentication and execute arbitrary commands as `root` on CasaOS instances. This problem was addressed by improving the validation of JWTs in commit `705bf1f`. This patch is part of CasaOS 0.4.4. Users should upgrade to CasaOS 0.4.4. If they can't, they should temporarily restrict access to CasaOS to untrusted users, for instance by not exposing it publicly.

(As written by CVE List.)

## Affected

- IceWhaleTech CasaOS: < 0.4.4
- icewhale casaos: before 0.4.4
- github.com/IceWhaleTech/CasaOS (Go): before 0.4.4

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos> (exploit, third-party-advisory, web)
- <https://github.com/IceWhaleTech/CasaOS/security/advisories/GHSA-m5q5-8mfw-p2hr> (advisory, patch, third-party-advisory, web)
- <https://github.com/IceWhaleTech/CasaOS/commit/705bf1facbffd2ca40b159b0303132b6fdf657ad> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-37266> (advisory)
- <https://github.com/IceWhaleTech/CasaOS> (package)
- <https://pkg.go.dev/vuln/GO-2023-1931> (web)

## Sources

- CVE List: [CVE-2023-37266](https://www.cve.org/CVERecord?id=CVE-2023-37266), CVE Terms of Use, modified 2024-12-12
- GitHub Advisory Database: [GHSA-m5q5-8mfw-p2hr](https://github.com/advisories/GHSA-m5q5-8mfw-p2hr), CC-BY-4.0, modified 2024-12-12
- Go Vulnerability Database: [GO-2023-1931](https://pkg.go.dev/vuln/GO-2023-1931), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2023-37266](https://nvd.nist.gov/vuln/detail/CVE-2023-37266), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-37266 · Whole record: https://cve.day/CVE-2023-37266.json · Rebuilt by cve.day 2026-11-25T22:58:25.853Z
