# CVE-2026-46431: Algernon: Auto-refresh SSE event server sets Access-Control-Allow-Origin: *

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-20T15:34:40.000Z
- Modified: 2026-07-24T11:10:00.170Z
- Also known as: GHSA-hw27-4v2q-5qff, GO-2026-5440
- Weaknesses: CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Algernon is a small self-contained pure-Go web server. Prior to 1.17.7, the SSE event server's Access-Control-Allow-Origin response header was hardcoded to the wildcard * regardless of the caller's Origin. Because EventSource does not preflight and does not send cookies, the wildcard is sufficient to let any third-party page the developer visits open a cross-origin EventSource to the SSE port and read the live filename stream from JavaScript. This vulnerability is fixed in 1.17.7.

(As written by CVE List.)

## Affected

- xyproto algernon: < 1.17.7
- github.com/xyproto/algernon (Go): before 1.17.7

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`

## References

- <https://github.com/xyproto/algernon/security/advisories/GHSA-hw27-4v2q-5qff> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46431> (advisory)
- <https://github.com/xyproto/algernon> (package)

## Sources

- CVE List: [CVE-2026-46431](https://www.cve.org/CVERecord?id=CVE-2026-46431), CVE Terms of Use, modified 2026-05-26
- GitHub Advisory Database: [GHSA-hw27-4v2q-5qff](https://github.com/advisories/GHSA-hw27-4v2q-5qff), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5440](https://pkg.go.dev/vuln/GO-2026-5440), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-46431](https://nvd.nist.gov/vuln/detail/CVE-2026-46431), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-46431 · Whole record: https://cve.day/CVE-2026-46431.json · Rebuilt by cve.day 2026-11-25T22:59:22.343Z
