# CVE-2026-15747: Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-07-14T17:07:32.593Z
- Modified: 2026-10-24T21:10:00.130Z
- Weaknesses: CWE-204, CWE-352
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## Description

Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle.

_csrf_token generates and caches one token per session and returns the same value on every call, and _csrf_field places that value in a hidden `csrf_token` input. When a response carrying the token also echoes attacker-controlled input and is gzip-compressed, the chosen values and the resulting compressed lengths form a BREACH oracle.

An attacker able to query it can recover the token and pass csrf_protect validation.

(As written by CVE List.)

## Affected

- Mojolicious: from 4.59 before 9.48

## References

- <https://github.com/mojolicious/mojo/commit/01921fbbbbeca2d1397e082d4a647f9b84c24e27.patch> (patch)
- <https://metacpan.org/release/SRI/Mojolicious-9.48/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/07/14/16>

## Sources

- CVE List: [CVE-2026-15747](https://www.cve.org/CVERecord?id=CVE-2026-15747), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-15747](https://nvd.nist.gov/vuln/detail/CVE-2026-15747), Public domain, modified 2026-10-24

---

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