# CVE-2023-28339: OpenDoas through 6.8.2, when TIOCSTI is available, allows privilege escalation because of sharing a terminal with the original session.

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/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): 0.64%, higher than 51% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-14T00:00:00.000Z
- Modified: 2026-06-17T05:47:28.733Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

OpenDoas through 6.8.2, when TIOCSTI is available, allows privilege escalation because of sharing a terminal with the original session. NOTE: TIOCSTI is unavailable in OpenBSD 6.0 and later, and can be made unavailable in the Linux kernel 6.2 and later.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- opendoas_project opendoas: up to 6.8.2

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Duncaen/OpenDoas/issues/106> (exploit, issue-tracking)

## Sources

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

---

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