# GHSA-23q2-5gf8-gjpp: Enabling Authentication does not close all logged in socket connections immediately

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-04-19T17:26:32.000Z
- Modified: 2024-04-19T17:26:32.000Z
- Weaknesses: CWE-384

## Description

### Summary
This is basically [GHSA-88j4-pcx8-q4q](https://github.com/louislam/uptime-kuma/security/advisories/GHSA-88j4-pcx8-q4q3) but instead of changing passwords, when enabling authentication.

### PoC
- Open Uptime Kuma with authentication disabled
- Enable authentication using another window
- Access the platform using the previously logged-in window
- Note that access (read-write) remains despite the enabled authentication
- Expected behaviour:
  - After enabling authentication, all previously connected sessions should be invalidated, requiring users to log in.
- Actual behaviour:
  - The system retains sessions and never logs out users unless explicitly done by clicking logout or refreshing the page.

### Impact
See [GHSA-g9v2-wqcj-j99g](https://github.com/louislam/uptime-kuma/security/advisories/GHSA-g9v2-wqcj-j99g) and [GHSA-88j4-pcx8-q4q](https://github.com/louislam/uptime-kuma/security/advisories/GHSA-88j4-pcx8-q4q3)

TBH this is quite a niche edge case, so I don't know if this even warrants a security report.

(As written by GitHub Advisory Database.)

## Affected

- uptime-kuma (npm): before 1.23.12

## References

- <https://github.com/louislam/uptime-kuma/security/advisories/GHSA-23q2-5gf8-gjpp> (web)
- <https://github.com/louislam/uptime-kuma/security/advisories/GHSA-88j4-pcx8-q4q3> (web)
- <https://github.com/louislam/uptime-kuma/security/advisories/GHSA-g9v2-wqcj-j99g> (web)
- <https://github.com/louislam/uptime-kuma/commit/7a9e2f5de69aa0bb884ead25d1dcc833bb8c6579> (web)
- <https://github.com/louislam/uptime-kuma> (package)

## Sources

- GitHub Advisory Database: [GHSA-23q2-5gf8-gjpp](https://github.com/advisories/GHSA-23q2-5gf8-gjpp), CC-BY-4.0, modified 2024-04-19

---

Page: https://cve.day/GHSA-23q2-5gf8-gjpp · Whole record: https://cve.day/GHSA-23q2-5gf8-gjpp.json · Rebuilt by cve.day 2026-11-25T22:56:43.546Z
