# CVE-2023-49091: Jwttoken in Cosmos server never expires after password changed and logging out

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): 0.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-29T19:16:37.723Z
- Modified: 2026-06-17T06:35:20.840Z
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Cosmos provides users the ability self-host a home server by acting as a secure gateway to your application, as well as a server manager. Cosmos-server is vulnerable due to to the authorization header used for user login remaining valid and not expiring after log out. This vulnerability allows an attacker to use the token to gain unauthorized access to the application/system even after the user has logged out. This issue has been patched in version 0.13.1.

(As written by CVE List.)

## Affected

- azukaar Cosmos-Server: < 0.13.1
- cosmos-cloud cosmos_server: 0.1.15; 0.1.16; 0.1.17; 0.2.0; 0.3.0; 0.3.1; 0.3.2; 0.3.3; 0.3.4; 0.3.5; 0.4.0; 0.4.1; and 38 more

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-hpvm-x7m8-3c6x> (exploit, vendor-advisory)
- <https://github.com/azukaar/Cosmos-Server/commit/7a3fdfb467bd4d1f8333e3e1f3c3f5fca0b69cd7> (patch)

## Sources

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

---

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