CVE-2026-15747
Full vulnerability record from the local CVENow database.
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.
Severity
CRITICAL
CVSS score
9.1
(v3.1)
Vulnerability status
Deferred
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-07-14 18:17:12.587000
Last modified
2026-10-24 21:10:00.130000
View original CVE JSON
{
"id": "CVE-2026-15747",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-07-14T18:17:12.587",
"lastModified": "2026-10-24T21:10:00.130",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle.\n\n_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.\n\nAn attacker able to query it can recover the token and pass csrf_protect validation."
},
{
"lang": "es",
"value": "Las versiones de Mojolicious desde la 4.59 anteriores a la 9.48 para Perl exponen una representación estable del token CSRF de la sesión a un oráculo de compresión BREACH.\n\n_csrf_token genera y almacena en caché un token por sesión y devuelve el mismo valor en cada llamada, y _csrf_field coloca ese valor en un campo de entrada oculto ’csrf_token’. Cuando una respuesta que lleva el token también hace eco de entrada controlada por el atacante y está comprimida con gzip, los valores elegidos y las longitudes comprimidas resultantes forman un oráculo BREACH.\n\nUn atacante capaz de consultarlo puede recuperar el token y pasar la validación de csrf_protect."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"vendor": "SRI",
"product": "Mojolicious",
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "Mojolicious",
"programFiles": [
"lib/Mojolicious/Plugin/DefaultHelpers.pm",
"lib/Mojolicious/Plugin/TagHelpers.pm",
"lib/Mojolicious/Renderer.pm"
],
"programRoutines": [
{
"name": "Mojolicious::Plugin::DefaultHelpers::_csrf_token"
}
],
"repo": "https://github.com/mojolicious/mojo",
"versions": [
{
"version": "4.59",
"lessThan": "9.48",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 5.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-15T16:31:33.252608Z",
"id": "CVE-2026-15747",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-204"
},
{
"lang": "en",
"value": "CWE-352"
}
]
}
],
"references": [
{
"url": "https://github.com/mojolicious/mojo/commit/01921fbbbbeca2d1397e082d4a647f9b84c24e27.patch",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://metacpan.org/release/SRI/Mojolicious-9.48/changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/07/14/16",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}