# JLSEC-2026-1288: CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names.

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-13T09:49:53.975Z
- Modified: 2026-08-13T10:00:06.407Z
- Related: CVE-2021-41819

## Description

CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.

(As written by Julia Security Advisories.)

## Affected

- ruby_jll (Julia): all versions

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://hackerone.com/reports/910552> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/> (web)
- <https://security.gentoo.org/glsa/202401-27> (web)
- <https://security.netapp.com/advisory/ntap-20220121-0003/> (web)
- <https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1288](https://osv.dev/vulnerability/JLSEC-2026-1288), CC-BY-4.0, modified 2026-08-13

---

Page: https://cve.day/JLSEC-2026-1288 · Whole record: https://cve.day/JLSEC-2026-1288.json · Rebuilt by cve.day 2026-11-25T22:56:25.927Z
